From e34fb6d01820a95dd08e4545df07f496c4950dad Mon Sep 17 00:00:00 2001 From: imranq2 Date: Wed, 16 Jun 2021 15:12:48 -0700 Subject: [PATCH 1/4] control extension depth --- .../r4/complex_types/account_coverage.py | 12 + .../r4/complex_types/account_guarantor.py | 12 + .../activitydefinition_dynamicvalue.py | 9 + .../activitydefinition_participant.py | 12 + .../r4/complex_types/address.py | 9 + .../complex_types/adverseevent_causality.py | 15 + .../adverseevent_suspectentity.py | 12 + spark_fhir_schemas/r4/complex_types/age.py | 15 + .../allergyintolerance_reaction.py | 21 ++ .../r4/complex_types/annotation.py | 15 + .../complex_types/appointment_participant.py | 15 + .../r4/complex_types/attachment.py | 27 ++ .../r4/complex_types/auditevent_agent.py | 30 ++ .../r4/complex_types/auditevent_detail.py | 6 + .../r4/complex_types/auditevent_entity.py | 27 ++ .../r4/complex_types/auditevent_network.py | 6 + .../r4/complex_types/auditevent_source.py | 12 + .../biologicallyderivedproduct_collection.py | 15 + ...biologicallyderivedproduct_manipulation.py | 9 + .../biologicallyderivedproduct_processing.py | 15 + .../biologicallyderivedproduct_storage.py | 12 + .../r4/complex_types/bundle_entry.py | 24 ++ .../r4/complex_types/bundle_link.py | 9 + .../r4/complex_types/bundle_request.py | 12 + .../r4/complex_types/bundle_response.py | 15 + .../r4/complex_types/bundle_search.py | 9 + .../capabilitystatement_document.py | 12 + .../capabilitystatement_endpoint.py | 12 + .../capabilitystatement_implementation.py | 12 + .../capabilitystatement_interaction.py | 9 + .../capabilitystatement_interaction1.py | 9 + .../capabilitystatement_messaging.py | 18 + .../capabilitystatement_operation.py | 12 + .../capabilitystatement_resource.py | 27 ++ .../complex_types/capabilitystatement_rest.py | 27 ++ .../capabilitystatement_searchparam.py | 12 + .../capabilitystatement_security.py | 12 + .../capabilitystatement_software.py | 9 + .../capabilitystatement_supportedmessage.py | 9 + .../r4/complex_types/careplan_activity.py | 21 ++ .../r4/complex_types/careplan_detail.py | 54 +++ .../r4/complex_types/careteam_participant.py | 18 + .../catalogentry_relatedentry.py | 9 + .../r4/complex_types/chargeitem_performer.py | 12 + .../chargeitemdefinition_applicability.py | 6 + .../chargeitemdefinition_pricecomponent.py | 18 + .../chargeitemdefinition_propertygroup.py | 12 + .../r4/complex_types/claim_accident.py | 15 + .../r4/complex_types/claim_careteam.py | 18 + .../r4/complex_types/claim_detail.py | 42 +++ .../r4/complex_types/claim_diagnosis.py | 24 ++ .../r4/complex_types/claim_insurance.py | 18 + .../r4/complex_types/claim_item.py | 75 ++++ .../r4/complex_types/claim_payee.py | 12 + .../r4/complex_types/claim_procedure.py | 24 ++ .../r4/complex_types/claim_related.py | 15 + .../r4/complex_types/claim_subdetail.py | 39 ++ .../r4/complex_types/claim_supportinginfo.py | 30 ++ .../r4/complex_types/claimresponse_additem.py | 66 ++++ .../claimresponse_adjudication.py | 18 + .../r4/complex_types/claimresponse_detail.py | 18 + .../r4/complex_types/claimresponse_detail1.py | 33 ++ .../r4/complex_types/claimresponse_error.py | 18 + .../complex_types/claimresponse_insurance.py | 15 + .../r4/complex_types/claimresponse_item.py | 18 + .../r4/complex_types/claimresponse_payment.py | 21 ++ .../claimresponse_processnote.py | 12 + .../complex_types/claimresponse_subdetail.py | 15 + .../complex_types/claimresponse_subdetail1.py | 30 ++ .../r4/complex_types/claimresponse_total.py | 12 + .../clinicalimpression_finding.py | 12 + .../clinicalimpression_investigation.py | 12 + .../r4/complex_types/codeableconcept.py | 9 + .../r4/complex_types/codesystem_concept.py | 18 + .../complex_types/codesystem_designation.py | 12 + .../r4/complex_types/codesystem_filter.py | 12 + .../r4/complex_types/codesystem_property.py | 12 + .../r4/complex_types/codesystem_property1.py | 12 + spark_fhir_schemas/r4/complex_types/coding.py | 12 + .../r4/complex_types/communication_payload.py | 12 + .../communicationrequest_payload.py | 12 + .../compartmentdefinition_resource.py | 9 + .../r4/complex_types/composition_attester.py | 12 + .../r4/complex_types/composition_event.py | 15 + .../r4/complex_types/composition_relatesto.py | 15 + .../r4/complex_types/composition_section.py | 33 ++ .../r4/complex_types/conceptmap_dependson.py | 12 + .../r4/complex_types/conceptmap_element.py | 12 + .../r4/complex_types/conceptmap_group.py | 18 + .../r4/complex_types/conceptmap_target.py | 15 + .../r4/complex_types/conceptmap_unmapped.py | 12 + .../r4/complex_types/condition_evidence.py | 12 + .../r4/complex_types/condition_stage.py | 15 + .../r4/complex_types/consent_actor.py | 12 + .../r4/complex_types/consent_data.py | 9 + .../r4/complex_types/consent_policy.py | 12 + .../r4/complex_types/consent_provision.py | 36 ++ .../r4/complex_types/consent_verification.py | 12 + .../r4/complex_types/contactdetail.py | 9 + .../r4/complex_types/contactpoint.py | 12 + .../r4/complex_types/contract_action.py | 51 +++ .../r4/complex_types/contract_answer.py | 18 + .../r4/complex_types/contract_asset.py | 42 +++ .../contract_contentdefinition.py | 24 ++ .../r4/complex_types/contract_context.py | 12 + .../r4/complex_types/contract_friendly.py | 12 + .../r4/complex_types/contract_legal.py | 12 + .../r4/complex_types/contract_offer.py | 30 ++ .../r4/complex_types/contract_party.py | 12 + .../r4/complex_types/contract_rule.py | 12 + .../complex_types/contract_securitylabel.py | 18 + .../r4/complex_types/contract_signer.py | 15 + .../r4/complex_types/contract_subject.py | 12 + .../r4/complex_types/contract_term.py | 42 +++ .../r4/complex_types/contract_valueditem.py | 45 +++ .../r4/complex_types/contributor.py | 9 + spark_fhir_schemas/r4/complex_types/count.py | 15 + .../r4/complex_types/coverage_class.py | 9 + .../coverage_costtobeneficiary.py | 18 + .../r4/complex_types/coverage_exception.py | 12 + .../coverageeligibilityrequest_diagnosis.py | 12 + .../coverageeligibilityrequest_insurance.py | 9 + .../coverageeligibilityrequest_item.py | 36 ++ ...verageeligibilityrequest_supportinginfo.py | 12 + .../coverageeligibilityresponse_benefit.py | 15 + .../coverageeligibilityresponse_error.py | 9 + .../coverageeligibilityresponse_insurance.py | 15 + .../coverageeligibilityresponse_item.py | 36 ++ .../r4/complex_types/datarequirement.py | 30 ++ .../datarequirement_codefilter.py | 12 + .../datarequirement_datefilter.py | 12 + .../r4/complex_types/datarequirement_sort.py | 6 + .../complex_types/detectedissue_evidence.py | 12 + .../complex_types/detectedissue_mitigation.py | 15 + .../r4/complex_types/device_devicename.py | 6 + .../r4/complex_types/device_property.py | 15 + .../r4/complex_types/device_specialization.py | 9 + .../r4/complex_types/device_udicarrier.py | 15 + .../r4/complex_types/device_version.py | 12 + .../devicedefinition_capability.py | 12 + .../devicedefinition_devicename.py | 6 + .../devicedefinition_material.py | 9 + .../devicedefinition_property.py | 15 + .../devicedefinition_specialization.py | 6 + .../devicedefinition_udideviceidentifier.py | 12 + .../complex_types/devicemetric_calibration.py | 9 + .../complex_types/devicerequest_parameter.py | 18 + .../complex_types/diagnosticreport_media.py | 9 + .../r4/complex_types/distance.py | 15 + .../complex_types/documentmanifest_related.py | 12 + .../documentreference_content.py | 12 + .../documentreference_context.py | 27 ++ .../documentreference_relatesto.py | 9 + spark_fhir_schemas/r4/complex_types/dosage.py | 39 ++ .../r4/complex_types/dosage_doseandrate.py | 24 ++ .../r4/complex_types/duration.py | 15 + .../effectevidencesynthesis_certainty.py | 15 + ...evidencesynthesis_certaintysubcomponent.py | 15 + .../effectevidencesynthesis_effectestimate.py | 21 ++ ...fectevidencesynthesis_precisionestimate.py | 18 + ...fectevidencesynthesis_resultsbyexposure.py | 12 + .../effectevidencesynthesis_samplesize.py | 12 + .../r4/complex_types/element.py | 6 + .../r4/complex_types/elementdefinition.py | 339 ++++++++++++++++++ .../complex_types/elementdefinition_base.py | 9 + .../elementdefinition_binding.py | 9 + .../elementdefinition_constraint.py | 12 + .../elementdefinition_discriminator.py | 6 + .../elementdefinition_example.py | 99 +++++ .../elementdefinition_mapping.py | 12 + .../elementdefinition_slicing.py | 9 + .../complex_types/elementdefinition_type.py | 15 + .../complex_types/encounter_classhistory.py | 12 + .../r4/complex_types/encounter_diagnosis.py | 15 + .../encounter_hospitalization.py | 33 ++ .../r4/complex_types/encounter_location.py | 15 + .../r4/complex_types/encounter_participant.py | 15 + .../complex_types/encounter_statushistory.py | 9 + .../complex_types/episodeofcare_diagnosis.py | 15 + .../episodeofcare_statushistory.py | 9 + .../evidencevariable_characteristic.py | 36 ++ .../r4/complex_types/examplescenario_actor.py | 9 + .../examplescenario_alternative.py | 12 + .../examplescenario_containedinstance.py | 6 + .../complex_types/examplescenario_instance.py | 18 + .../examplescenario_operation.py | 15 + .../complex_types/examplescenario_process.py | 18 + .../r4/complex_types/examplescenario_step.py | 15 + .../complex_types/examplescenario_version.py | 9 + .../explanationofbenefit_accident.py | 15 + .../explanationofbenefit_additem.py | 66 ++++ .../explanationofbenefit_adjudication.py | 18 + .../explanationofbenefit_benefitbalance.py | 21 ++ .../explanationofbenefit_careteam.py | 18 + .../explanationofbenefit_detail.py | 48 +++ .../explanationofbenefit_detail1.py | 33 ++ .../explanationofbenefit_diagnosis.py | 24 ++ .../explanationofbenefit_financial.py | 15 + .../explanationofbenefit_insurance.py | 9 + .../explanationofbenefit_item.py | 81 +++++ .../explanationofbenefit_payee.py | 12 + .../explanationofbenefit_payment.py | 21 ++ .../explanationofbenefit_procedure.py | 24 ++ .../explanationofbenefit_processnote.py | 12 + .../explanationofbenefit_related.py | 15 + .../explanationofbenefit_subdetail.py | 45 +++ .../explanationofbenefit_subdetail1.py | 30 ++ .../explanationofbenefit_supportinginfo.py | 30 ++ .../explanationofbenefit_total.py | 12 + .../r4/complex_types/expression.py | 12 + .../r4/complex_types/extension.py | 56 ++- .../familymemberhistory_condition.py | 24 ++ .../r4/complex_types/goal_target.py | 24 ++ .../graphdefinition_compartment.py | 9 + .../r4/complex_types/graphdefinition_link.py | 12 + .../complex_types/graphdefinition_target.py | 18 + .../r4/complex_types/group_characteristic.py | 24 ++ .../r4/complex_types/group_member.py | 12 + .../healthcareservice_availabletime.py | 12 + .../healthcareservice_eligibility.py | 12 + .../healthcareservice_notavailable.py | 9 + .../r4/complex_types/humanname.py | 9 + .../r4/complex_types/identifier.py | 18 + .../r4/complex_types/imagingstudy_instance.py | 15 + .../complex_types/imagingstudy_performer.py | 12 + .../r4/complex_types/imagingstudy_series.py | 39 ++ .../complex_types/immunization_education.py | 15 + .../complex_types/immunization_performer.py | 12 + .../immunization_protocolapplied.py | 12 + .../r4/complex_types/immunization_reaction.py | 12 + ...mmunizationrecommendation_datecriterion.py | 12 + ...munizationrecommendation_recommendation.py | 30 ++ .../implementationguide_definition.py | 21 ++ .../implementationguide_dependson.py | 12 + .../implementationguide_global.py | 12 + .../implementationguide_grouping.py | 6 + .../implementationguide_manifest.py | 15 + .../complex_types/implementationguide_page.py | 12 + .../implementationguide_page1.py | 6 + .../implementationguide_parameter.py | 6 + .../implementationguide_resource.py | 12 + .../implementationguide_resource1.py | 12 + .../implementationguide_template.py | 9 + .../r4/complex_types/insuranceplan_benefit.py | 12 + .../complex_types/insuranceplan_benefit1.py | 12 + .../r4/complex_types/insuranceplan_contact.py | 18 + .../r4/complex_types/insuranceplan_cost.py | 18 + .../complex_types/insuranceplan_coverage.py | 15 + .../insuranceplan_generalcost.py | 15 + .../r4/complex_types/insuranceplan_limit.py | 12 + .../r4/complex_types/insuranceplan_plan.py | 24 ++ .../insuranceplan_specificcost.py | 12 + .../r4/complex_types/invoice_lineitem.py | 18 + .../r4/complex_types/invoice_participant.py | 12 + .../complex_types/invoice_pricecomponent.py | 15 + .../r4/complex_types/linkage_item.py | 9 + .../r4/complex_types/list_entry.py | 15 + .../location_hoursofoperation.py | 15 + .../r4/complex_types/location_position.py | 15 + .../r4/complex_types/marketingstatus.py | 21 ++ .../r4/complex_types/measure_component.py | 12 + .../r4/complex_types/measure_group.py | 15 + .../r4/complex_types/measure_population.py | 12 + .../r4/complex_types/measure_stratifier.py | 15 + .../complex_types/measure_supplementaldata.py | 15 + .../complex_types/measurereport_component.py | 12 + .../r4/complex_types/measurereport_group.py | 18 + .../complex_types/measurereport_population.py | 15 + .../measurereport_population1.py | 15 + .../complex_types/measurereport_stratifier.py | 12 + .../r4/complex_types/measurereport_stratum.py | 18 + .../r4/complex_types/medication_batch.py | 9 + .../r4/complex_types/medication_ingredient.py | 15 + .../medicationadministration_dosage.py | 24 ++ .../medicationadministration_performer.py | 12 + .../medicationdispense_performer.py | 12 + .../medicationdispense_substitution.py | 15 + ...ationknowledge_administrationguidelines.py | 18 + .../complex_types/medicationknowledge_cost.py | 12 + .../medicationknowledge_dosage.py | 12 + .../medicationknowledge_drugcharacteristic.py | 15 + .../medicationknowledge_ingredient.py | 15 + .../medicationknowledge_kinetics.py | 15 + .../medicationknowledge_maxdispense.py | 12 + ...icationknowledge_medicineclassification.py | 12 + .../medicationknowledge_monitoringprogram.py | 9 + .../medicationknowledge_monograph.py | 12 + .../medicationknowledge_packaging.py | 12 + ...icationknowledge_patientcharacteristics.py | 12 + .../medicationknowledge_regulatory.py | 18 + ...ionknowledge_relatedmedicationknowledge.py | 12 + .../medicationknowledge_schedule.py | 9 + .../medicationknowledge_substitution.py | 9 + .../medicationrequest_dispenserequest.py | 27 ++ .../medicationrequest_initialfill.py | 12 + .../medicationrequest_substitution.py | 12 + .../medicinalproduct_countrylanguage.py | 15 + ...lproduct_manufacturingbusinessoperation.py | 24 ++ .../r4/complex_types/medicinalproduct_name.py | 12 + .../medicinalproduct_namepart.py | 9 + .../medicinalproduct_specialdesignation.py | 30 ++ ...thorization_jurisdictionalauthorization.py | 21 ++ ...medicinalproductauthorization_procedure.py | 18 + ...nalproductcontraindication_othertherapy.py | 15 + ...medicinalproductindication_othertherapy.py | 15 + ...inalproductingredient_referencestrength.py | 18 + ...nalproductingredient_specifiedsubstance.py | 18 + .../medicinalproductingredient_strength.py | 24 ++ .../medicinalproductingredient_substance.py | 12 + ...medicinalproductinteraction_interactant.py | 12 + ...edicinalproductpackaged_batchidentifier.py | 12 + .../medicinalproductpackaged_packageitem.py | 42 +++ ...alproductpharmaceutical_characteristics.py | 12 + ...uctpharmaceutical_routeofadministration.py | 27 ++ ...inalproductpharmaceutical_targetspecies.py | 12 + ...lproductpharmaceutical_withdrawalperiod.py | 12 + .../messagedefinition_allowedresponse.py | 12 + .../complex_types/messagedefinition_focus.py | 15 + .../messageheader_destination.py | 15 + .../complex_types/messageheader_response.py | 12 + .../r4/complex_types/messageheader_source.py | 12 + spark_fhir_schemas/r4/complex_types/meta.py | 24 ++ .../complex_types/molecularsequence_inner.py | 12 + .../complex_types/molecularsequence_outer.py | 12 + .../molecularsequence_quality.py | 48 +++ .../molecularsequence_referenceseq.py | 21 ++ .../molecularsequence_repository.py | 9 + .../r4/complex_types/molecularsequence_roc.py | 27 ++ .../molecularsequence_structurevariant.py | 18 + .../molecularsequence_variant.py | 15 + spark_fhir_schemas/r4/complex_types/money.py | 12 + .../r4/complex_types/namingsystem_uniqueid.py | 9 + .../r4/complex_types/narrative.py | 9 + .../nutritionorder_administration.py | 18 + .../nutritionorder_enteralformula.py | 24 ++ .../complex_types/nutritionorder_nutrient.py | 12 + .../complex_types/nutritionorder_oraldiet.py | 21 ++ .../nutritionorder_supplement.py | 15 + .../complex_types/nutritionorder_texture.py | 12 + .../r4/complex_types/observation_component.py | 36 ++ .../observation_referencerange.py | 21 ++ ...observationdefinition_qualifiedinterval.py | 21 ++ ...servationdefinition_quantitativedetails.py | 18 + .../operationdefinition_binding.py | 9 + .../operationdefinition_overload.py | 6 + .../operationdefinition_parameter.py | 27 ++ .../operationdefinition_referencedfrom.py | 6 + .../complex_types/operationoutcome_issue.py | 9 + .../r4/complex_types/organization_contact.py | 18 + .../r4/complex_types/parameterdefinition.py | 21 ++ .../r4/complex_types/parameters_parameter.py | 105 ++++++ .../r4/complex_types/patient_communication.py | 9 + .../r4/complex_types/patient_contact.py | 24 ++ .../r4/complex_types/patient_link.py | 9 + .../paymentreconciliation_detail.py | 33 ++ .../paymentreconciliation_processnote.py | 6 + spark_fhir_schemas/r4/complex_types/period.py | 12 + .../r4/complex_types/person_link.py | 9 + .../r4/complex_types/plandefinition_action.py | 72 ++++ .../complex_types/plandefinition_condition.py | 9 + .../plandefinition_dynamicvalue.py | 9 + .../r4/complex_types/plandefinition_goal.py | 27 ++ .../plandefinition_participant.py | 9 + .../plandefinition_relatedaction.py | 15 + .../r4/complex_types/plandefinition_target.py | 21 ++ .../r4/complex_types/population.py | 21 ++ .../practitioner_qualification.py | 18 + .../practitionerrole_availabletime.py | 15 + .../practitionerrole_notavailable.py | 9 + .../r4/complex_types/procedure_focaldevice.py | 12 + .../r4/complex_types/procedure_performer.py | 15 + .../r4/complex_types/prodcharacteristic.py | 30 ++ .../r4/complex_types/productshelflife.py | 18 + .../r4/complex_types/provenance_agent.py | 18 + .../r4/complex_types/provenance_entity.py | 12 + .../r4/complex_types/quantity.py | 15 + .../questionnaire_answeroption.py | 12 + .../complex_types/questionnaire_enablewhen.py | 15 + .../r4/complex_types/questionnaire_initial.py | 18 + .../r4/complex_types/questionnaire_item.py | 30 ++ .../questionnaireresponse_answer.py | 21 ++ .../questionnaireresponse_item.py | 15 + spark_fhir_schemas/r4/complex_types/range.py | 12 + spark_fhir_schemas/r4/complex_types/ratio.py | 12 + .../r4/complex_types/reference.py | 12 + .../r4/complex_types/relatedartifact.py | 18 + .../relatedperson_communication.py | 9 + .../r4/complex_types/requestgroup_action.py | 63 ++++ .../complex_types/requestgroup_condition.py | 12 + .../requestgroup_relatedaction.py | 18 + ...esearchelementdefinition_characteristic.py | 45 +++ .../r4/complex_types/researchstudy_arm.py | 9 + .../complex_types/researchstudy_objective.py | 9 + .../r4/complex_types/resourcelist.py | 3 + .../riskassessment_prediction.py | 24 ++ .../riskevidencesynthesis_certainty.py | 15 + ...evidencesynthesis_certaintysubcomponent.py | 15 + ...riskevidencesynthesis_precisionestimate.py | 18 + .../riskevidencesynthesis_riskestimate.py | 24 ++ .../riskevidencesynthesis_samplesize.py | 12 + .../r4/complex_types/sampleddata.py | 24 ++ .../searchparameter_component.py | 9 + .../r4/complex_types/signature.py | 27 ++ .../r4/complex_types/specimen_collection.py | 30 ++ .../r4/complex_types/specimen_container.py | 24 ++ .../r4/complex_types/specimen_processing.py | 15 + .../specimendefinition_additive.py | 12 + .../specimendefinition_container.py | 24 ++ .../specimendefinition_handling.py | 15 + .../specimendefinition_typetested.py | 21 ++ .../structuredefinition_context.py | 6 + .../structuredefinition_differential.py | 9 + .../structuredefinition_mapping.py | 12 + .../structuredefinition_snapshot.py | 9 + .../complex_types/structuremap_dependent.py | 9 + .../r4/complex_types/structuremap_group.py | 18 + .../r4/complex_types/structuremap_input.py | 9 + .../complex_types/structuremap_parameter.py | 6 + .../r4/complex_types/structuremap_rule.py | 21 ++ .../r4/complex_types/structuremap_source.py | 108 ++++++ .../complex_types/structuremap_structure.py | 9 + .../r4/complex_types/structuremap_target.py | 18 + .../r4/complex_types/subscription_channel.py | 12 + .../r4/complex_types/substance_ingredient.py | 15 + .../r4/complex_types/substance_instance.py | 15 + .../r4/complex_types/substanceamount.py | 18 + .../substanceamount_referencerange.py | 12 + .../substancenucleicacid_linkage.py | 9 + .../substancenucleicacid_subunit.py | 27 ++ .../substancenucleicacid_sugar.py | 9 + ...substancepolymer_degreeofpolymerisation.py | 12 + .../substancepolymer_monomerset.py | 12 + .../complex_types/substancepolymer_repeat.py | 15 + .../substancepolymer_repeatunit.py | 18 + .../substancepolymer_startingmaterial.py | 15 + ...bstancepolymer_structuralrepresentation.py | 12 + .../complex_types/substanceprotein_subunit.py | 21 ++ ...ancereferenceinformation_classification.py | 18 + .../substancereferenceinformation_gene.py | 15 + ...bstancereferenceinformation_geneelement.py | 15 + .../substancereferenceinformation_target.py | 33 ++ .../substancesourcematerial_author.py | 9 + ...tancesourcematerial_fractiondescription.py | 9 + .../substancesourcematerial_hybrid.py | 9 + .../substancesourcematerial_organism.py | 27 ++ ...substancesourcematerial_organismgeneral.py | 18 + ...substancesourcematerial_partdescription.py | 12 + .../substancespecification_code.py | 18 + .../substancespecification_isotope.py | 21 ++ .../substancespecification_moiety.py | 21 ++ .../substancespecification_molecularweight.py | 15 + .../substancespecification_name.py | 33 ++ .../substancespecification_official.py | 15 + .../substancespecification_property.py | 21 ++ .../substancespecification_relationship.py | 33 ++ .../substancespecification_representation.py | 12 + .../substancespecification_structure.py | 24 ++ .../supplydelivery_supplieditem.py | 15 + .../complex_types/supplyrequest_parameter.py | 18 + .../r4/complex_types/task_input.py | 102 ++++++ .../r4/complex_types/task_output.py | 102 ++++++ .../r4/complex_types/task_restriction.py | 15 + .../terminologycapabilities_closure.py | 6 + .../terminologycapabilities_codesystem.py | 12 + .../terminologycapabilities_expansion.py | 12 + .../terminologycapabilities_filter.py | 12 + .../terminologycapabilities_implementation.py | 9 + .../terminologycapabilities_parameter.py | 9 + .../terminologycapabilities_software.py | 6 + .../terminologycapabilities_translation.py | 6 + .../terminologycapabilities_validatecode.py | 6 + .../terminologycapabilities_version.py | 15 + .../r4/complex_types/testreport_action.py | 12 + .../r4/complex_types/testreport_action1.py | 12 + .../r4/complex_types/testreport_action2.py | 9 + .../r4/complex_types/testreport_assert.py | 9 + .../r4/complex_types/testreport_operation.py | 12 + .../complex_types/testreport_participant.py | 9 + .../r4/complex_types/testreport_setup.py | 9 + .../r4/complex_types/testreport_teardown.py | 9 + .../r4/complex_types/testreport_test.py | 9 + .../r4/complex_types/testscript_action.py | 12 + .../r4/complex_types/testscript_action1.py | 12 + .../r4/complex_types/testscript_action2.py | 9 + .../r4/complex_types/testscript_assert.py | 18 + .../r4/complex_types/testscript_capability.py | 18 + .../complex_types/testscript_destination.py | 12 + .../r4/complex_types/testscript_fixture.py | 9 + .../r4/complex_types/testscript_link.py | 9 + .../r4/complex_types/testscript_metadata.py | 12 + .../r4/complex_types/testscript_operation.py | 39 ++ .../r4/complex_types/testscript_origin.py | 12 + .../complex_types/testscript_requestheader.py | 6 + .../r4/complex_types/testscript_setup.py | 9 + .../r4/complex_types/testscript_teardown.py | 9 + .../r4/complex_types/testscript_test.py | 9 + .../r4/complex_types/testscript_variable.py | 9 + spark_fhir_schemas/r4/complex_types/timing.py | 15 + .../r4/complex_types/timing_repeat.py | 48 +++ .../r4/complex_types/triggerdefinition.py | 18 + .../r4/complex_types/usagecontext.py | 21 ++ .../r4/complex_types/valueset_compose.py | 12 + .../r4/complex_types/valueset_concept.py | 12 + .../r4/complex_types/valueset_contains.py | 18 + .../r4/complex_types/valueset_designation.py | 12 + .../r4/complex_types/valueset_expansion.py | 24 ++ .../r4/complex_types/valueset_filter.py | 9 + .../r4/complex_types/valueset_include.py | 18 + .../r4/complex_types/valueset_parameter.py | 6 + .../verificationresult_attestation.py | 21 ++ .../verificationresult_primarysource.py | 27 ++ .../verificationresult_validator.py | 12 + .../visionprescription_lensspecification.py | 39 ++ .../complex_types/visionprescription_prism.py | 9 + spark_fhir_schemas/r4/resources/account.py | 48 +++ .../r4/resources/activitydefinition.py | 147 ++++++++ .../r4/resources/adverseevent.py | 81 +++++ .../r4/resources/allergyintolerance.py | 69 ++++ .../r4/resources/appointment.py | 78 ++++ .../r4/resources/appointmentresponse.py | 45 +++ spark_fhir_schemas/r4/resources/auditevent.py | 48 +++ spark_fhir_schemas/r4/resources/basic.py | 36 ++ spark_fhir_schemas/r4/resources/binary.py | 24 ++ .../resources/biologicallyderivedproduct.py | 51 +++ .../r4/resources/bodystructure.py | 42 +++ spark_fhir_schemas/r4/resources/bundle.py | 33 ++ .../r4/resources/capabilitystatement.py | 78 ++++ spark_fhir_schemas/r4/resources/careplan.py | 87 +++++ spark_fhir_schemas/r4/resources/careteam.py | 57 +++ .../r4/resources/catalogentry.py | 57 +++ spark_fhir_schemas/r4/resources/chargeitem.py | 102 ++++++ .../r4/resources/chargeitemdefinition.py | 72 ++++ spark_fhir_schemas/r4/resources/claim.py | 102 ++++++ .../r4/resources/claimresponse.py | 99 +++++ .../r4/resources/clinicalimpression.py | 78 ++++ spark_fhir_schemas/r4/resources/codesystem.py | 69 ++++ .../r4/resources/communication.py | 93 +++++ .../r4/resources/communicationrequest.py | 87 +++++ .../r4/resources/compartmentdefinition.py | 45 +++ .../r4/resources/composition.py | 63 ++++ spark_fhir_schemas/r4/resources/conceptmap.py | 54 +++ spark_fhir_schemas/r4/resources/condition.py | 87 +++++ spark_fhir_schemas/r4/resources/consent.py | 63 ++++ spark_fhir_schemas/r4/resources/contract.py | 114 ++++++ spark_fhir_schemas/r4/resources/coverage.py | 63 ++++ .../resources/coverageeligibilityrequest.py | 63 ++++ .../resources/coverageeligibilityresponse.py | 57 +++ .../r4/resources/detectedissue.py | 54 +++ spark_fhir_schemas/r4/resources/device.py | 81 +++++ .../r4/resources/devicedefinition.py | 84 +++++ .../r4/resources/devicemetric.py | 45 +++ .../r4/resources/devicerequest.py | 102 ++++++ .../r4/resources/deviceusestatement.py | 63 ++++ .../r4/resources/diagnosticreport.py | 72 ++++ .../r4/resources/documentmanifest.py | 54 +++ .../r4/resources/documentreference.py | 66 ++++ .../r4/resources/effectevidencesynthesis.py | 102 ++++++ spark_fhir_schemas/r4/resources/encounter.py | 90 +++++ spark_fhir_schemas/r4/resources/endpoint.py | 48 +++ .../r4/resources/enrollmentrequest.py | 45 +++ .../r4/resources/enrollmentresponse.py | 42 +++ .../r4/resources/episodeofcare.py | 57 +++ .../r4/resources/eventdefinition.py | 81 +++++ spark_fhir_schemas/r4/resources/evidence.py | 81 +++++ .../r4/resources/evidencevariable.py | 75 ++++ .../r4/resources/examplescenario.py | 60 ++++ .../r4/resources/explanationofbenefit.py | 144 ++++++++ .../r4/resources/familymemberhistory.py | 75 ++++ spark_fhir_schemas/r4/resources/flag.py | 45 +++ spark_fhir_schemas/r4/resources/goal.py | 63 ++++ .../r4/resources/graphdefinition.py | 54 +++ spark_fhir_schemas/r4/resources/group.py | 42 +++ .../r4/resources/guidanceresponse.py | 66 ++++ .../r4/resources/healthcareservice.py | 81 +++++ .../r4/resources/imagingstudy.py | 78 ++++ .../r4/resources/immunization.py | 93 +++++ .../r4/resources/immunizationevaluation.py | 51 +++ .../resources/immunizationrecommendation.py | 39 ++ .../r4/resources/implementationguide.py | 60 ++++ .../r4/resources/insuranceplan.py | 57 +++ spark_fhir_schemas/r4/resources/invoice.py | 66 ++++ spark_fhir_schemas/r4/resources/library.py | 90 +++++ spark_fhir_schemas/r4/resources/linkage.py | 30 ++ spark_fhir_schemas/r4/resources/list.py | 54 +++ spark_fhir_schemas/r4/resources/location.py | 57 +++ spark_fhir_schemas/r4/resources/measure.py | 114 ++++++ .../r4/resources/measurereport.py | 51 +++ spark_fhir_schemas/r4/resources/media.py | 87 +++++ spark_fhir_schemas/r4/resources/medication.py | 48 +++ .../r4/resources/medicationadministration.py | 84 +++++ .../r4/resources/medicationdispense.py | 102 ++++++ .../r4/resources/medicationknowledge.py | 87 +++++ .../r4/resources/medicationrequest.py | 120 +++++++ .../r4/resources/medicationstatement.py | 78 ++++ .../r4/resources/medicinalproduct.py | 81 +++++ .../medicinalproductauthorization.py | 72 ++++ .../medicinalproductcontraindication.py | 45 +++ .../resources/medicinalproductindication.py | 51 +++ .../resources/medicinalproductingredient.py | 39 ++ .../resources/medicinalproductinteraction.py | 42 +++ .../resources/medicinalproductmanufactured.py | 45 +++ .../r4/resources/medicinalproductpackaged.py | 48 +++ .../medicinalproductpharmaceutical.py | 45 +++ .../medicinalproductundesirableeffect.py | 39 ++ .../r4/resources/messagedefinition.py | 72 ++++ .../r4/resources/messageheader.py | 57 +++ .../r4/resources/molecularsequence.py | 66 ++++ .../r4/resources/namingsystem.py | 45 +++ .../r4/resources/nutritionorder.py | 75 ++++ .../r4/resources/observation.py | 111 ++++++ .../r4/resources/observationdefinition.py | 54 +++ .../r4/resources/operationdefinition.py | 69 ++++ .../r4/resources/operationoutcome.py | 27 ++ .../r4/resources/organization.py | 45 +++ .../r4/resources/organizationaffiliation.py | 57 +++ spark_fhir_schemas/r4/resources/parameters.py | 18 + spark_fhir_schemas/r4/resources/patient.py | 57 +++ .../r4/resources/paymentnotice.py | 57 +++ .../r4/resources/paymentreconciliation.py | 60 ++++ spark_fhir_schemas/r4/resources/person.py | 45 +++ .../r4/resources/plandefinition.py | 90 +++++ .../r4/resources/practitioner.py | 45 +++ .../r4/resources/practitionerrole.py | 60 ++++ spark_fhir_schemas/r4/resources/procedure.py | 114 ++++++ spark_fhir_schemas/r4/resources/provenance.py | 54 +++ .../r4/resources/questionnaire.py | 66 ++++ .../r4/resources/questionnaireresponse.py | 54 +++ .../r4/resources/relatedperson.py | 51 +++ .../r4/resources/requestgroup.py | 78 ++++ .../r4/resources/researchdefinition.py | 93 +++++ .../r4/resources/researchelementdefinition.py | 84 +++++ .../r4/resources/researchstudy.py | 90 +++++ .../r4/resources/researchsubject.py | 39 ++ .../r4/resources/riskassessment.py | 72 ++++ .../r4/resources/riskevidencesynthesis.py | 96 +++++ spark_fhir_schemas/r4/resources/schedule.py | 42 +++ .../r4/resources/searchparameter.py | 60 ++++ .../r4/resources/servicerequest.py | 126 +++++++ spark_fhir_schemas/r4/resources/slot.py | 48 +++ spark_fhir_schemas/r4/resources/specimen.py | 60 ++++ .../r4/resources/specimendefinition.py | 39 ++ .../r4/resources/structuredefinition.py | 72 ++++ .../r4/resources/structuremap.py | 60 ++++ .../r4/resources/subscription.py | 33 ++ spark_fhir_schemas/r4/resources/substance.py | 39 ++ .../r4/resources/substancenucleicacid.py | 36 ++ .../r4/resources/substancepolymer.py | 39 ++ .../r4/resources/substanceprotein.py | 33 ++ .../substancereferenceinformation.py | 36 ++ .../r4/resources/substancesourcematerial.py | 54 +++ .../r4/resources/substancespecification.py | 75 ++++ .../r4/resources/supplydelivery.py | 57 +++ .../r4/resources/supplyrequest.py | 72 ++++ spark_fhir_schemas/r4/resources/task.py | 108 ++++++ .../r4/resources/terminologycapabilities.py | 72 ++++ spark_fhir_schemas/r4/resources/testreport.py | 48 +++ spark_fhir_schemas/r4/resources/testscript.py | 78 ++++ spark_fhir_schemas/r4/resources/valueset.py | 57 +++ .../r4/resources/verificationresult.py | 60 ++++ .../r4/resources/visionprescription.py | 48 +++ .../r4/simple_types/base64binary.py | 3 + spark_fhir_schemas/r4/simple_types/boolean.py | 3 + .../r4/simple_types/canonical.py | 3 + spark_fhir_schemas/r4/simple_types/code.py | 3 + spark_fhir_schemas/r4/simple_types/date.py | 3 + .../r4/simple_types/datetime.py | 3 + spark_fhir_schemas/r4/simple_types/decimal.py | 3 + spark_fhir_schemas/r4/simple_types/id.py | 3 + spark_fhir_schemas/r4/simple_types/instant.py | 3 + spark_fhir_schemas/r4/simple_types/integer.py | 3 + .../r4/simple_types/markdown.py | 3 + spark_fhir_schemas/r4/simple_types/oid.py | 3 + .../r4/simple_types/positiveint.py | 3 + spark_fhir_schemas/r4/simple_types/string.py | 3 + spark_fhir_schemas/r4/simple_types/time.py | 3 + .../r4/simple_types/unsignedint.py | 3 + spark_fhir_schemas/r4/simple_types/uri.py | 3 + spark_fhir_schemas/r4/simple_types/url.py | 3 + spark_fhir_schemas/r4/simple_types/uuid.py | 3 + spark_fhir_schemas/r4/simple_types/xhtml.py | 3 + spark_fhir_schemas/r4/template.jinja2 | 19 +- 681 files changed, 18945 insertions(+), 6 deletions(-) diff --git a/spark_fhir_schemas/r4/complex_types/account_coverage.py b/spark_fhir_schemas/r4/complex_types/account_coverage.py index 9618de7b..8bb42d71 100644 --- a/spark_fhir_schemas/r4/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/account_coverage.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A financial tool for tracking value accrued for a particular purpose. In the @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/account_guarantor.py b/spark_fhir_schemas/r4/complex_types/account_guarantor.py index 1c0c9698..41234859 100644 --- a/spark_fhir_schemas/r4/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4/complex_types/account_guarantor.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A financial tool for tracking value accrued for a particular purpose. In the @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py index aadbfaf2..fc751672 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of some activity to be performed, @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py index e620141c..441533e1 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of some activity to be performed, @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/address.py b/spark_fhir_schemas/r4/complex_types/address.py index b7f5b7d7..75865513 100644 --- a/spark_fhir_schemas/r4/complex_types/address.py +++ b/spark_fhir_schemas/r4/complex_types/address.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An address expressed using postal conventions (as opposed to GPS or other @@ -96,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py index 7fcc96d1..f08c98ef 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Actual or potential/avoided event causing unintended physical injury @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py index 161a6842..589a4c06 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Actual or potential/avoided event causing unintended physical injury @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/age.py b/spark_fhir_schemas/r4/complex_types/age.py index 3bb15886..d69f2996 100644 --- a/spark_fhir_schemas/r4/complex_types/age.py +++ b/spark_fhir_schemas/r4/complex_types/age.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A duration of time during which an organism (or a process) has existed. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -108,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py index ac6f745a..94269215 100644 --- a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Risk of harmful or undesirable, physiological response which is unique to an @@ -95,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/annotation.py b/spark_fhir_schemas/r4/complex_types/annotation.py index 8bed33a8..9baec455 100644 --- a/spark_fhir_schemas/r4/complex_types/annotation.py +++ b/spark_fhir_schemas/r4/complex_types/annotation.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A text note which also contains information about who made the statement and @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/appointment_participant.py b/spark_fhir_schemas/r4/complex_types/appointment_participant.py index 86e30dab..8fbf67b7 100644 --- a/spark_fhir_schemas/r4/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4/complex_types/appointment_participant.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A booking of a healthcare event among patient(s), practitioner(s), related @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/attachment.py b/spark_fhir_schemas/r4/complex_types/attachment.py index 3b558272..47be77c8 100644 --- a/spark_fhir_schemas/r4/complex_types/attachment.py +++ b/spark_fhir_schemas/r4/complex_types/attachment.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ For referring to data content defined in other formats. @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py index 0c569034..9a3f71ef 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -115,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -157,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -208,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -235,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py index 3cb3b8b9..630671e7 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py index 32cfb701..43c25c94 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -170,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -183,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_network.py b/spark_fhir_schemas/r4/complex_types/auditevent_network.py index 288e0ca4..0d497c2b 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_network.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_source.py b/spark_fhir_schemas/r4/complex_types/auditevent_source.py index 87329596..221cc89f 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_source.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py index a17f52d9..4f1b8fd8 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A material substance originating from a biological entity intended to be @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py index 0fa1afdb..39bbe7c4 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A material substance originating from a biological entity intended to be @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py index 69ec6df8..1640ccc6 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A material substance originating from a biological entity intended to be @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py index fb680baf..65c6cfec 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A material substance originating from a biological entity intended to be @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/bundle_entry.py b/spark_fhir_schemas/r4/complex_types/bundle_entry.py index 01832ba1..586601ef 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_entry.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -97,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -131,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/bundle_link.py b/spark_fhir_schemas/r4/complex_types/bundle_link.py index d190fec1..ffa77b13 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_link.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/bundle_request.py b/spark_fhir_schemas/r4/complex_types/bundle_request.py index 55de457e..be4299c0 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_request.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/bundle_response.py b/spark_fhir_schemas/r4/complex_types/bundle_response.py index 66ca72c6..374a232d 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_response.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/bundle_search.py b/spark_fhir_schemas/r4/complex_types/bundle_search.py index e73c8572..3f3fddb4 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_search.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py index cc0ff430..a24dcc91 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py index a1011f6f..8dda5d07 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py index df69e2cc..cb2e8b2f 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py index b9ab4807..883991fb 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py index 77186456..b450e3c5 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py index 0631767c..4659f8cd 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py index b64d9eb1..4d8b99c2 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py index 91ce5fa1..9080c9a6 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -143,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -156,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -203,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -260,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -276,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py index 072c702f..3bb00dd9 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -110,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -185,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -200,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py index d79e8bf9..a8eb5431 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py index cec19420..67be0a67 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py index 1199d327..fdad085b 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py index 4f5a90fb..0759386f 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/careplan_activity.py b/spark_fhir_schemas/r4/complex_types/careplan_activity.py index 2969caaa..af3e52b3 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_activity.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the intention of how one or more practitioners intend to deliver @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -152,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/careplan_detail.py b/spark_fhir_schemas/r4/complex_types/careplan_detail.py index 6e064fc7..c11b093d 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_detail.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the intention of how one or more practitioners intend to deliver @@ -144,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -161,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -191,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -205,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -235,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -266,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -309,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +361,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +378,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -349,6 +394,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -361,6 +409,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -374,6 +425,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/careteam_participant.py b/spark_fhir_schemas/r4/complex_types/careteam_participant.py index 3585dbbd..b9711be6 100644 --- a/spark_fhir_schemas/r4/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4/complex_types/careteam_participant.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Care Team includes all the people and organizations who plan to @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py index ed295f78..d48d7d38 100644 --- a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Catalog entries are wrappers that contextualize items included in a catalog. @@ -67,6 +70,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py index 5342551b..4a291e9b 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The resource ChargeItem describes the provision of healthcare provider @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py index ca70560d..aa4bbec9 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ChargeItemDefinition resource provides the properties that apply to the @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py index 08efe1c7..158b3832 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ChargeItemDefinition resource provides the properties that apply to the @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py index 00895d0a..b9416a21 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ChargeItemDefinition resource provides the properties that apply to the @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claim_accident.py b/spark_fhir_schemas/r4/complex_types/claim_accident.py index 48d64b02..4c0d4cc6 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4/complex_types/claim_accident.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_careteam.py b/spark_fhir_schemas/r4/complex_types/claim_careteam.py index 7cb12d1a..adcf9360 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/claim_careteam.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_detail.py b/spark_fhir_schemas/r4/complex_types/claim_detail.py index c2087ddf..0e9f368e 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_detail.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -110,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -190,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -203,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -244,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -257,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py index b9932bee..09e197d2 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -151,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_insurance.py b/spark_fhir_schemas/r4/complex_types/claim_insurance.py index 47ece890..27da6f59 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claim_insurance.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_item.py b/spark_fhir_schemas/r4/complex_types/claim_item.py index de61479d..430402db 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4/complex_types/claim_item.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -145,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -158,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -185,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -199,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -214,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -227,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -282,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -299,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -323,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -335,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -347,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -375,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +461,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -414,6 +477,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +493,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -442,6 +511,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -457,6 +529,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claim_payee.py b/spark_fhir_schemas/r4/complex_types/claim_payee.py index 574cd89a..9ae07225 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4/complex_types/claim_payee.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_procedure.py b/spark_fhir_schemas/r4/complex_types/claim_procedure.py index 48dc1b01..9d386a71 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/claim_procedure.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claim_related.py b/spark_fhir_schemas/r4/complex_types/claim_related.py index dfe8211b..44bb8942 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4/complex_types/claim_related.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py index 7affca91..84f407ec 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -117,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -184,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -197,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +287,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py index 5adb4eea..4b11f60e 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -112,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -198,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -211,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py index 5ef0f321..bb7810c1 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -141,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -155,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -170,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -185,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -199,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -214,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -259,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -295,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -307,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +362,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -335,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -373,6 +427,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -388,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -402,6 +462,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -416,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py index d6c8b587..519d3b24 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py index 252b190f..6ede5787 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -120,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py index 8bd34b4c..04037e7a 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -103,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -145,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -214,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -228,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py index 8fd94423..b74f19bb 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py index 185fc1bf..f233d903 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py index 0f5b2466..9c04b002 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py index d310df85..02b4c7d7 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py index 663d0324..c18111c4 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py index bb147fb2..780dc076 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py index 7558cac0..c16eb911 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -140,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py index 493c05c1..19be0d5e 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py index 9941495d..8d02ff80 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py @@ -24,6 +24,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a clinical assessment performed to determine what problem(s) may @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py index 5146f8e7..d75fdb3e 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py @@ -24,6 +24,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a clinical assessment performed to determine what problem(s) may @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/codeableconcept.py b/spark_fhir_schemas/r4/complex_types/codeableconcept.py index d4120c5e..2ec7f13e 100644 --- a/spark_fhir_schemas/r4/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4/complex_types/codeableconcept.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A concept that may be defined by a formal reference to a terminology or @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py index 51f957bd..0438ee27 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -158,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py index d9388228..ebe962c2 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py index d4e0933c..9bbdf276 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property.py b/spark_fhir_schemas/r4/complex_types/codesystem_property.py index dc81b03d..e5381af2 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py index 3ca1410a..de74d09a 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py @@ -30,6 +30,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coding.py b/spark_fhir_schemas/r4/complex_types/coding.py index 8579b642..e2fd67df 100644 --- a/spark_fhir_schemas/r4/complex_types/coding.py +++ b/spark_fhir_schemas/r4/complex_types/coding.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference to a code defined by a terminology system. @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/communication_payload.py b/spark_fhir_schemas/r4/complex_types/communication_payload.py index 22e66d1a..3569b585 100644 --- a/spark_fhir_schemas/r4/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communication_payload.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An occurrence of information being transmitted; e.g. an alert that was sent to @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py index 4975179e..6c4edb36 100644 --- a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to convey information; e.g. the CDS system proposes that an alert be @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py index dbfc72a5..123cee3d 100644 --- a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A compartment definition that defines how resources are accessed on a server. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/composition_attester.py b/spark_fhir_schemas/r4/complex_types/composition_attester.py index 258649f5..bdd24203 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4/complex_types/composition_attester.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of healthcare-related information that is assembled together into a @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/composition_event.py b/spark_fhir_schemas/r4/complex_types/composition_event.py index a07ba842..f62134db 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4/complex_types/composition_event.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of healthcare-related information that is assembled together into a @@ -94,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -126,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py index 77bcc29d..0b8ddbda 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of healthcare-related information that is assembled together into a @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/composition_section.py b/spark_fhir_schemas/r4/complex_types/composition_section.py index 0f2eb765..4a12807c 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4/complex_types/composition_section.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of healthcare-related information that is assembled together into a @@ -121,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -138,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -172,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py index a2232be1..53100b62 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -108,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py index 413c7bbe..158ab1f8 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py index 556f856f..78909ae7 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -153,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py index 8ebcba80..33a30757 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -147,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py index 896f63a3..8143a182 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/condition_evidence.py b/spark_fhir_schemas/r4/complex_types/condition_evidence.py index ebd42952..71bfe9ad 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/condition_evidence.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A clinical condition, problem, diagnosis, or other event, situation, issue, or @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/condition_stage.py b/spark_fhir_schemas/r4/complex_types/condition_stage.py index 38d1cbd8..70c06f05 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4/complex_types/condition_stage.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A clinical condition, problem, diagnosis, or other event, situation, issue, or @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/consent_actor.py b/spark_fhir_schemas/r4/complex_types/consent_actor.py index d7217459..6761ecfc 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4/complex_types/consent_actor.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/consent_data.py b/spark_fhir_schemas/r4/complex_types/consent_data.py index e83a0d5d..6177e3fd 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4/complex_types/consent_data.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/consent_policy.py b/spark_fhir_schemas/r4/complex_types/consent_policy.py index 773cc816..8243434a 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4/complex_types/consent_policy.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/consent_provision.py b/spark_fhir_schemas/r4/complex_types/consent_provision.py index 1c839396..a71b433c 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4/complex_types/consent_provision.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -103,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -147,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -177,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -193,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -207,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -221,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/consent_verification.py b/spark_fhir_schemas/r4/complex_types/consent_verification.py index 0682cc35..218e4492 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4/complex_types/consent_verification.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contactdetail.py b/spark_fhir_schemas/r4/complex_types/contactdetail.py index 9da5e334..4b552199 100644 --- a/spark_fhir_schemas/r4/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4/complex_types/contactdetail.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Specifies contact information for a person or organization. @@ -67,6 +70,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contactpoint.py b/spark_fhir_schemas/r4/complex_types/contactpoint.py index da1b0935..179b340a 100644 --- a/spark_fhir_schemas/r4/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4/complex_types/contactpoint.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details for all kinds of technology mediated contact points for a person or @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_action.py b/spark_fhir_schemas/r4/complex_types/contract_action.py index c6e838ce..a9217a77 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4/complex_types/contract_action.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -139,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -155,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -181,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -237,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -250,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -268,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -282,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_answer.py b/spark_fhir_schemas/r4/complex_types/contract_answer.py index 849058e1..c2198941 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_answer.py @@ -30,6 +30,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -138,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -194,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_asset.py b/spark_fhir_schemas/r4/complex_types/contract_asset.py index 8f4faaae..c36d2ad6 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4/complex_types/contract_asset.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -114,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -183,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -213,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -227,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -241,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -275,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -289,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py index 83c4ade9..9c048115 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_context.py b/spark_fhir_schemas/r4/complex_types/contract_context.py index de724c6b..3a6edb12 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4/complex_types/contract_context.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_friendly.py b/spark_fhir_schemas/r4/complex_types/contract_friendly.py index 36346afb..3800f0d8 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4/complex_types/contract_friendly.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_legal.py b/spark_fhir_schemas/r4/complex_types/contract_legal.py index 83406967..549eb483 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4/complex_types/contract_legal.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -94,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_offer.py b/spark_fhir_schemas/r4/complex_types/contract_offer.py index d633e48c..11e62964 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_offer.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -100,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -114,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -196,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -215,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_party.py b/spark_fhir_schemas/r4/complex_types/contract_party.py index 72785265..6dc98f84 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4/complex_types/contract_party.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_rule.py b/spark_fhir_schemas/r4/complex_types/contract_rule.py index 8a4f8596..4245494e 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4/complex_types/contract_rule.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py index 3d0d1827..56d7a09a 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -135,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_signer.py b/spark_fhir_schemas/r4/complex_types/contract_signer.py index 1066b370..72f3fc77 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_signer.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_subject.py b/spark_fhir_schemas/r4/complex_types/contract_subject.py index 49115a03..63334da8 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4/complex_types/contract_subject.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/contract_term.py b/spark_fhir_schemas/r4/complex_types/contract_term.py index f0fc44c2..da9aae8b 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4/complex_types/contract_term.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -126,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -174,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -230,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py index 4d33a443..514d8740 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -115,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -289,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/contributor.py b/spark_fhir_schemas/r4/complex_types/contributor.py index 17babde9..91c93676 100644 --- a/spark_fhir_schemas/r4/complex_types/contributor.py +++ b/spark_fhir_schemas/r4/complex_types/contributor.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A contributor to the content of a knowledge asset, including authors, editors, @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/count.py b/spark_fhir_schemas/r4/complex_types/count.py index 948471a6..c3d77b60 100644 --- a/spark_fhir_schemas/r4/complex_types/count.py +++ b/spark_fhir_schemas/r4/complex_types/count.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A measured amount (or an amount that can potentially be measured). Note that @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverage_class.py b/spark_fhir_schemas/r4/complex_types/coverage_class.py index c54a5bdd..d417a035 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_class.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Financial instrument which may be used to reimburse or pay for health care @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py index e539a1e0..7a923b11 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Financial instrument which may be used to reimburse or pay for health care @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/coverage_exception.py b/spark_fhir_schemas/r4/complex_types/coverage_exception.py index 8e565f5c..8830d95d 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_exception.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Financial instrument which may be used to reimburse or pay for health care @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py index 7af7a754..c46983ea 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CoverageEligibilityRequest provides patient and insurance coverage @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py index 0762237b..811aef0b 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CoverageEligibilityRequest provides patient and insurance coverage @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py index 7aff69a9..e6808b61 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CoverageEligibilityRequest provides patient and insurance coverage @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -173,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py index fa6d0714..1b1be633 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CoverageEligibilityRequest provides patient and insurance coverage @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py index 8d51fa31..9fc69413 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides eligibility and plan details from the processing of an @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py index 1c36d2a4..f3bf5ca2 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides eligibility and plan details from the processing of an @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py index 67b1d01b..d4a13581 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides eligibility and plan details from the processing of an @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py index a15706c4..c8616cca 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides eligibility and plan details from the processing of an @@ -115,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -213,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -226,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -244,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement.py b/spark_fhir_schemas/r4/complex_types/datarequirement.py index b49b0469..e6ce4c50 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a required data item for evaluation in terms of the type of data, @@ -115,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -157,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -212,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -226,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py index 3d828e49..8bcae525 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a required data item for evaluation in terms of the type of data, @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py index 82322d5c..21474a49 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a required data item for evaluation in terms of the type of data, @@ -106,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -144,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py index 8d45caf3..493f4ede 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a required data item for evaluation in terms of the type of data, @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py index e0558311..dfbbb126 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates an actual or potential clinical issue with or between one or more @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py index 715a8bb4..bdd16983 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates an actual or potential clinical issue with or between one or more @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/device_devicename.py b/spark_fhir_schemas/r4/complex_types/device_devicename.py index a144dc06..860eafd1 100644 --- a/spark_fhir_schemas/r4/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/device_devicename.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/device_property.py b/spark_fhir_schemas/r4/complex_types/device_property.py index c192b53f..0ba1c65f 100644 --- a/spark_fhir_schemas/r4/complex_types/device_property.py +++ b/spark_fhir_schemas/r4/complex_types/device_property.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/device_specialization.py b/spark_fhir_schemas/r4/complex_types/device_specialization.py index 71acc444..2b153c01 100644 --- a/spark_fhir_schemas/r4/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/device_specialization.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py index 99cd6ae8..3233f852 100644 --- a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/device_version.py b/spark_fhir_schemas/r4/complex_types/device_version.py index c1f0b174..79eeb386 100644 --- a/spark_fhir_schemas/r4/complex_types/device_version.py +++ b/spark_fhir_schemas/r4/complex_types/device_version.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py index c7c58266..95d5e330 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py index e77f6a77..ecf51a0b 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py index e120c362..aa9ecc4f 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py index 0dd2bded..724bc5e9 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py index 689d09fa..75791873 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py index 6b395cd5..21e99975 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py index d7fbf2a5..9f7b19e0 100644 --- a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a measurement, calculation or setting capability of a medical @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py index adfdae9c..f5847b03 100644 --- a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Represents a request for a patient to employ a medical device. The device may @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py index ccac2ea8..57d1537b 100644 --- a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The findings and interpretation of diagnostic tests performed on patients, @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/distance.py b/spark_fhir_schemas/r4/complex_types/distance.py index ae7530ad..8f8310f4 100644 --- a/spark_fhir_schemas/r4/complex_types/distance.py +++ b/spark_fhir_schemas/r4/complex_types/distance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A length - a value with a unit that is a physical distance. @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py index 3c9d14a9..ac73bbf4 100644 --- a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A collection of documents compiled for a purpose together with metadata that @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_content.py b/spark_fhir_schemas/r4/complex_types/documentreference_content.py index a1cc7279..f4da6354 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_content.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference to a document of any kind for any purpose. Provides metadata about @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_context.py b/spark_fhir_schemas/r4/complex_types/documentreference_context.py index e8f86cb1..3b677f82 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_context.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference to a document of any kind for any purpose. Provides metadata about @@ -95,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -127,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -141,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py index faa1ece4..cc30833c 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference to a document of any kind for any purpose. Provides metadata about @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/dosage.py b/spark_fhir_schemas/r4/complex_types/dosage.py index 1efd77e4..23aab688 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage.py +++ b/spark_fhir_schemas/r4/complex_types/dosage.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates how the medication is/was taken or should be taken by the patient. @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -160,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -240,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -252,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py index cb25bb5f..9af4e60b 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates how the medication is/was taken or should be taken by the patient. @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/duration.py b/spark_fhir_schemas/r4/complex_types/duration.py index 912cee92..4bbd67fa 100644 --- a/spark_fhir_schemas/r4/complex_types/duration.py +++ b/spark_fhir_schemas/r4/complex_types/duration.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A length of time. @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py index 27cb2049..8440167d 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py index a7c0e234..a9e0d7bb 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py index e974db8b..6024975c 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py index ca9d4c05..4d840b25 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py index 0098dca5..3d7f550c 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py index 8f3a5d41..954c58b8 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/element.py b/spark_fhir_schemas/r4/complex_types/element.py index 4e9881fa..c536139c 100644 --- a/spark_fhir_schemas/r4/complex_types/element.py +++ b/spark_fhir_schemas/r4/complex_types/element.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Base definition for all elements in a resource. @@ -60,6 +63,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition.py b/spark_fhir_schemas/r4/complex_types/elementdefinition.py index b6f12f59..3aa7a9fc 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition.py @@ -30,6 +30,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -1681,6 +1684,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -1715,6 +1721,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -1734,6 +1743,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1754,6 +1766,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1769,6 +1784,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1783,6 +1801,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1797,6 +1818,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1818,6 +1842,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1833,6 +1860,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1846,6 +1876,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -1917,6 +1950,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1930,6 +1966,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1943,6 +1982,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1956,6 +1998,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1969,6 +2014,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1982,6 +2030,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1995,6 +2046,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2008,6 +2062,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2021,6 +2078,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2034,6 +2094,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2047,6 +2110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2060,6 +2126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2073,6 +2142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2086,6 +2158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2099,6 +2174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2112,6 +2190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2125,6 +2206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2138,6 +2222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2151,6 +2238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2164,6 +2254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2177,6 +2270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2190,6 +2286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2203,6 +2302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2216,6 +2318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2229,6 +2334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2242,6 +2350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2255,6 +2366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2268,6 +2382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2281,6 +2398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2294,6 +2414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2307,6 +2430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2320,6 +2446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2434,6 +2563,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2449,6 +2581,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2464,6 +2599,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2479,6 +2617,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2494,6 +2635,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2509,6 +2653,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2524,6 +2671,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2539,6 +2689,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2554,6 +2707,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2569,6 +2725,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2584,6 +2743,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2599,6 +2761,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2614,6 +2779,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2629,6 +2797,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2644,6 +2815,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2659,6 +2833,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2674,6 +2851,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2689,6 +2869,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2704,6 +2887,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2719,6 +2905,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2734,6 +2923,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2749,6 +2941,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2764,6 +2959,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2779,6 +2977,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2794,6 +2995,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2809,6 +3013,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2824,6 +3031,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2839,6 +3049,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2854,6 +3067,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2869,6 +3085,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -2884,6 +3103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3274,6 +3496,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3303,6 +3528,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3332,6 +3560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3361,6 +3592,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3390,6 +3624,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3419,6 +3656,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3448,6 +3688,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3477,6 +3720,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3506,6 +3752,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3535,6 +3784,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3564,6 +3816,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3593,6 +3848,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3622,6 +3880,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3651,6 +3912,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3680,6 +3944,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3709,6 +3976,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3738,6 +4008,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3767,6 +4040,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3796,6 +4072,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3825,6 +4104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3854,6 +4136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3883,6 +4168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3912,6 +4200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3941,6 +4232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3970,6 +4264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -3999,6 +4296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4028,6 +4328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4057,6 +4360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4086,6 +4392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4115,6 +4424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4144,6 +4456,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4158,6 +4473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -4205,6 +4523,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4251,6 +4572,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4265,6 +4589,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4279,6 +4606,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -4294,6 +4624,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -4326,6 +4659,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -4340,6 +4676,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py index f6c55c70..c8ca3adc 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py index 480d88b4..705ca732 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py index e807c5d3..546532dd 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py index eb8772dd..996b4ea6 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py index 7ad22297..6310879d 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py @@ -30,6 +30,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -269,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -355,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -368,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -394,6 +412,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -407,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -420,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -433,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -446,6 +476,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -459,6 +492,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -472,6 +508,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -485,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +540,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -511,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -524,6 +572,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -537,6 +588,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -550,6 +604,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -563,6 +620,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -576,6 +636,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -589,6 +652,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -602,6 +668,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -615,6 +684,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -628,6 +700,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -641,6 +716,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -654,6 +732,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -667,6 +748,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -680,6 +764,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -693,6 +780,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -706,6 +796,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -719,6 +812,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -732,6 +828,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py index f2f25443..3687d0e7 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py index 92e7e557..b1a02bb8 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py index 352c4bac..2ae6664a 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Captures constraints on each element within the resource, profile, or @@ -95,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py index cd2cde24..b84d50de 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -94,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py index 804c2eab..279da503 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py index 7eee3429..b6632294 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -163,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -178,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -191,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/encounter_location.py b/spark_fhir_schemas/r4/complex_types/encounter_location.py index d3fc18f9..997d4ad2 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_location.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/encounter_participant.py b/spark_fhir_schemas/r4/complex_types/encounter_participant.py index ff996edc..5f0c2572 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_participant.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py index f40dc143..c1252ab0 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py index 8a18f704..ed5afd04 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An association between a patient and an organization / healthcare provider(s) @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py index 424195e6..4feff8f9 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An association between a patient and an organization / healthcare provider(s) @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py index d4c69d1b..3eecf7ac 100644 --- a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EvidenceVariable resource describes a "PICO" element that knowledge @@ -137,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -156,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -235,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py index f8f630bf..9bafa2c6 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py index 36b0fb4b..7ce08311 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py index fef24c27..32ccdfeb 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py index 086a00b5..9f47e43b 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py index 73e14d95..26f3e7a6 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py index 9e530894..9d607c20 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py index 44ffdd0f..fdfc42c3 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py index 8604810f..4d245b3d 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -66,6 +69,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py index f652ad95..7bb00054 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py index d1d51215..a29e90a6 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -144,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -158,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -173,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -188,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -202,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -217,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -245,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -262,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -274,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -310,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -323,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -338,6 +383,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -351,6 +399,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -391,6 +448,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -405,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -419,6 +482,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py index b76b41be..d5fe7151 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py index 3cc5cef4..f8a68ef9 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -101,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py index 02b9893a..06f0a8a4 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py index 9890c33b..a5fe4750 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -118,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -132,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -199,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -212,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py index b0c08b91..e9a3ca41 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -106,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -121,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -217,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py index 8222c109..5f7ff803 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -152,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py index 3be013fa..d3de2982 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py index e68c863e..130444a8 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py index 0b4143f2..6335c398 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -155,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -195,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -224,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -237,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -250,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -333,6 +375,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -345,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -357,6 +405,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -370,6 +421,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -385,6 +439,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -398,6 +455,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -411,6 +471,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -424,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -437,6 +503,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -451,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -466,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -482,6 +557,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -496,6 +574,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py index e4cd61a4..c88319ce 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py index 3f88b9b5..74cce2ef 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py index 0a922d9f..feaf1154 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py index aeb732ca..41f6d11f 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py index 9a5b0f10..b8e79539 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py index 034b7fc1..34ec3edd 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -114,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -195,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -208,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -262,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -277,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py index c839bc34..795d36a3 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -101,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -198,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -212,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py index c26e03e9..e391eb2a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -116,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py index 9a15bc73..33366bb0 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/expression.py b/spark_fhir_schemas/r4/complex_types/expression.py index 6a79c367..d6a8c3b2 100644 --- a/spark_fhir_schemas/r4/complex_types/expression.py +++ b/spark_fhir_schemas/r4/complex_types/expression.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A expression that is evaluated in a specified context and returns a value. The @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/extension.py b/spark_fhir_schemas/r4/complex_types/extension.py index 8d225eb3..24f8613c 100644 --- a/spark_fhir_schemas/r4/complex_types/extension.py +++ b/spark_fhir_schemas/r4/complex_types/extension.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Optional Extension Element - found in all resources. @@ -126,9 +129,16 @@ def get_schema( from spark_fhir_schemas.r4.complex_types.reference import ReferenceSchema if ( - max_recursion_limit - and nesting_list.count("Extension") >= max_recursion_limit - ) or (max_nesting_depth and nesting_depth >= max_nesting_depth): + ( + max_recursion_limit + and nesting_list.count("Extension") >= max_recursion_limit + ) + or (max_nesting_depth and nesting_depth >= max_nesting_depth) + or (max_extension_depth and extension_depth >= max_extension_depth) + ): + return StructType([StructField("id", StringType(), True)]) + + if max_extension_depth and extension_depth >= max_extension_depth: return StructType([StructField("id", StringType(), True)]) # add my name to recursion list for later my_nesting_list: List[str] = nesting_list + ["Extension"] @@ -151,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -164,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -229,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -281,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -307,6 +344,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,4 +375,11 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + + if extension_fields: + schema.fields = [ + c + for c in schema.fields + if c.name in extension_fields or c.name in ["id", "extension"] + ] return schema diff --git a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py index 68b448a8..e6a9adba 100644 --- a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Significant health conditions for a person related to the patient relevant in @@ -106,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -121,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/goal_target.py b/spark_fhir_schemas/r4/complex_types/goal_target.py index 788253e9..f6fbce7e 100644 --- a/spark_fhir_schemas/r4/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4/complex_types/goal_target.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the intended objective(s) for a patient, group or organization care, @@ -139,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -153,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -258,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py index 6f515f0d..5e72a073 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of a graph of resources - that is, a coherent @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py index 46b2aa12..2ed9507b 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of a graph of resources - that is, a coherent @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py index 47b95649..853cbefb 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of a graph of resources - that is, a coherent @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/group_characteristic.py b/spark_fhir_schemas/r4/complex_types/group_characteristic.py index 443e768c..b21b383b 100644 --- a/spark_fhir_schemas/r4/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/group_characteristic.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Represents a defined collection of entities that may be discussed or acted @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -117,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/group_member.py b/spark_fhir_schemas/r4/complex_types/group_member.py index 51ac89b9..f03e3d42 100644 --- a/spark_fhir_schemas/r4/complex_types/group_member.py +++ b/spark_fhir_schemas/r4/complex_types/group_member.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Represents a defined collection of entities that may be discussed or acted @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py index 06ac1437..9a275cb7 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The details of a healthcare service available at a location. @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py index 3edd1e10..df84f484 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The details of a healthcare service available at a location. @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -95,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py index 8e726108..a8bfe59a 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The details of a healthcare service available at a location. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/humanname.py b/spark_fhir_schemas/r4/complex_types/humanname.py index 36041ae3..fd63ea4c 100644 --- a/spark_fhir_schemas/r4/complex_types/humanname.py +++ b/spark_fhir_schemas/r4/complex_types/humanname.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A human's name with the ability to identify parts and usage. @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/identifier.py b/spark_fhir_schemas/r4/complex_types/identifier.py index 4f25408c..3e72cbc3 100644 --- a/spark_fhir_schemas/r4/complex_types/identifier.py +++ b/spark_fhir_schemas/r4/complex_types/identifier.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An identifier - identifies some entity uniquely and unambiguously. Typically @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py index c033c20f..0d84a3c4 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Representation of the content produced in a DICOM imaging study. A study @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py index c855dc2e..688c490b 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Representation of the content produced in a DICOM imaging study. A study @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py index 525d5a0f..4bcff47b 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Representation of the content produced in a DICOM imaging study. A study @@ -117,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -130,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -232,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -245,6 +275,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -258,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/immunization_education.py b/spark_fhir_schemas/r4/complex_types/immunization_education.py index 9282eb8b..b27a97a1 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_education.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient being administered a vaccine or a record of @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/immunization_performer.py b/spark_fhir_schemas/r4/complex_types/immunization_performer.py index 31146e4b..8988d2ff 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_performer.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient being administered a vaccine or a record of @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py index eb0d2ebd..cb946edd 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient being administered a vaccine or a record of @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py index ce81eb63..b1ec4d0f 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient being administered a vaccine or a record of @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py index c2a97c96..423aac1d 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A patient's point-in-time set of recommendations (i.e. forecasting) according @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py index fca73036..26e21a6e 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A patient's point-in-time set of recommendations (i.e. forecasting) according @@ -117,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -131,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -144,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -199,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -230,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py index a10efb9a..68384117 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -97,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -169,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py index 5c566328..e8082f61 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py index 913b8e72..5b45c163 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py index 85d8f99a..6cff55ea 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py index 942a9b21..cb63e0ed 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -135,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py index ef8379db..f33b2e80 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py index 71a1d241..ee71675a 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py index 6526b47d..ca83e46a 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py index 771b2845..996a7434 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -99,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py index 45bdcf28..1c5a7512 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py index d4db1e60..7f8b01ff 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py index 6f771587..f09d2917 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py index cb2f660e..5d3fa564 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py index d9ddcda0..b1d0c72a 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py index 35699117..a6df02d5 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -130,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py index 9c6872fa..5347fbe3 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py index fe5ba917..d1c421ad 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py index c0d772b8..15d6a41b 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py index ab3f1d12..ab870c81 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -154,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py index 59322e81..e0f365d6 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py index bf0d8cc2..39956991 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Invoice containing collected ChargeItems from an Account with calculated @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/invoice_participant.py b/spark_fhir_schemas/r4/complex_types/invoice_participant.py index bf3874d8..38934d1c 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_participant.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Invoice containing collected ChargeItems from an Account with calculated @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py index 3a77294f..0eedb773 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Invoice containing collected ChargeItems from an Account with calculated @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/linkage_item.py b/spark_fhir_schemas/r4/complex_types/linkage_item.py index b23697cb..6070c85b 100644 --- a/spark_fhir_schemas/r4/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4/complex_types/linkage_item.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Identifies two or more records (resource instances) that refer to the same @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/list_entry.py b/spark_fhir_schemas/r4/complex_types/list_entry.py index 9a56dab7..0376225d 100644 --- a/spark_fhir_schemas/r4/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4/complex_types/list_entry.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A list is a curated collection of resources. @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py index 924c49f1..dee20989 100644 --- a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details and position information for a physical place where services are @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/location_position.py b/spark_fhir_schemas/r4/complex_types/location_position.py index 8aa14614..41bf848d 100644 --- a/spark_fhir_schemas/r4/complex_types/location_position.py +++ b/spark_fhir_schemas/r4/complex_types/location_position.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details and position information for a physical place where services are @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/marketingstatus.py b/spark_fhir_schemas/r4/complex_types/marketingstatus.py index 82ad1b12..4135d831 100644 --- a/spark_fhir_schemas/r4/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4/complex_types/marketingstatus.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The marketing status describes the date when a medicinal product is actually @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measure_component.py b/spark_fhir_schemas/r4/complex_types/measure_component.py index be9476a9..34d5f8e7 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4/complex_types/measure_component.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measure_group.py b/spark_fhir_schemas/r4/complex_types/measure_group.py index 4ada1f46..d10908cd 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4/complex_types/measure_group.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/measure_population.py b/spark_fhir_schemas/r4/complex_types/measure_population.py index 8d6cb490..90bc8af0 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4/complex_types/measure_population.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py index 384f774a..735187f4 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py index dc1e61c6..9c1ce311 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_component.py b/spark_fhir_schemas/r4/complex_types/measurereport_component.py index 2723a11f..0e1aea06 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_component.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_group.py b/spark_fhir_schemas/r4/complex_types/measurereport_group.py index de52fa16..c299104d 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_group.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population.py b/spark_fhir_schemas/r4/complex_types/measurereport_population.py index 7a66d888..9b00b543 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py index bfc8f9e2..6445a10e 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py index be51df76..fbd97bee 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py index fe951e9f..290a4b09 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -144,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medication_batch.py b/spark_fhir_schemas/r4/complex_types/medication_batch.py index 30298b80..1c510458 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4/complex_types/medication_batch.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource is primarily used for the identification and definition of a @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py index d60b5c52..12e8c6f3 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource is primarily used for the identification and definition of a @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py index 9ba887f4..794d8e2b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient consuming or otherwise being administered a @@ -108,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py index 4f1ccb7e..62b3db67 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient consuming or otherwise being administered a @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py index f0bbbcae..3e6e83a6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates that a medication product is to be or has been dispensed for a named @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py index 9e202ae7..feea8ac1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates that a medication product is to be or has been dispensed for a named @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py index c3b6397e..2df6e0f0 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py index a947316d..9d68ec76 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py index eca62725..a2787e35 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -95,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py index 854dfca2..c3aba07f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py index 002ccb25..11a9bc59 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py index 5732821b..445f719d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py index 62cf65f7..356e74d6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -93,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py index 578ba63c..4ea4b432 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py index cdbf629d..ecb46de1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py index 411bec68..d7a3bc5c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py index 05a4a8b4..68d0fb8d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py index 79185f3e..fbbf92dc 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py index 09eac27e..7a1858f5 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py index d3e3bd8a..20835ab2 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py index f937d250..03a10080 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -67,6 +70,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -80,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py index ba7ad8a9..81a42610 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py index 9fae6a48..2963bf1e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An order or request for both supply of the medication and the instructions for @@ -103,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py index 1f26270b..ee1c1031 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An order or request for both supply of the medication and the instructions for @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py index 74c24b3e..70e6764f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An order or request for both supply of the medication and the instructions for @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py index 231b6e04..c4bc390f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py index 06dca46f..62787708 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -159,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py index 32bbfbdd..03f241bf 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py index 00ade69e..9321e00a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py index 9ae1c8a7..f259a0b1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py index f7c9225d..92cfb3ca 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The regulatory authorization of a medicinal product. @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py index 6211c1ce..b134ba8a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The regulatory authorization of a medicinal product. @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py index 04c05e72..cbff846b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The clinical particulars - indications, contraindications etc. of a medicinal @@ -79,6 +82,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py index 81f01543..ab3e1ce9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indication for the Medicinal Product. @@ -77,6 +80,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ class of products) as part of an indication or contraindication. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py index 4bf52c4b..f06d08a5 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An ingredient of a manufactured item or pharmaceutical product. @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py index a585d271..f8c82cc7 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An ingredient of a manufactured item or pharmaceutical product. @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py index 5ab40772..d37cb3a7 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An ingredient of a manufactured item or pharmaceutical product. @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py index 198455d2..1451c3f1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An ingredient of a manufactured item or pharmaceutical product. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py index e3fedba5..dd299bc9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The interactions of the medicinal product with other medicinal products, or @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py index 1f71bd92..6c94170f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A medicinal product in a container or package. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -94,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py index db915d83..d145b4bd 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A medicinal product in a container or package. @@ -101,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -182,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -196,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -210,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -264,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py index c87dcbbf..c02960ac 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A pharmaceutical product described in terms of its composition and dose form. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py index 6ce6e2bf..9f7048c2 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A pharmaceutical product described in terms of its composition and dose form. @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py index 62bb060c..b59a0b5f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A pharmaceutical product described in terms of its composition and dose form. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py index 1f41a602..d20c44ac 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A pharmaceutical product described in terms of its composition and dose form. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py index 0c61cd5b..0c207824 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Defines the characteristics of a message that can be shared between systems, @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py index 1348c352..a7ddeba5 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Defines the characteristics of a message that can be shared between systems, @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py index 82e0b0f0..e4b8893b 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The header for a message exchange that is either requesting or responding to @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_response.py b/spark_fhir_schemas/r4/complex_types/messageheader_response.py index c2b01295..179e59d5 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_response.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The header for a message exchange that is either requesting or responding to @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_source.py b/spark_fhir_schemas/r4/complex_types/messageheader_source.py index 4cf5be53..ae5e958a 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_source.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The header for a message exchange that is either requesting or responding to @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/meta.py b/spark_fhir_schemas/r4/complex_types/meta.py index d8c0965d..a37c40d4 100644 --- a/spark_fhir_schemas/r4/complex_types/meta.py +++ b/spark_fhir_schemas/r4/complex_types/meta.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The metadata about a resource. This is content in the resource that is @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -161,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -177,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py index 53b409b7..25245f6d 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py index a5a71cc1..1cc45119 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py index aa850b51..cb73e3b2 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -120,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -135,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -233,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -261,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +309,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -285,6 +324,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +356,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py index 310ea455..bd732313 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -101,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -117,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py index 6e956e8c..3056e4d3 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py index b133c24e..b7435fbc 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -154,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -169,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -183,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py index d91952ea..a1bef5a5 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py index 8252246e..61e9c058 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/money.py b/spark_fhir_schemas/r4/complex_types/money.py index aeae354f..e50136f5 100644 --- a/spark_fhir_schemas/r4/complex_types/money.py +++ b/spark_fhir_schemas/r4/complex_types/money.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An amount of economic utility in some recognized currency. @@ -66,6 +69,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -79,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -91,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py index 44eef5a1..9d4df277 100644 --- a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A curated namespace that issues unique symbols within that namespace for the @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -110,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/narrative.py b/spark_fhir_schemas/r4/complex_types/narrative.py index 0ce18caa..a47c458b 100644 --- a/spark_fhir_schemas/r4/complex_types/narrative.py +++ b/spark_fhir_schemas/r4/complex_types/narrative.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A human-readable summary of the resource conveying the essential clinical and @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py index b1053958..55b8aec1 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -106,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py index aeb62bdc..0a69e570 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -103,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -117,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -195,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py index 962b4027..efa9de38 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py index 2006c928..8b694d68 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -138,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -153,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -168,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py index d783070b..22d2b87f 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py index 94a02fe5..33fd767d 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/observation_component.py b/spark_fhir_schemas/r4/complex_types/observation_component.py index c79856eb..81714898 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4/complex_types/observation_component.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Measurements and simple assertions made about a patient, device or other @@ -127,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -140,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -233,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -246,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -275,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py index ac2ff3d3..0ba18df5 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Measurements and simple assertions made about a patient, device or other @@ -95,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py index db4b9a33..a7b69ec7 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Set of definitional characteristics for a kind of observation or measurement @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -150,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py index 09759f83..200dd131 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Set of definitional characteristics for a kind of observation or measurement @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py index 9f77f658..c4c33955 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of an operation (on the RESTful interface) or a @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py index 74286480..9167dc91 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of an operation (on the RESTful interface) or a @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py index f516d423..b55271eb 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of an operation (on the RESTful interface) or a @@ -107,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -120,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -189,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -217,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py index 7c4a1815..09a93e4c 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of an operation (on the RESTful interface) or a @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py index 1c93a512..856a5ec0 100644 --- a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A collection of error, warning, or information messages that result from a @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/organization_contact.py b/spark_fhir_schemas/r4/complex_types/organization_contact.py index 439683f5..6a06aac6 100644 --- a/spark_fhir_schemas/r4/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4/complex_types/organization_contact.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formally or informally recognized grouping of people or organizations formed @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py index 0716c321..d9e2479c 100644 --- a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The parameters to the module. This collection specifies both the input and @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py index 8bb505e1..d2143a92 100644 --- a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource is a non-persisted resource used to pass information into and @@ -226,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -291,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -303,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -327,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -339,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -351,6 +375,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -375,6 +405,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -387,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -399,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -411,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -423,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -435,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -447,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -459,6 +510,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -471,6 +525,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -483,6 +540,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -495,6 +555,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -507,6 +570,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -519,6 +585,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -531,6 +600,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -543,6 +615,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -555,6 +630,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -567,6 +645,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -579,6 +660,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -591,6 +675,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -603,6 +690,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -615,6 +705,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -627,6 +720,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -639,6 +735,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -651,6 +750,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -664,6 +766,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/patient_communication.py b/spark_fhir_schemas/r4/complex_types/patient_communication.py index 1051f54b..ffbb2979 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4/complex_types/patient_communication.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and other administrative information about an individual or @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/patient_contact.py b/spark_fhir_schemas/r4/complex_types/patient_contact.py index 7bed0570..7bf8e6b0 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4/complex_types/patient_contact.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and other administrative information about an individual or @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -141,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/patient_link.py b/spark_fhir_schemas/r4/complex_types/patient_link.py index 1f2edc36..fc505310 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4/complex_types/patient_link.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and other administrative information about an individual or @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py index 16e07d1e..4ad1711d 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the details including amount of a payment and allocates @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -135,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -198,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py index 0a8b4cf4..0bca698b 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the details including amount of a payment and allocates @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/period.py b/spark_fhir_schemas/r4/complex_types/period.py index 7416b8c0..f9802489 100644 --- a/spark_fhir_schemas/r4/complex_types/period.py +++ b/spark_fhir_schemas/r4/complex_types/period.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A time period defined by a start and end date and optionally time. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/person_link.py b/spark_fhir_schemas/r4/complex_types/person_link.py index 91ef242f..71159d63 100644 --- a/spark_fhir_schemas/r4/complex_types/person_link.py +++ b/spark_fhir_schemas/r4/complex_types/person_link.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and administrative information about a person independent of a @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py index 81d81c12..18eeed39 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -197,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -266,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -350,6 +383,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -364,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -379,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -394,6 +436,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -406,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -430,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -442,6 +496,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -455,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -468,6 +528,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +561,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -514,6 +580,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -531,6 +600,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py index ad4063b9..fb6bc5fb 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py index 1f50c5cf..91a25519 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py index d6b35173..98fde0cb 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -96,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -178,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -192,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py index ea48e8e9..9e4243a1 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py index 358a2b8d..9f1c7cb3 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py index cf8987f4..4e70fe16 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -100,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -114,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/population.py b/spark_fhir_schemas/r4/complex_types/population.py index 1c553b35..64198a20 100644 --- a/spark_fhir_schemas/r4/complex_types/population.py +++ b/spark_fhir_schemas/r4/complex_types/population.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A populatioof people with some set of grouping criteria. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py index 7d4c77fe..5dedea22 100644 --- a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A person who is directly or indirectly involved in the provisioning of @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py index a47d9b28..fbcf5372 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A specific set of Roles/Locations/specialties/services that a practitioner may @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py index 7b2c6d79..bdad14c2 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A specific set of Roles/Locations/specialties/services that a practitioner may @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py index 8a8c5d4f..154a7bf8 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An action that is or was performed on or for a patient. This can be a physical @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/procedure_performer.py b/spark_fhir_schemas/r4/complex_types/procedure_performer.py index dce65c7a..4d16527e 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_performer.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An action that is or was performed on or for a patient. This can be a physical @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py index 103c5429..f19d19df 100644 --- a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The marketing status describes the date when a medicinal product is actually @@ -112,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/productshelflife.py b/spark_fhir_schemas/r4/complex_types/productshelflife.py index f060b868..438aa2df 100644 --- a/spark_fhir_schemas/r4/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4/complex_types/productshelflife.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The shelf-life and storage information for a medicinal product item or @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/provenance_agent.py b/spark_fhir_schemas/r4/complex_types/provenance_agent.py index d37caf28..c9579cf3 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_agent.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Provenance of a resource is a record that describes entities and processes @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/provenance_entity.py b/spark_fhir_schemas/r4/complex_types/provenance_entity.py index f9f85566..d1cdfa1a 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_entity.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Provenance of a resource is a record that describes entities and processes @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/quantity.py b/spark_fhir_schemas/r4/complex_types/quantity.py index a14b561b..196e027a 100644 --- a/spark_fhir_schemas/r4/complex_types/quantity.py +++ b/spark_fhir_schemas/r4/complex_types/quantity.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A measured amount (or an amount that can potentially be measured). Note that @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -95,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py index 28c86925..7a7e90aa 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions intended to guide the collection of answers from @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py index add6e1ce..e5bb713a 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions intended to guide the collection of answers from @@ -114,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -154,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py index ebd6de47..57067a4f 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions intended to guide the collection of answers from @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -133,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py index 9dd79865..47c0dd93 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions intended to guide the collection of answers from @@ -148,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -178,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -287,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -301,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py index bab9af1a..a9080d2c 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions and their answers. The questions are ordered and @@ -110,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py index 7591f5e3..810c38bc 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions and their answers. The questions are ordered and @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/range.py b/spark_fhir_schemas/r4/complex_types/range.py index 5be1555a..bc2e4dbe 100644 --- a/spark_fhir_schemas/r4/complex_types/range.py +++ b/spark_fhir_schemas/r4/complex_types/range.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of ordered Quantities defined by a low and high limit. @@ -65,6 +68,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -78,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -90,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/ratio.py b/spark_fhir_schemas/r4/complex_types/ratio.py index 9eb23c2b..5a1b1f87 100644 --- a/spark_fhir_schemas/r4/complex_types/ratio.py +++ b/spark_fhir_schemas/r4/complex_types/ratio.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A relationship of two Quantity values - expressed as a numerator and a @@ -67,6 +70,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -80,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -92,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/reference.py b/spark_fhir_schemas/r4/complex_types/reference.py index 406827be..3a7cc382 100644 --- a/spark_fhir_schemas/r4/complex_types/reference.py +++ b/spark_fhir_schemas/r4/complex_types/reference.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference from one resource to another. @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -122,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/relatedartifact.py b/spark_fhir_schemas/r4/complex_types/relatedartifact.py index d361acfa..3d3af0f4 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4/complex_types/relatedartifact.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Related artifacts such as additional documentation, justification, or @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py index 7ea3bb52..6a64a97b 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a person that is involved in the care for a patient, but who @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py index 14e2cf9f..ffeee9d7 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A group of related requests that can be used to capture intended activities @@ -146,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -201,6 +213,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -258,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -270,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -307,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -320,6 +359,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +389,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -368,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -380,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -392,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -405,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py index e132060f..f7e8c66b 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A group of related requests that can be used to capture intended activities @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py index f858ff2c..6c191d22 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A group of related requests that can be used to capture intended activities @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py index 751894a2..853442f0 100644 --- a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ResearchElementDefinition resource describes a "PICO" element that @@ -140,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -156,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -220,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +287,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -290,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -302,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -314,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py index 4614fc3d..7f9be1fe 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py @@ -23,6 +23,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A process where a researcher or organization plans and then executes a series @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py index a350dafe..facf540b 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py @@ -23,6 +23,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A process where a researcher or organization plans and then executes a series @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/resourcelist.py b/spark_fhir_schemas/r4/complex_types/resourcelist.py index 3d601d4f..e6cae67a 100644 --- a/spark_fhir_schemas/r4/complex_types/resourcelist.py +++ b/spark_fhir_schemas/r4/complex_types/resourcelist.py @@ -16,6 +16,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ """ return StringType() diff --git a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py index 5ed1feab..f082e41f 100644 --- a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An assessment of the likely outcome(s) for a patient or other subject as well @@ -99,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py index 672324f9..e8903ac2 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -107,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -121,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py index eebacd11..a6711a69 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py index 0b829566..861d9ad2 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -80,6 +83,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py index 3ddf86d0..de344d74 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py index 20f2d29c..137fd5d6 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/sampleddata.py b/spark_fhir_schemas/r4/complex_types/sampleddata.py index 7a62cb14..08b271ff 100644 --- a/spark_fhir_schemas/r4/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4/complex_types/sampleddata.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A series of measurements taken by a device, with upper and lower limits. There @@ -88,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py index 0bab873f..b15394cf 100644 --- a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A search parameter that defines a named search item that can be used to @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/signature.py b/spark_fhir_schemas/r4/complex_types/signature.py index a3148d87..3ffb25ef 100644 --- a/spark_fhir_schemas/r4/complex_types/signature.py +++ b/spark_fhir_schemas/r4/complex_types/signature.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A signature along with supporting context. The signature may be a digital @@ -96,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimen_collection.py b/spark_fhir_schemas/r4/complex_types/specimen_collection.py index 6135f2d7..5b1d4cae 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_collection.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A sample to be used for analysis. @@ -100,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimen_container.py b/spark_fhir_schemas/r4/complex_types/specimen_container.py index 05602956..0e3db4d5 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_container.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A sample to be used for analysis. @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimen_processing.py b/spark_fhir_schemas/r4/complex_types/specimen_processing.py index 9c658dcd..336f4a6d 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_processing.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A sample to be used for analysis. @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py index daf0d3da..0f4e9a32 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A kind of specimen with associated set of requirements. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -98,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py index be99db65..ae75cc59 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A kind of specimen with associated set of requirements. @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -102,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py index bc34c67b..08fe75de 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A kind of specimen with associated set of requirements. @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -93,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py index d40d7a1a..ded8cdf7 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A kind of specimen with associated set of requirements. @@ -98,6 +101,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py index 01fd8207..f932c259 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A definition of a FHIR structure. This resource is used to describe the @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py index e2f63995..7587e260 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A definition of a FHIR structure. This resource is used to describe the @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py index 3ddcf96f..bf5c6631 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A definition of a FHIR structure. This resource is used to describe the @@ -78,6 +81,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py index 8b77159f..098e0899 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A definition of a FHIR structure. This resource is used to describe the @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py index 5211d072..7164f9a7 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_group.py b/spark_fhir_schemas/r4/complex_types/structuremap_group.py index 02fed4ae..dfa33a3e 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_group.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -144,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_input.py b/spark_fhir_schemas/r4/complex_types/structuremap_input.py index 9427543e..77527fa5 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_input.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py index 0057f1ee..977e17a5 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py index 5db0facb..cec7ccd9 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -153,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_source.py b/spark_fhir_schemas/r4/complex_types/structuremap_source.py index c2977bd4..6b6b84af 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_source.py @@ -30,6 +30,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -245,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -340,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -352,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +385,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -400,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -412,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -436,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -448,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -460,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -472,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -484,6 +535,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -496,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -508,6 +565,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -520,6 +580,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -532,6 +595,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -544,6 +610,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -556,6 +625,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -568,6 +640,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -580,6 +655,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -592,6 +670,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -604,6 +685,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -616,6 +700,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -628,6 +715,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -640,6 +730,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -652,6 +745,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -664,6 +760,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -676,6 +775,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -688,6 +790,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -704,6 +809,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py index 3f35eec8..d3a5a66b 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_target.py b/spark_fhir_schemas/r4/complex_types/structuremap_target.py index 0d56624b..5fbcadd5 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_target.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/subscription_channel.py b/spark_fhir_schemas/r4/complex_types/subscription_channel.py index 0fe708f4..bf04d0af 100644 --- a/spark_fhir_schemas/r4/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4/complex_types/subscription_channel.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The subscription resource is used to define a push-based subscription from a @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -97,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py index 8eceefe8..a4458e7b 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A homogeneous material with a definite composition. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -109,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substance_instance.py b/spark_fhir_schemas/r4/complex_types/substance_instance.py index 5f301d08..a6ca7982 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4/complex_types/substance_instance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A homogeneous material with a definite composition. @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount.py b/spark_fhir_schemas/r4/complex_types/substanceamount.py index 4f731287..6e39d274 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount.py @@ -23,6 +23,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Chemical substances are a single substance type whose primary defining element @@ -103,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py index e967ffe8..96ee93e5 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py @@ -23,6 +23,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Chemical substances are a single substance type whose primary defining element @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -102,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py index 04badefd..e45390be 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Nucleic acids are defined by three distinct elements: the base, sugar and @@ -82,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -101,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py index d1af3565..c6ecfbb9 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Nucleic acids are defined by three distinct elements: the base, sugar and @@ -105,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -120,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -205,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py index e5aa9867..a2cb6ff2 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Nucleic acids are defined by three distinct elements: the base, sugar and @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -91,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py index cea7c304..b168ec70 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py index 757647af..e51b4445 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py index 8bad9b05..9a096186 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py index 6d10ddee..04c29ecc 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -137,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py index 023a4364..7f634061 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py index b5362f8c..14a0be98 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py index d097c60b..6d2135da 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A SubstanceProtein is defined as a single unit of a linear amino acid @@ -112,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +213,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py index d0a1e24a..4db3b593 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -101,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -114,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -128,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py index ba6ade76..d14b44ba 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -112,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py index 4d32d35d..c0ba3bdd 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py index cf88cfc3..acb7a509 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -104,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py index f5de8a5b..5c4874d0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -102,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py index 880c1a10..b395becf 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -100,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py index 4f2fe0e5..65517c4d 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -108,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -136,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py index 46cca9f2..5b39aba4 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -122,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -135,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -205,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py index b14f7d05..30940aeb 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -101,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -114,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py index ddff3da7..2f7fc2e1 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -99,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -112,6 +118,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py index dcc521e2..22e1f2dd 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py index 6d59ecc6..1780fd69 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -83,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -96,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -108,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py index 5fcdbd86..203dfa8a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -124,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py index e566d538..97a72348 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py index e555ed11..1bfbe29c 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -100,6 +103,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -115,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -157,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -171,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -185,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -199,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -213,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -227,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py index 22ed6685..e5341fd8 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py index fba78c23..db8fb21a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -99,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py index 38ed0a68..dc6bd6e2 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -126,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -212,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +268,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py index f9163cf1..3bf99fcf 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py index 1ec780e7..cab9b882 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -96,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -154,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -181,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py index 87ad2dbe..3ee15edc 100644 --- a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Record of delivery of what is supplied. @@ -76,6 +79,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -117,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py index 9758edf4..01c9bee2 100644 --- a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a request for a medication, substance or device used in the @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +119,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/task_input.py b/spark_fhir_schemas/r4/complex_types/task_input.py index ea966d5e..32e2f317 100644 --- a/spark_fhir_schemas/r4/complex_types/task_input.py +++ b/spark_fhir_schemas/r4/complex_types/task_input.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A task to be performed. @@ -218,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -318,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -330,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -342,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -354,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -366,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -378,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +441,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +456,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -426,6 +471,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -438,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -450,6 +501,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -462,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -474,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -486,6 +546,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +561,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -510,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +591,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -534,6 +606,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -546,6 +621,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -558,6 +636,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -570,6 +651,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -582,6 +666,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -594,6 +681,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -606,6 +696,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -618,6 +711,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -630,6 +726,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -642,6 +741,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/task_output.py b/spark_fhir_schemas/r4/complex_types/task_output.py index b23050d2..791a400b 100644 --- a/spark_fhir_schemas/r4/complex_types/task_output.py +++ b/spark_fhir_schemas/r4/complex_types/task_output.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A task to be performed. @@ -217,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -230,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -280,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -292,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -304,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -316,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -340,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -352,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +394,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +409,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -400,6 +439,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -412,6 +454,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -436,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -448,6 +499,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -460,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -472,6 +529,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -484,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -496,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -508,6 +574,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -520,6 +589,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -532,6 +604,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -544,6 +619,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -556,6 +634,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -568,6 +649,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -580,6 +664,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -592,6 +679,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -604,6 +694,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -616,6 +709,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -628,6 +724,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -640,6 +739,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/task_restriction.py b/spark_fhir_schemas/r4/complex_types/task_restriction.py index 34a6451d..76bab22d 100644 --- a/spark_fhir_schemas/r4/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4/complex_types/task_restriction.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A task to be performed. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -110,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py index d4922318..59de13b8 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py index 2f6fb1eb..68333b9e 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -85,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -98,6 +104,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -111,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py index b763b344..319afdbb 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py index ffd0a2b4..f9e7074f 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -97,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py index 2b5f4e8f..df93020a 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py index d2ddcf85..721d1f6b 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -86,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py index 8ea08117..649fcc4c 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py index 161a411e..ff5a0760 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py index 7a6faae1..79e4b20c 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -77,6 +80,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py index 0561725c..ea4a7c55 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -90,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -111,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -125,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -139,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action.py b/spark_fhir_schemas/r4/complex_types/testreport_action.py index d289198b..b779b5e9 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action1.py b/spark_fhir_schemas/r4/complex_types/testreport_action1.py index 7a1a6b22..f83baef1 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action1.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action2.py b/spark_fhir_schemas/r4/complex_types/testreport_action2.py index 7e063f98..ca3d8115 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action2.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -66,6 +69,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -79,6 +85,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_assert.py b/spark_fhir_schemas/r4/complex_types/testreport_assert.py index 8f86c81a..69215d34 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_assert.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_operation.py b/spark_fhir_schemas/r4/complex_types/testreport_operation.py index 83dd5bb0..99858cc2 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_operation.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -69,6 +72,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_participant.py b/spark_fhir_schemas/r4/complex_types/testreport_participant.py index af11e9a6..0c54421a 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_participant.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -83,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testreport_setup.py b/spark_fhir_schemas/r4/complex_types/testreport_setup.py index 8596cf03..9652502f 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_setup.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -66,6 +69,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -80,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py index b502ae3d..b31d1415 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -66,6 +69,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -80,6 +86,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testreport_test.py b/spark_fhir_schemas/r4/complex_types/testreport_test.py index dc33ea95..20136fe7 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_test.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -71,6 +74,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -90,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action.py b/spark_fhir_schemas/r4/complex_types/testscript_action.py index c2554493..41d2661f 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action1.py b/spark_fhir_schemas/r4/complex_types/testscript_action1.py index 296eae11..ec7027d0 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action1.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -87,6 +93,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action2.py b/spark_fhir_schemas/r4/complex_types/testscript_action2.py index f21cdbc8..c582602b 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action2.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_assert.py b/spark_fhir_schemas/r4/complex_types/testscript_assert.py index 1feea9b6..e72c604c 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_assert.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -131,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -163,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -226,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_capability.py b/spark_fhir_schemas/r4/complex_types/testscript_capability.py index 1627d3a6..cd7982a3 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_capability.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -158,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_destination.py b/spark_fhir_schemas/r4/complex_types/testscript_destination.py index 8d51c9a7..95d667e7 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_destination.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py index fd875978..b576db6c 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -84,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -108,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_link.py b/spark_fhir_schemas/r4/complex_types/testscript_link.py index ed6c7e19..c6f12895 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_link.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py index dcfa9822..6883d013 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -74,6 +77,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_operation.py b/spark_fhir_schemas/r4/complex_types/testscript_operation.py index ebab6858..c0777786 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_operation.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -119,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -132,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -235,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_origin.py b/spark_fhir_schemas/r4/complex_types/testscript_origin.py index 632666c7..2652f8ad 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_origin.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -70,6 +73,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -84,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -96,6 +105,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py index bd1c071f..ccd7d50a 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -67,6 +70,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_setup.py b/spark_fhir_schemas/r4/complex_types/testscript_setup.py index 94fdf7e2..b48521f1 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_setup.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py index 73daffe9..0fc3590a 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -82,6 +88,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_test.py b/spark_fhir_schemas/r4/complex_types/testscript_test.py index e55f89e3..aebc88c8 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_test.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -73,6 +76,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/testscript_variable.py b/spark_fhir_schemas/r4/complex_types/testscript_variable.py index 09e8d190..b41fcc61 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_variable.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/timing.py b/spark_fhir_schemas/r4/complex_types/timing.py index 366a5016..926e0b93 100644 --- a/spark_fhir_schemas/r4/complex_types/timing.py +++ b/spark_fhir_schemas/r4/complex_types/timing.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Specifies an event that may occur multiple times. Timing schedules are used to @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -130,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/timing_repeat.py b/spark_fhir_schemas/r4/complex_types/timing_repeat.py index f5058f23..81ba012e 100644 --- a/spark_fhir_schemas/r4/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/timing_repeat.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Specifies an event that may occur multiple times. Timing schedules are used to @@ -130,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -144,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -252,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -267,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -280,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -296,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -310,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -327,6 +372,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py index abed8381..6cdb929e 100644 --- a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A description of a triggering event. Triggering events can be named events, @@ -97,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -116,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -160,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/usagecontext.py b/spark_fhir_schemas/r4/complex_types/usagecontext.py index 954ab5b7..7d648a0a 100644 --- a/spark_fhir_schemas/r4/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4/complex_types/usagecontext.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Specifies clinical/business/etc. metadata that can be used to retrieve, index @@ -89,6 +92,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -103,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/valueset_compose.py b/spark_fhir_schemas/r4/complex_types/valueset_compose.py index 343672e9..967a740b 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_compose.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -94,6 +97,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -134,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/valueset_concept.py b/spark_fhir_schemas/r4/complex_types/valueset_concept.py index e0f94d77..eb1dbc6e 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_concept.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -81,6 +84,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -94,6 +100,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -113,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/valueset_contains.py b/spark_fhir_schemas/r4/complex_types/valueset_contains.py index 2c617a2d..f54dd9ea 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_contains.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -109,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -123,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -183,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/valueset_designation.py b/spark_fhir_schemas/r4/complex_types/valueset_designation.py index 056b266f..339a14f2 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_designation.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -88,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +109,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py index 57877501..6ec6703a 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -99,6 +102,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -117,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -186,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/valueset_filter.py b/spark_fhir_schemas/r4/complex_types/valueset_filter.py index fafb47b6..dcbbda10 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_filter.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -79,6 +82,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -92,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/valueset_include.py b/spark_fhir_schemas/r4/complex_types/valueset_include.py index 0f291b98..403fc12d 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_include.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -92,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -106,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -138,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -155,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py index 12e5f50a..aa727e79 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -95,6 +98,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py index 4f3c2a0a..dcf6a390 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes validation requirements, source(s), status and dates for one or more @@ -96,6 +99,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -109,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py index f3e0053c..e4c88592 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes validation requirements, source(s), status and dates for one or more @@ -87,6 +90,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -129,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -143,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py index 9067ef51..707ff751 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes validation requirements, source(s), status and dates for one or more @@ -72,6 +75,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -85,6 +91,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -99,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py index 97e6432f..9b3371c0 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An authorization for the provision of glasses and/or contact lenses to a @@ -105,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -183,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py index e1d980dc..f31d53fe 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An authorization for the provision of glasses and/or contact lenses to a @@ -68,6 +71,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -81,6 +87,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/account.py b/spark_fhir_schemas/r4/resources/account.py index edb858a8..35ae16c0 100644 --- a/spark_fhir_schemas/r4/resources/account.py +++ b/spark_fhir_schemas/r4/resources/account.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A financial tool for tracking value accrued for a particular purpose. In the @@ -128,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -219,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -234,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -307,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -337,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/activitydefinition.py b/spark_fhir_schemas/r4/resources/activitydefinition.py index da481ed3..a94abf95 100644 --- a/spark_fhir_schemas/r4/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4/resources/activitydefinition.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of some activity to be performed, @@ -308,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -349,6 +361,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -366,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +399,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -399,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -418,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -433,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -475,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -488,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -503,6 +539,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -520,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -534,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -551,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -566,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -580,6 +631,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -597,6 +651,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -616,6 +673,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -631,6 +691,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -646,6 +709,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -661,6 +727,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -676,6 +745,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -691,6 +763,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -706,6 +781,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -721,6 +799,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -736,6 +817,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -749,6 +833,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -762,6 +849,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -775,6 +865,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -788,6 +881,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -805,6 +901,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -819,6 +918,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -831,6 +933,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -843,6 +948,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -855,6 +963,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -868,6 +979,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -881,6 +995,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -895,6 +1012,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -908,6 +1028,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -921,6 +1044,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -935,6 +1061,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -950,6 +1079,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -965,6 +1097,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -980,6 +1115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -994,6 +1132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -1009,6 +1150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -1026,6 +1170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/adverseevent.py b/spark_fhir_schemas/r4/resources/adverseevent.py index 2e9d2a8c..0bc1026a 100644 --- a/spark_fhir_schemas/r4/resources/adverseevent.py +++ b/spark_fhir_schemas/r4/resources/adverseevent.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Actual or potential/avoided event causing unintended physical injury @@ -156,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -229,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -247,6 +268,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -262,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -304,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -317,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -329,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -342,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -354,6 +399,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -368,6 +416,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -381,6 +432,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -407,6 +464,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -419,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -450,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -464,6 +533,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -478,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -492,6 +567,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -506,6 +584,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/allergyintolerance.py b/spark_fhir_schemas/r4/resources/allergyintolerance.py index a0934149..89334f90 100644 --- a/spark_fhir_schemas/r4/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4/resources/allergyintolerance.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Risk of harmful or undesirable, physiological response which is unique to an @@ -176,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -267,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -283,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -296,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -309,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -342,6 +375,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -354,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -366,6 +405,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -382,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -395,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -408,6 +456,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -436,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -448,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -461,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -475,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -490,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/appointment.py b/spark_fhir_schemas/r4/resources/appointment.py index f2f48cd8..f3016776 100644 --- a/spark_fhir_schemas/r4/resources/appointment.py +++ b/spark_fhir_schemas/r4/resources/appointment.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A booking of a healthcare event among patient(s), practitioner(s), related @@ -186,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -244,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -277,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -313,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -327,6 +357,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -341,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -356,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -370,6 +409,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -384,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -402,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -417,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -435,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -448,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -460,6 +517,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -477,6 +537,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -491,6 +554,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -507,6 +573,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -528,6 +597,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -542,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -562,6 +637,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/appointmentresponse.py b/spark_fhir_schemas/r4/resources/appointmentresponse.py index 4eb61877..8577cd5e 100644 --- a/spark_fhir_schemas/r4/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4/resources/appointmentresponse.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reply to an appointment request for a patient and/or practitioner(s), such @@ -119,6 +122,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -210,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -226,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -265,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/auditevent.py b/spark_fhir_schemas/r4/resources/auditevent.py index a630f0a5..730b78fa 100644 --- a/spark_fhir_schemas/r4/resources/auditevent.py +++ b/spark_fhir_schemas/r4/resources/auditevent.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of an event made for purposes of maintaining a security log. Typical @@ -130,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -221,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -308,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -321,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/basic.py b/spark_fhir_schemas/r4/resources/basic.py index 6c72fdf2..d5ef0ba9 100644 --- a/spark_fhir_schemas/r4/resources/basic.py +++ b/spark_fhir_schemas/r4/resources/basic.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Basic is used for handling concepts not yet defined in FHIR, narrative-only @@ -114,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -205,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -220,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -234,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -261,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/binary.py b/spark_fhir_schemas/r4/resources/binary.py index 930fdd1a..1e3e7f08 100644 --- a/spark_fhir_schemas/r4/resources/binary.py +++ b/spark_fhir_schemas/r4/resources/binary.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A resource that represents the data of a single raw artifact as digital @@ -86,6 +89,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -100,6 +106,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -115,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py index 05551fac..333cd3f6 100644 --- a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A material substance originating from a biological entity intended to be @@ -138,6 +141,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -211,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -229,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -262,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -290,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -303,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -316,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -331,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +407,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/bodystructure.py b/spark_fhir_schemas/r4/resources/bodystructure.py index 58baa4eb..5291e0fc 100644 --- a/spark_fhir_schemas/r4/resources/bodystructure.py +++ b/spark_fhir_schemas/r4/resources/bodystructure.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Record details about an anatomical structure. This resource may be used when @@ -120,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -211,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -284,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -297,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/bundle.py b/spark_fhir_schemas/r4/resources/bundle.py index 5ea05656..2f499545 100644 --- a/spark_fhir_schemas/r4/resources/bundle.py +++ b/spark_fhir_schemas/r4/resources/bundle.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for a collection of resources. @@ -91,6 +94,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -105,6 +111,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -120,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -203,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/capabilitystatement.py b/spark_fhir_schemas/r4/resources/capabilitystatement.py index bc4f7491..dffb59ed 100644 --- a/spark_fhir_schemas/r4/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4/resources/capabilitystatement.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Capability Statement documents a set of capabilities (behaviors) of a FHIR @@ -226,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -267,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -299,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -371,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -404,6 +437,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -421,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -436,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -450,6 +492,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -464,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -485,6 +533,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -502,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -517,6 +571,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -531,6 +588,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -549,6 +609,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -564,6 +627,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -579,6 +645,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -593,6 +662,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -607,6 +679,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -621,6 +696,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/careplan.py b/spark_fhir_schemas/r4/resources/careplan.py index 9f3506f2..baed6c8a 100644 --- a/spark_fhir_schemas/r4/resources/careplan.py +++ b/spark_fhir_schemas/r4/resources/careplan.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the intention of how one or more practitioners intend to deliver @@ -167,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -289,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -305,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -319,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -334,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -348,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -362,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -375,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +438,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -407,6 +458,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -420,6 +474,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +489,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -445,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -458,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -472,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -487,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -502,6 +574,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -518,6 +593,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -532,6 +610,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -547,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -561,6 +645,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/careteam.py b/spark_fhir_schemas/r4/resources/careteam.py index 2cdb69d6..333989ad 100644 --- a/spark_fhir_schemas/r4/resources/careteam.py +++ b/spark_fhir_schemas/r4/resources/careteam.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Care Team includes all the people and organizations who plan to @@ -132,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -257,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -312,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -340,6 +385,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -354,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -368,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -382,6 +436,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/catalogentry.py b/spark_fhir_schemas/r4/resources/catalogentry.py index 481befa5..bc4f96ec 100644 --- a/spark_fhir_schemas/r4/resources/catalogentry.py +++ b/spark_fhir_schemas/r4/resources/catalogentry.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Catalog entries are wrappers that contextualize items included in a catalog. @@ -133,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -174,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -224,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -279,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -293,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -347,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -361,6 +412,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -376,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/chargeitem.py b/spark_fhir_schemas/r4/resources/chargeitem.py index 862de665..4e7b3450 100644 --- a/spark_fhir_schemas/r4/resources/chargeitem.py +++ b/spark_fhir_schemas/r4/resources/chargeitem.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The resource ChargeItem describes the provision of healthcare provider @@ -181,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -301,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -316,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -332,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -345,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -357,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -383,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -395,6 +443,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -408,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -421,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -433,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -445,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -457,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +536,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -483,6 +552,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -495,6 +567,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -511,6 +586,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -523,6 +601,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +617,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -550,6 +634,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -564,6 +651,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -577,6 +667,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -590,6 +683,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -604,6 +700,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -618,6 +717,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py index 7614e934..d898c2cc 100644 --- a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ChargeItemDefinition resource provides the properties that apply to the @@ -208,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -237,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -281,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -299,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -318,6 +342,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -333,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -362,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -377,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -392,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -414,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -431,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -445,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -462,6 +510,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -477,6 +528,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -492,6 +546,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -511,6 +568,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -524,6 +584,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -538,6 +601,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -552,6 +618,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -568,6 +637,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/claim.py b/spark_fhir_schemas/r4/resources/claim.py index 9fa84caf..8791c0f2 100644 --- a/spark_fhir_schemas/r4/resources/claim.py +++ b/spark_fhir_schemas/r4/resources/claim.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A provider issued list of professional services and products which have been @@ -193,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +213,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -284,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -298,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -311,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -357,6 +393,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +423,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +438,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -405,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -431,6 +485,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -444,6 +501,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -458,6 +518,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -471,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -484,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -497,6 +566,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -509,6 +581,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -521,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -534,6 +612,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -549,6 +630,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -563,6 +647,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -578,6 +665,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -593,6 +683,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -607,6 +700,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -621,6 +717,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -634,6 +733,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/claimresponse.py b/spark_fhir_schemas/r4/resources/claimresponse.py index 11438982..92a878bb 100644 --- a/spark_fhir_schemas/r4/resources/claimresponse.py +++ b/spark_fhir_schemas/r4/resources/claimresponse.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the adjudication details from the processing of a Claim @@ -190,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -263,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -308,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +386,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +403,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +433,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -413,6 +464,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -425,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -442,6 +499,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -454,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -468,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -482,6 +548,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -497,6 +566,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -511,6 +583,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -524,6 +599,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -537,6 +615,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -549,6 +630,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -562,6 +646,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -576,6 +663,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -590,6 +680,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -605,6 +698,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -619,6 +715,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/clinicalimpression.py b/spark_fhir_schemas/r4/resources/clinicalimpression.py index 598cbf6c..09044e78 100644 --- a/spark_fhir_schemas/r4/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4/resources/clinicalimpression.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a clinical assessment performed to determine what problem(s) may @@ -176,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -267,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -283,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -296,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -335,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -362,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -374,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -386,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -432,6 +489,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +507,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -464,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -478,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -492,6 +561,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -506,6 +578,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -522,6 +597,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/codesystem.py b/spark_fhir_schemas/r4/resources/codesystem.py index 29e9f5d8..ed1ae40c 100644 --- a/spark_fhir_schemas/r4/resources/codesystem.py +++ b/spark_fhir_schemas/r4/resources/codesystem.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CodeSystem resource is used to declare the existence of and describe a @@ -212,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -226,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -270,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -285,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -303,6 +324,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -374,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +423,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -404,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -421,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -435,6 +477,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -449,6 +494,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -463,6 +511,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -478,6 +529,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -502,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -516,6 +573,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -530,6 +590,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -545,6 +608,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -561,6 +627,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/communication.py b/spark_fhir_schemas/r4/resources/communication.py index c3f85a87..68f7da53 100644 --- a/spark_fhir_schemas/r4/resources/communication.py +++ b/spark_fhir_schemas/r4/resources/communication.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An occurrence of information being transmitted; e.g. an alert that was sent to @@ -163,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -254,6 +275,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -285,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -315,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -329,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -343,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -356,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -368,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -382,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -396,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -409,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -422,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -434,6 +494,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -448,6 +511,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -462,6 +528,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -474,6 +543,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -486,6 +558,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -504,6 +579,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -518,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -531,6 +612,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -545,6 +629,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -559,6 +646,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -574,6 +664,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/communicationrequest.py b/spark_fhir_schemas/r4/resources/communicationrequest.py index 8c35667c..5d66116c 100644 --- a/spark_fhir_schemas/r4/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4/resources/communicationrequest.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to convey information; e.g. the CDS system proposes that an alert be @@ -170,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -211,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -277,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -306,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -321,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -333,6 +369,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -345,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -373,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +437,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -402,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -416,6 +470,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -430,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -443,6 +503,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -458,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -471,6 +537,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -484,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +570,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -512,6 +587,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -525,6 +603,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -539,6 +620,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -554,6 +638,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/compartmentdefinition.py b/spark_fhir_schemas/r4/resources/compartmentdefinition.py index a8dba443..24747141 100644 --- a/spark_fhir_schemas/r4/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4/resources/compartmentdefinition.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A compartment definition that defines how resources are accessed on a server. @@ -157,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -198,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -267,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -317,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -362,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -379,6 +421,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/composition.py b/spark_fhir_schemas/r4/resources/composition.py index 2b48e4de..e13faa7d 100644 --- a/spark_fhir_schemas/r4/resources/composition.py +++ b/spark_fhir_schemas/r4/resources/composition.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of healthcare-related information that is assembled together into a @@ -165,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -287,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -302,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -318,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -331,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +383,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -373,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -386,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -429,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -443,6 +503,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/conceptmap.py b/spark_fhir_schemas/r4/resources/conceptmap.py index 1040518d..4ba19b0e 100644 --- a/spark_fhir_schemas/r4/resources/conceptmap.py +++ b/spark_fhir_schemas/r4/resources/conceptmap.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A statement of relationships from one set of concepts to one or more other @@ -185,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -226,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -258,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -276,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -343,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -373,6 +409,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -404,6 +446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -418,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -459,6 +510,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/condition.py b/spark_fhir_schemas/r4/resources/condition.py index 608c6608..55b03209 100644 --- a/spark_fhir_schemas/r4/resources/condition.py +++ b/spark_fhir_schemas/r4/resources/condition.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A clinical condition, problem, diagnosis, or other event, situation, issue, or @@ -189,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -218,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -262,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -280,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -296,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -348,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +399,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -373,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -386,6 +431,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -399,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -415,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -428,6 +482,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -441,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -464,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -479,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -494,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -512,6 +581,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -524,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +611,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -550,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -565,6 +646,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -580,6 +664,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/consent.py b/spark_fhir_schemas/r4/resources/consent.py index 1e439269..fdb1716c 100644 --- a/spark_fhir_schemas/r4/resources/consent.py +++ b/spark_fhir_schemas/r4/resources/consent.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a healthcare consumer’s choices, which permits or denies @@ -149,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -240,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -254,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -297,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -309,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -325,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -340,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -356,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -371,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -386,6 +437,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -399,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -413,6 +470,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -427,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/contract.py b/spark_fhir_schemas/r4/resources/contract.py index 7d7d25dc..bcc83406 100644 --- a/spark_fhir_schemas/r4/resources/contract.py +++ b/spark_fhir_schemas/r4/resources/contract.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Legally enforceable, formally recorded unilateral or bilateral directive i.e., @@ -242,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -333,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -348,6 +372,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -362,6 +389,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -377,6 +407,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -406,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -419,6 +458,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +474,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -444,6 +489,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -456,6 +504,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -469,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -482,6 +536,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -499,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -516,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -530,6 +593,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -561,6 +627,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -574,6 +643,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -587,6 +659,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -600,6 +675,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -616,6 +694,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -631,6 +712,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -646,6 +730,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -660,6 +747,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -675,6 +765,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -693,6 +786,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -710,6 +806,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -729,6 +828,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -743,6 +845,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -757,6 +862,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -773,6 +881,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -788,6 +899,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/coverage.py b/spark_fhir_schemas/r4/resources/coverage.py index d90e45b3..833203d3 100644 --- a/spark_fhir_schemas/r4/resources/coverage.py +++ b/spark_fhir_schemas/r4/resources/coverage.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Financial instrument which may be used to reimburse or pay for health care @@ -156,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -229,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -247,6 +268,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -287,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -299,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -342,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -370,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -384,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +454,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -435,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py index d09657a4..9ddc39df 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The CoverageEligibilityRequest provides patient and insurance coverage @@ -158,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -263,6 +287,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -276,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -346,6 +388,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +403,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -371,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -383,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -397,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -412,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -427,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py index 3a713efb..849c9845 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides eligibility and plan details from the processing of an @@ -150,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -241,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -255,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -268,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -302,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -314,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -326,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -338,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -355,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +417,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -385,6 +436,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -398,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/detectedissue.py b/spark_fhir_schemas/r4/resources/detectedissue.py index faeaf236..7d01563f 100644 --- a/spark_fhir_schemas/r4/resources/detectedissue.py +++ b/spark_fhir_schemas/r4/resources/detectedissue.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates an actual or potential clinical issue with or between one or more @@ -143,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -157,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -234,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -302,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -329,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -344,6 +389,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +427,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/device.py b/spark_fhir_schemas/r4/resources/device.py index 8c47fda5..6334804e 100644 --- a/spark_fhir_schemas/r4/resources/device.py +++ b/spark_fhir_schemas/r4/resources/device.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A type of a manufactured item that is used in the provision of healthcare @@ -180,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -299,6 +326,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -349,6 +385,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -362,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -383,6 +425,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +462,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -428,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -443,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -456,6 +513,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -469,6 +529,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -483,6 +546,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -496,6 +562,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -508,6 +577,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +594,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -537,6 +612,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -550,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/devicedefinition.py b/spark_fhir_schemas/r4/resources/devicedefinition.py index a1a5a46d..3ca9921f 100644 --- a/spark_fhir_schemas/r4/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4/resources/devicedefinition.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The characteristics, operational status and capabilities of a medical-related @@ -178,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -269,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -284,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -301,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -316,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -329,6 +362,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -344,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +397,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -374,6 +416,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -388,6 +433,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -401,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -415,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -429,6 +483,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -444,6 +501,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -458,6 +518,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -472,6 +535,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -485,6 +551,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -497,6 +566,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -511,6 +583,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -526,6 +601,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -538,6 +616,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -551,6 +632,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/devicemetric.py b/spark_fhir_schemas/r4/resources/devicemetric.py index a4955dc1..4043aac1 100644 --- a/spark_fhir_schemas/r4/resources/devicemetric.py +++ b/spark_fhir_schemas/r4/resources/devicemetric.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a measurement, calculation or setting capability of a medical @@ -141,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -274,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -305,6 +341,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -336,6 +375,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/devicerequest.py b/spark_fhir_schemas/r4/resources/devicerequest.py index f74e1925..cb754a0c 100644 --- a/spark_fhir_schemas/r4/resources/devicerequest.py +++ b/spark_fhir_schemas/r4/resources/devicerequest.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Represents a request for a patient to employ a medical device. The device may @@ -182,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -211,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -287,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -302,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -359,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -371,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -383,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -396,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -408,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -420,6 +474,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -434,6 +491,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +507,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -459,6 +522,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -479,6 +545,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -494,6 +563,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -506,6 +578,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -519,6 +594,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -531,6 +609,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -543,6 +624,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -556,6 +640,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -570,6 +657,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -585,6 +675,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -601,6 +694,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -617,6 +713,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -631,6 +730,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/deviceusestatement.py b/spark_fhir_schemas/r4/resources/deviceusestatement.py index 62c47ad5..4e8a0001 100644 --- a/spark_fhir_schemas/r4/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4/resources/deviceusestatement.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a device being used by a patient where the record is the result of @@ -142,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -183,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -233,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -247,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -262,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +309,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +326,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -306,6 +342,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -318,6 +357,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +389,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -383,6 +437,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -397,6 +454,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -413,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/diagnosticreport.py b/spark_fhir_schemas/r4/resources/diagnosticreport.py index a6aac3b1..ffdde2c9 100644 --- a/spark_fhir_schemas/r4/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4/resources/diagnosticreport.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The findings and interpretation of diagnostic tests performed on patients, @@ -172,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -213,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -263,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -277,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -336,6 +372,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -349,6 +388,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -382,6 +427,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -395,6 +443,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -410,6 +461,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -424,6 +478,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -438,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -455,6 +515,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -471,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -489,6 +555,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -505,6 +574,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/documentmanifest.py b/spark_fhir_schemas/r4/resources/documentmanifest.py index 98611145..b695d86e 100644 --- a/spark_fhir_schemas/r4/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4/resources/documentmanifest.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A collection of documents compiled for a purpose together with metadata that @@ -134,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -269,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -285,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -299,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -328,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +406,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -372,6 +423,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/documentreference.py b/spark_fhir_schemas/r4/resources/documentreference.py index f58c14f4..cfd7ea60 100644 --- a/spark_fhir_schemas/r4/resources/documentreference.py +++ b/spark_fhir_schemas/r4/resources/documentreference.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A reference to a document of any kind for any purpose. Provides metadata about @@ -158,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -264,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -293,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -307,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -338,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -376,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -403,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -423,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -438,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -451,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py index 10eace13..db8dc7a1 100644 --- a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EffectEvidenceSynthesis resource describes the difference in an outcome @@ -235,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +326,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -345,6 +369,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -392,6 +422,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -409,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -423,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -436,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -454,6 +496,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -469,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -484,6 +532,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -503,6 +554,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -518,6 +572,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -533,6 +590,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -548,6 +608,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -563,6 +626,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -578,6 +644,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -593,6 +662,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -606,6 +678,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -618,6 +693,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -631,6 +709,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -644,6 +725,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -657,6 +741,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -670,6 +757,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -682,6 +772,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -696,6 +789,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -710,6 +806,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -724,6 +823,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/encounter.py b/spark_fhir_schemas/r4/resources/encounter.py index c8620c6d..645860fb 100644 --- a/spark_fhir_schemas/r4/resources/encounter.py +++ b/spark_fhir_schemas/r4/resources/encounter.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An interaction between a patient and healthcare provider(s) for the purpose of @@ -187,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -278,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -310,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -325,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -359,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -372,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -384,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -396,6 +441,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -415,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -430,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -444,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -458,6 +515,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -471,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -484,6 +547,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +564,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -513,6 +582,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -527,6 +599,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -541,6 +616,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -554,6 +632,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -567,6 +648,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -585,6 +669,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -598,6 +685,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/endpoint.py b/spark_fhir_schemas/r4/resources/endpoint.py index 920af0d7..9b8b0ed9 100644 --- a/spark_fhir_schemas/r4/resources/endpoint.py +++ b/spark_fhir_schemas/r4/resources/endpoint.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The technical details of an endpoint that can be used for electronic services, @@ -130,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -144,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -221,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -253,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -296,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -310,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -339,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/enrollmentrequest.py b/spark_fhir_schemas/r4/resources/enrollmentrequest.py index 6ad45cdd..a029b548 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4/resources/enrollmentrequest.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the insurance enrollment details to the insurer @@ -105,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -196,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -210,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -235,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/enrollmentresponse.py b/spark_fhir_schemas/r4/resources/enrollmentresponse.py index 3e6c6832..fb027cda 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4/resources/enrollmentresponse.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides enrollment and plan details from the processing of an @@ -107,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -198,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -212,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -237,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -265,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/episodeofcare.py b/spark_fhir_schemas/r4/resources/episodeofcare.py index 9827f727..93d863d2 100644 --- a/spark_fhir_schemas/r4/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4/resources/episodeofcare.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An association between a patient and an organization / healthcare provider(s) @@ -134,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -241,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -287,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -340,6 +385,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -353,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -367,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -381,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/eventdefinition.py b/spark_fhir_schemas/r4/resources/eventdefinition.py index af9ecc06..b36cba60 100644 --- a/spark_fhir_schemas/r4/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4/resources/eventdefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EventDefinition resource provides a reusable description of when a @@ -219,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -233,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -292,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -310,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -329,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -381,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -394,6 +427,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -409,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -426,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -440,6 +482,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -457,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -472,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -486,6 +537,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -503,6 +557,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +579,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -551,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -566,6 +632,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -581,6 +650,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -596,6 +668,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -611,6 +686,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -627,6 +705,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/evidence.py b/spark_fhir_schemas/r4/resources/evidence.py index 5d1226df..989a2ba1 100644 --- a/spark_fhir_schemas/r4/resources/evidence.py +++ b/spark_fhir_schemas/r4/resources/evidence.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Evidence resource describes the conditional state (population and any @@ -213,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -304,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -378,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -394,6 +427,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -408,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -421,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -439,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -453,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -468,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -487,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -502,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -517,6 +574,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -532,6 +592,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -547,6 +610,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -562,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -577,6 +646,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -591,6 +663,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -605,6 +680,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -620,6 +698,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/evidencevariable.py b/spark_fhir_schemas/r4/resources/evidencevariable.py index 6097a165..cbb1c3e1 100644 --- a/spark_fhir_schemas/r4/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4/resources/evidencevariable.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The EvidenceVariable resource describes a "PICO" element that knowledge @@ -213,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -304,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -323,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -338,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -380,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -397,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -411,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -442,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -457,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -472,6 +520,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -491,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -506,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -521,6 +578,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -536,6 +596,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -551,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -566,6 +632,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -581,6 +650,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -598,6 +670,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/examplescenario.py b/spark_fhir_schemas/r4/resources/examplescenario.py index a2c5810c..bf92724d 100644 --- a/spark_fhir_schemas/r4/resources/examplescenario.py +++ b/spark_fhir_schemas/r4/resources/examplescenario.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Example of workflow instance. @@ -180,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -290,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -305,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -340,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -357,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -375,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -390,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -405,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -419,6 +464,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -446,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -460,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -474,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/explanationofbenefit.py b/spark_fhir_schemas/r4/resources/explanationofbenefit.py index 65f3863f..23351742 100644 --- a/spark_fhir_schemas/r4/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4/resources/explanationofbenefit.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides: the claim details; adjudication details from the @@ -258,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -287,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -299,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -316,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -331,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -349,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -363,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -379,6 +406,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -392,6 +422,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -408,6 +441,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -422,6 +458,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -434,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -446,6 +488,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -458,6 +503,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +518,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -483,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -496,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -509,6 +566,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +582,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +599,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -549,6 +615,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -562,6 +631,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -575,6 +647,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -587,6 +662,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -599,6 +677,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -612,6 +693,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -625,6 +709,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -637,6 +724,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -656,6 +746,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -670,6 +763,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -685,6 +781,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -699,6 +798,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -714,6 +816,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -728,6 +833,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -742,6 +850,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -756,6 +867,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -770,6 +884,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -784,6 +901,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -799,6 +919,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -813,6 +936,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -826,6 +952,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -838,6 +967,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -851,6 +983,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -865,6 +1000,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -878,6 +1016,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -891,6 +1032,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/familymemberhistory.py b/spark_fhir_schemas/r4/resources/familymemberhistory.py index 7bec030c..0cceda3d 100644 --- a/spark_fhir_schemas/r4/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4/resources/familymemberhistory.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Significant health conditions for a person related to the patient relevant in @@ -182,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -211,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -289,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -304,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -320,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +369,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -361,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -377,6 +419,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -417,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -429,6 +483,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -449,6 +506,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -462,6 +522,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -481,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -496,6 +562,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -512,6 +581,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -529,6 +601,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/flag.py b/spark_fhir_schemas/r4/resources/flag.py index c098526e..45112ab4 100644 --- a/spark_fhir_schemas/r4/resources/flag.py +++ b/spark_fhir_schemas/r4/resources/flag.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Prospective warnings of potential issues when providing care to the patient. @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -220,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -251,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -289,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/goal.py b/spark_fhir_schemas/r4/resources/goal.py index 713214bb..1393e419 100644 --- a/spark_fhir_schemas/r4/resources/goal.py +++ b/spark_fhir_schemas/r4/resources/goal.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the intended objective(s) for a patient, group or organization care, @@ -147,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -220,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -254,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -297,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -338,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -351,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -369,6 +417,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -383,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -397,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -412,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -426,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/graphdefinition.py b/spark_fhir_schemas/r4/resources/graphdefinition.py index 76251d0a..2f5a0863 100644 --- a/spark_fhir_schemas/r4/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4/resources/graphdefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of a graph of resources - that is, a coherent @@ -168,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -226,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -259,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -278,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +375,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -374,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -388,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -400,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -412,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -425,6 +476,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/group.py b/spark_fhir_schemas/r4/resources/group.py index f1a47b81..a815b6cb 100644 --- a/spark_fhir_schemas/r4/resources/group.py +++ b/spark_fhir_schemas/r4/resources/group.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Represents a defined collection of entities that may be discussed or acted @@ -133,6 +136,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +153,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -174,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -224,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -275,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -315,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/guidanceresponse.py b/spark_fhir_schemas/r4/resources/guidanceresponse.py index c0cf7f82..a524cb80 100644 --- a/spark_fhir_schemas/r4/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4/resources/guidanceresponse.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A guidance response is the formal response to a guidance request, including @@ -159,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -232,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -298,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -319,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +383,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -386,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -416,6 +470,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -433,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -445,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -461,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/healthcareservice.py b/spark_fhir_schemas/r4/resources/healthcareservice.py index a9adf54d..0cba8e0d 100644 --- a/spark_fhir_schemas/r4/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4/resources/healthcareservice.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The details of a healthcare service available at a location. @@ -178,6 +181,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -269,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -283,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -327,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +378,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -356,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -376,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -417,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -432,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +504,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -461,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -475,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -492,6 +558,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -507,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -525,6 +597,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -540,6 +615,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -559,6 +637,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/imagingstudy.py b/spark_fhir_schemas/r4/resources/imagingstudy.py index cf860ac2..58f9fea8 100644 --- a/spark_fhir_schemas/r4/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4/resources/imagingstudy.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Representation of the content produced in a DICOM imaging study. A study @@ -165,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -289,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -302,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -327,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -341,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -354,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -367,6 +412,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -384,6 +432,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +451,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -415,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -440,6 +500,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -453,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +533,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -481,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -498,6 +570,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -515,6 +590,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/immunization.py b/spark_fhir_schemas/r4/resources/immunization.py index 8380ff61..81d5116e 100644 --- a/spark_fhir_schemas/r4/resources/immunization.py +++ b/spark_fhir_schemas/r4/resources/immunization.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient being administered a vaccine or a record of @@ -189,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -218,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -262,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -280,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -307,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -319,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -331,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -343,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -373,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -430,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -442,6 +499,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -454,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +530,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -482,6 +548,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -496,6 +565,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -511,6 +583,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -528,6 +603,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -543,6 +621,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -557,6 +638,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -573,6 +657,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -587,6 +674,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -602,6 +692,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/immunizationevaluation.py b/spark_fhir_schemas/r4/resources/immunizationevaluation.py index cf3abf7c..a4a91a6e 100644 --- a/spark_fhir_schemas/r4/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4/resources/immunizationevaluation.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes a comparison of an immunization event against published @@ -137,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -228,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -280,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -292,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -304,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -316,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -329,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -343,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py index a9ad9c15..34738f2a 100644 --- a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A patient's point-in-time set of recommendations (i.e. forecasting) according @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -195,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -246,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/implementationguide.py b/spark_fhir_schemas/r4/resources/implementationguide.py index a50c0f62..86c9f622 100644 --- a/spark_fhir_schemas/r4/resources/implementationguide.py +++ b/spark_fhir_schemas/r4/resources/implementationguide.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A set of rules of how a particular interoperability or standards problem is @@ -201,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -274,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -311,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -346,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +393,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -377,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -394,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +448,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -424,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -439,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -461,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -476,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -490,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -503,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/insuranceplan.py b/spark_fhir_schemas/r4/resources/insuranceplan.py index 76d925de..852c6267 100644 --- a/spark_fhir_schemas/r4/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4/resources/insuranceplan.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details of a Health Insurance product/plan provided by an organization. @@ -136,6 +139,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -227,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -276,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -290,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -304,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -317,6 +356,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -374,6 +425,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -388,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/invoice.py b/spark_fhir_schemas/r4/resources/invoice.py index 165fdcae..4b5b4379 100644 --- a/spark_fhir_schemas/r4/resources/invoice.py +++ b/spark_fhir_schemas/r4/resources/invoice.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Invoice containing collected ChargeItems from an Account with calculated @@ -146,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -219,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -237,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -296,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +344,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -334,6 +376,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -346,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -377,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -390,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -415,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -428,6 +491,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/library.py b/spark_fhir_schemas/r4/resources/library.py index 7e1bd1b1..6655b305 100644 --- a/spark_fhir_schemas/r4/resources/library.py +++ b/spark_fhir_schemas/r4/resources/library.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Library resource is a general-purpose container for knowledge asset @@ -235,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -249,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +326,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -344,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +387,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -413,6 +446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -426,6 +462,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -441,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -457,6 +499,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -471,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -488,6 +536,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -502,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -516,6 +570,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -532,6 +589,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -551,6 +611,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -566,6 +629,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -581,6 +647,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -596,6 +665,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -611,6 +683,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -626,6 +701,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -641,6 +719,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -655,6 +736,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -670,6 +754,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -686,6 +773,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/linkage.py b/spark_fhir_schemas/r4/resources/linkage.py index a3120a7c..d72e81ca 100644 --- a/spark_fhir_schemas/r4/resources/linkage.py +++ b/spark_fhir_schemas/r4/resources/linkage.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Identifies two or more records (resource instances) that refer to the same @@ -107,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -198,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -231,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/list.py b/spark_fhir_schemas/r4/resources/list.py index c98577c1..e1978cbe 100644 --- a/spark_fhir_schemas/r4/resources/list.py +++ b/spark_fhir_schemas/r4/resources/list.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A list is a curated collection of resources. @@ -125,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -139,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +163,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -183,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -198,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +237,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -253,6 +280,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +311,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -290,6 +326,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -303,6 +342,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +357,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -355,6 +406,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/location.py b/spark_fhir_schemas/r4/resources/location.py index eab9010a..1ce5cbeb 100644 --- a/spark_fhir_schemas/r4/resources/location.py +++ b/spark_fhir_schemas/r4/resources/location.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Details and position information for a physical place where services are @@ -150,6 +153,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +170,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +188,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +203,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +223,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +241,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -241,6 +262,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -255,6 +279,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -275,6 +302,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +328,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -314,6 +347,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -327,6 +363,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -339,6 +378,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -352,6 +394,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +409,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +424,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +440,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -407,6 +461,9 @@ class of locations. nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/measure.py b/spark_fhir_schemas/r4/resources/measure.py index 8f9dbabf..2b525614 100644 --- a/spark_fhir_schemas/r4/resources/measure.py +++ b/spark_fhir_schemas/r4/resources/measure.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The Measure resource provides the definition of a quality measure. @@ -262,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -291,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -303,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -335,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -353,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -371,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -386,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -426,6 +456,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -439,6 +472,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -454,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -484,6 +526,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -501,6 +546,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -515,6 +563,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -529,6 +580,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -546,6 +600,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -565,6 +622,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -580,6 +640,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -595,6 +658,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -610,6 +676,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -625,6 +694,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -640,6 +712,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -655,6 +730,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -670,6 +748,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -684,6 +765,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -698,6 +782,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -711,6 +798,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -725,6 +815,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -747,6 +840,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -760,6 +856,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -774,6 +873,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -787,6 +889,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -801,6 +906,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -814,6 +922,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -830,6 +941,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/measurereport.py b/spark_fhir_schemas/r4/resources/measurereport.py index a894617c..e808f8f8 100644 --- a/spark_fhir_schemas/r4/resources/measurereport.py +++ b/spark_fhir_schemas/r4/resources/measurereport.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The MeasureReport resource contains the results of the calculation of a @@ -134,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -207,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -241,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -289,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -326,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -339,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -354,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/media.py b/spark_fhir_schemas/r4/resources/media.py index 731ffccb..ac8faf62 100644 --- a/spark_fhir_schemas/r4/resources/media.py +++ b/spark_fhir_schemas/r4/resources/media.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A photo, video, or audio recording acquired or used in healthcare. The actual @@ -165,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -287,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -301,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -314,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -327,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -341,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -353,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -365,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -377,6 +425,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -391,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -404,6 +458,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -416,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -429,6 +489,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -443,6 +506,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -458,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +539,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -482,6 +554,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -498,6 +573,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -510,6 +588,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -523,6 +604,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +620,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medication.py b/spark_fhir_schemas/r4/resources/medication.py index df8ad9a1..2d05af61 100644 --- a/spark_fhir_schemas/r4/resources/medication.py +++ b/spark_fhir_schemas/r4/resources/medication.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource is primarily used for the identification and definition of a @@ -126,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +199,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -217,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +255,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +275,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -285,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -326,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/medicationadministration.py b/spark_fhir_schemas/r4/resources/medicationadministration.py index 06d91c52..0e7b13f3 100644 --- a/spark_fhir_schemas/r4/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4/resources/medicationadministration.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes the event of a patient consuming or otherwise being administered a @@ -183,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -212,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -307,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -321,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -337,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +386,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -363,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -378,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +438,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -405,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -453,6 +510,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -481,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -495,6 +561,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -508,6 +577,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +594,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -537,6 +612,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -551,6 +629,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -565,6 +646,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicationdispense.py b/spark_fhir_schemas/r4/resources/medicationdispense.py index 4657a1d1..629cf80c 100644 --- a/spark_fhir_schemas/r4/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4/resources/medicationdispense.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indicates that a medication product is to be or has been dispensed for a named @@ -186,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -244,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -277,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -346,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -374,6 +416,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -441,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -454,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +530,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -481,6 +547,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -493,6 +562,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -505,6 +577,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -517,6 +592,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -530,6 +608,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -543,6 +624,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -558,6 +642,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -573,6 +660,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -587,6 +677,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -604,6 +697,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -619,6 +715,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -634,6 +733,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicationknowledge.py b/spark_fhir_schemas/r4/resources/medicationknowledge.py index 4258cbad..9f9dee36 100644 --- a/spark_fhir_schemas/r4/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4/resources/medicationknowledge.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a medication that is used to support knowledge. @@ -187,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -278,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -333,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -365,6 +404,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -382,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -397,6 +442,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -411,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -425,6 +476,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -438,6 +492,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -451,6 +508,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -465,6 +525,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -479,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -493,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -507,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -520,6 +592,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -534,6 +609,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -549,6 +627,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -563,6 +644,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -578,6 +662,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicationrequest.py b/spark_fhir_schemas/r4/resources/medicationrequest.py index 7505bfa3..2421e498 100644 --- a/spark_fhir_schemas/r4/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4/resources/medicationrequest.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An order or request for both supply of the medication and the instructions for @@ -231,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -289,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -304,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -340,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -354,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -366,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -378,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -392,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -406,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -442,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -457,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +521,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -483,6 +537,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -497,6 +554,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -511,6 +571,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -524,6 +587,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -537,6 +603,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -549,6 +618,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -562,6 +634,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -575,6 +650,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -589,6 +667,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -604,6 +685,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -620,6 +704,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -635,6 +722,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -650,6 +740,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -663,6 +756,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -677,6 +773,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -692,6 +791,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -706,6 +808,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -723,6 +828,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -738,6 +846,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -751,6 +862,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -766,6 +880,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -783,6 +900,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicationstatement.py b/spark_fhir_schemas/r4/resources/medicationstatement.py index 68570016..72c4c7e7 100644 --- a/spark_fhir_schemas/r4/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4/resources/medicationstatement.py @@ -46,6 +46,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a medication that is being consumed by a patient. A @@ -204,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -218,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -233,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -262,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -313,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -327,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -341,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -356,6 +389,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +405,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -382,6 +421,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -397,6 +439,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -412,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +472,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -437,6 +488,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -455,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -481,6 +541,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -496,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -510,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -524,6 +593,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -539,6 +611,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -553,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproduct.py b/spark_fhir_schemas/r4/resources/medicinalproduct.py index 860f3e4d..f1da5eeb 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproduct.py +++ b/spark_fhir_schemas/r4/resources/medicinalproduct.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Detailed definition of a medicinal product, typically for uses other than @@ -155,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -213,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -260,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -285,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -339,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -352,6 +397,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -367,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -381,6 +432,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -395,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -424,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -438,6 +501,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -452,6 +518,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -466,6 +535,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -481,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -496,6 +571,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -511,6 +589,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py index dfe191bb..ee21e514 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The regulatory authorization of a medicinal product. @@ -139,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +159,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -212,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -230,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -245,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -285,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -298,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -310,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -323,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -376,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +461,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -414,6 +477,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -426,6 +492,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -438,6 +507,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py index b4b10224..b06b6a8d 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The clinical particulars - indications, contraindications etc. of a medicinal @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +342,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductindication.py b/spark_fhir_schemas/r4/resources/medicinalproductindication.py index fc8176c8..d8831a2c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductindication.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Indication for the Medicinal Product. @@ -114,6 +117,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -128,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +187,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -205,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -219,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -244,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -257,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -296,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -310,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -324,6 +372,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py index 9a612f69..603b1bf9 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An ingredient of a manufactured item or pharmaceutical product. @@ -118,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -224,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -278,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py index 1e4b0b8e..d1bfae5a 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The interactions of the medicinal product with other medicinal products, or @@ -111,6 +114,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -125,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -140,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -169,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -184,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -202,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py index 9a07e5d9..bae37811 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The manufactured item as contained in the packaged medicinal product. @@ -112,6 +115,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -126,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -203,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -217,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -283,6 +322,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -296,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py index 6b836c4f..f12915c2 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A medicinal product in a container or package. @@ -120,6 +123,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +193,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +211,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -211,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -225,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -255,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -308,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -323,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py index 6b324dc5..605097fa 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A pharmaceutical product described in terms of its composition and dose form. @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +289,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -270,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -284,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -299,6 +341,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py index 1cb6d995..4c217ddc 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describe the undesirable effects of the medicinal product. @@ -104,6 +107,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -118,6 +124,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -133,6 +142,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -195,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -246,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/messagedefinition.py b/spark_fhir_schemas/r4/resources/messagedefinition.py index 27736f4f..cd6276fb 100644 --- a/spark_fhir_schemas/r4/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4/resources/messagedefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Defines the characteristics of a message that can be shared between systems, @@ -200,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -229,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -258,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -305,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -347,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -370,6 +403,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -387,6 +423,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -401,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +460,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -433,6 +478,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -461,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -473,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -487,6 +544,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -500,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -519,6 +582,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -537,6 +603,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -554,6 +623,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/messageheader.py b/spark_fhir_schemas/r4/resources/messageheader.py index 991ae1da..bc80d60a 100644 --- a/spark_fhir_schemas/r4/resources/messageheader.py +++ b/spark_fhir_schemas/r4/resources/messageheader.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The header for a message exchange that is either requesting or responding to @@ -148,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -162,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -177,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -239,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -255,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -314,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -326,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -340,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -353,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -366,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -380,6 +431,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -393,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/molecularsequence.py b/spark_fhir_schemas/r4/resources/molecularsequence.py index cddcdd25..8d417821 100644 --- a/spark_fhir_schemas/r4/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4/resources/molecularsequence.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Raw data describing a biological sequence. @@ -151,6 +154,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +189,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -192,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +224,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -257,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -310,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +361,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +376,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -347,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +412,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -384,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -398,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -412,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -426,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -440,6 +503,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/namingsystem.py b/spark_fhir_schemas/r4/resources/namingsystem.py index ef61e9b2..4a06d516 100644 --- a/spark_fhir_schemas/r4/resources/namingsystem.py +++ b/spark_fhir_schemas/r4/resources/namingsystem.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A curated namespace that issues unique symbols within that namespace for the @@ -147,6 +150,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -220,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -264,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -280,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -297,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +344,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -343,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -361,6 +403,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/nutritionorder.py b/spark_fhir_schemas/r4/resources/nutritionorder.py index fb0355c3..9797dd5d 100644 --- a/spark_fhir_schemas/r4/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4/resources/nutritionorder.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A request to supply a diet, formula feeding (enteral) or oral nutritional @@ -165,6 +168,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -179,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -194,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -206,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -302,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -330,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -343,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -394,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -408,6 +462,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -426,6 +483,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -449,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -462,6 +525,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -476,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -490,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -504,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/observation.py b/spark_fhir_schemas/r4/resources/observation.py index 487de8a1..0b768ea7 100644 --- a/spark_fhir_schemas/r4/resources/observation.py +++ b/spark_fhir_schemas/r4/resources/observation.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Measurements and simple assertions made about a patient, device or other @@ -248,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -262,6 +268,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -289,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -321,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -339,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -353,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -369,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -384,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -400,6 +433,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -413,6 +449,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -429,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -450,6 +492,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -464,6 +509,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -486,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -502,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -521,6 +575,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -534,6 +591,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -548,6 +608,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -561,6 +624,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -583,6 +649,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -596,6 +665,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -609,6 +681,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -628,6 +703,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -641,6 +719,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -655,6 +736,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -669,6 +753,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -683,6 +770,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -695,6 +785,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -707,6 +800,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -719,6 +815,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -735,6 +834,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -751,6 +853,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -767,6 +872,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -785,6 +893,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/observationdefinition.py b/spark_fhir_schemas/r4/resources/observationdefinition.py index ebf84226..bf0fc026 100644 --- a/spark_fhir_schemas/r4/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4/resources/observationdefinition.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Set of definitional characteristics for a kind of observation or measurement @@ -141,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -260,6 +287,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -273,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +324,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +342,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +359,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -334,6 +376,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -347,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -373,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/operationdefinition.py b/spark_fhir_schemas/r4/resources/operationdefinition.py index aa3cbf9a..b7207ceb 100644 --- a/spark_fhir_schemas/r4/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4/resources/operationdefinition.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formal computable definition of an operation (on the RESTful interface) or a @@ -203,6 +206,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -232,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -244,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -261,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -313,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -367,6 +397,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -381,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -398,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -413,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -427,6 +469,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -442,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -454,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -467,6 +518,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -480,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -505,6 +562,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -519,6 +579,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -532,6 +595,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -548,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/operationoutcome.py b/spark_fhir_schemas/r4/resources/operationoutcome.py index e3a36005..86bba9eb 100644 --- a/spark_fhir_schemas/r4/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4/resources/operationoutcome.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A collection of error, warning, or information messages that result from a @@ -93,6 +96,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -107,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -122,6 +131,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +146,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -184,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -198,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/organization.py b/spark_fhir_schemas/r4/resources/organization.py index 43405146..328203fb 100644 --- a/spark_fhir_schemas/r4/resources/organization.py +++ b/spark_fhir_schemas/r4/resources/organization.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A formally or informally recognized grouping of people or organizations formed @@ -132,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -254,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -273,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -287,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -328,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/organizationaffiliation.py b/spark_fhir_schemas/r4/resources/organizationaffiliation.py index a07f3ab1..3ad18275 100644 --- a/spark_fhir_schemas/r4/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4/resources/organizationaffiliation.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Defines an affiliation/assotiation/relationship between 2 distinct @@ -131,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -264,6 +294,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -292,6 +328,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -306,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -321,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -335,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -349,6 +397,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -363,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -377,6 +431,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/parameters.py b/spark_fhir_schemas/r4/resources/parameters.py index a3903291..1a827afc 100644 --- a/spark_fhir_schemas/r4/resources/parameters.py +++ b/spark_fhir_schemas/r4/resources/parameters.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource is a non-persisted resource used to pass information into and @@ -75,6 +78,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -89,6 +95,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -104,6 +113,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -116,6 +128,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -129,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/patient.py b/spark_fhir_schemas/r4/resources/patient.py index e33e397d..a3f07bbf 100644 --- a/spark_fhir_schemas/r4/resources/patient.py +++ b/spark_fhir_schemas/r4/resources/patient.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and other administrative information about an individual or @@ -162,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -220,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -235,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -253,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -267,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -306,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -329,6 +362,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +378,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -361,6 +400,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -375,6 +417,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -390,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -404,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -417,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -430,6 +484,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/paymentnotice.py b/spark_fhir_schemas/r4/resources/paymentnotice.py index 71d8b33a..7fdbfe0b 100644 --- a/spark_fhir_schemas/r4/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4/resources/paymentnotice.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the status of the payment for goods and services @@ -127,6 +130,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -141,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -245,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -257,6 +287,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -281,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -305,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/paymentreconciliation.py b/spark_fhir_schemas/r4/resources/paymentreconciliation.py index 5b53d76a..1ec398c9 100644 --- a/spark_fhir_schemas/r4/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4/resources/paymentreconciliation.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource provides the details including amount of a payment and allocates @@ -141,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -155,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +179,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -199,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -214,6 +232,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -232,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -246,6 +270,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -259,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -296,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +362,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -339,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -351,6 +399,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -377,6 +431,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -390,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/person.py b/spark_fhir_schemas/r4/resources/person.py index 6d9ed4c8..7b66dc10 100644 --- a/spark_fhir_schemas/r4/resources/person.py +++ b/spark_fhir_schemas/r4/resources/person.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Demographics and administrative information about a person independent of a @@ -123,6 +126,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -137,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -152,6 +161,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +176,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -196,6 +214,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -214,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -228,6 +252,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +269,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -288,6 +324,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +357,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/plandefinition.py b/spark_fhir_schemas/r4/resources/plandefinition.py index 13b37862..56ad79ab 100644 --- a/spark_fhir_schemas/r4/resources/plandefinition.py +++ b/spark_fhir_schemas/r4/resources/plandefinition.py @@ -29,6 +29,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ This resource allows for the definition of various types of plans as a @@ -240,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -281,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -350,6 +374,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -365,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -399,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -419,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -447,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -463,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -477,6 +522,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -494,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -509,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -523,6 +577,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -540,6 +597,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -559,6 +619,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -574,6 +637,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -589,6 +655,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -604,6 +673,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -619,6 +691,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -634,6 +709,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -649,6 +727,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -664,6 +745,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -681,6 +765,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -695,6 +782,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/practitioner.py b/spark_fhir_schemas/r4/resources/practitioner.py index 0caebd0f..b7e97274 100644 --- a/spark_fhir_schemas/r4/resources/practitioner.py +++ b/spark_fhir_schemas/r4/resources/practitioner.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A person who is directly or indirectly involved in the provisioning of @@ -135,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -226,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -240,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -256,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -271,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -307,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -324,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -338,6 +380,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/practitionerrole.py b/spark_fhir_schemas/r4/resources/practitionerrole.py index 4fd39f25..b21ff4be 100644 --- a/spark_fhir_schemas/r4/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4/resources/practitionerrole.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A specific set of Roles/Locations/specialties/services that a practitioner may @@ -144,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -235,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -290,6 +323,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -303,6 +339,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +356,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -360,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -375,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -390,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/procedure.py b/spark_fhir_schemas/r4/resources/procedure.py index 84199b28..b4cac1e7 100644 --- a/spark_fhir_schemas/r4/resources/procedure.py +++ b/spark_fhir_schemas/r4/resources/procedure.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An action that is or was performed on or for a patient. This can be a physical @@ -209,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -238,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -250,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -267,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -316,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +376,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -361,6 +394,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -375,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -389,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +443,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +459,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -439,6 +490,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -452,6 +506,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -488,6 +548,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -502,6 +565,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -514,6 +580,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -526,6 +595,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -539,6 +611,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -553,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -567,6 +645,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -581,6 +662,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -596,6 +680,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -610,6 +697,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -623,6 +713,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -640,6 +733,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -655,6 +751,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -671,6 +770,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -685,6 +787,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -701,6 +806,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -716,6 +824,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -730,6 +841,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/provenance.py b/spark_fhir_schemas/r4/resources/provenance.py index 9ed296fa..34a8931c 100644 --- a/spark_fhir_schemas/r4/resources/provenance.py +++ b/spark_fhir_schemas/r4/resources/provenance.py @@ -33,6 +33,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Provenance of a resource is a record that describes entities and processes @@ -152,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -243,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -259,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -314,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -327,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -356,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -370,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -385,6 +436,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/questionnaire.py b/spark_fhir_schemas/r4/resources/questionnaire.py index 3e384ad6..d97e6002 100644 --- a/spark_fhir_schemas/r4/resources/questionnaire.py +++ b/spark_fhir_schemas/r4/resources/questionnaire.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions intended to guide the collection of answers from @@ -195,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -209,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +268,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -305,6 +329,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -347,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -369,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -385,6 +421,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -401,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -415,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +477,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -461,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -475,6 +529,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -494,6 +551,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -508,6 +568,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -523,6 +586,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/questionnaireresponse.py b/spark_fhir_schemas/r4/resources/questionnaireresponse.py index 9902607b..76ce9f7a 100644 --- a/spark_fhir_schemas/r4/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4/resources/questionnaireresponse.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of questions and their answers. The questions are ordered and @@ -131,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -252,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -268,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -282,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -323,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -336,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -362,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/relatedperson.py b/spark_fhir_schemas/r4/resources/relatedperson.py index 22d6c103..34405f4f 100644 --- a/spark_fhir_schemas/r4/resources/relatedperson.py +++ b/spark_fhir_schemas/r4/resources/relatedperson.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Information about a person that is involved in the care for a patient, but who @@ -137,6 +140,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -151,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +175,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +210,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -228,6 +249,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -242,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -257,6 +284,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -270,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -284,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -298,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +356,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -331,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -345,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +406,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/requestgroup.py b/spark_fhir_schemas/r4/resources/requestgroup.py index 84b8be9f..4c44f119 100644 --- a/spark_fhir_schemas/r4/resources/requestgroup.py +++ b/spark_fhir_schemas/r4/resources/requestgroup.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A group of related requests that can be used to capture intended activities @@ -144,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +164,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -185,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -217,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -235,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -264,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +309,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -294,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -309,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -324,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -337,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -375,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -387,6 +441,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -399,6 +456,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -411,6 +471,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -423,6 +486,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -436,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -450,6 +519,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -464,6 +536,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -478,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/researchdefinition.py b/spark_fhir_schemas/r4/resources/researchdefinition.py index d9bc5ca9..fdc3123b 100644 --- a/spark_fhir_schemas/r4/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchdefinition.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ResearchDefinition resource describes the conditional state (population @@ -243,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -257,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -272,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -316,6 +334,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -334,6 +355,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -353,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -368,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -414,6 +444,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -428,6 +461,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -443,6 +479,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -460,6 +499,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -474,6 +516,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -493,6 +538,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -508,6 +556,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -522,6 +573,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -539,6 +593,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -558,6 +615,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -573,6 +633,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -588,6 +651,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -603,6 +669,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -618,6 +687,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -633,6 +705,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -648,6 +723,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -663,6 +741,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -677,6 +758,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -690,6 +774,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -703,6 +790,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -716,6 +806,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/researchelementdefinition.py b/spark_fhir_schemas/r4/resources/researchelementdefinition.py index bfaad7b2..33a9febb 100644 --- a/spark_fhir_schemas/r4/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchelementdefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The ResearchElementDefinition resource describes a "PICO" element that @@ -239,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +259,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +277,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -280,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -297,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -312,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -330,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -349,6 +373,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -410,6 +440,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -424,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -439,6 +475,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -456,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -470,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -489,6 +534,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -504,6 +552,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -518,6 +569,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -535,6 +589,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -554,6 +611,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -569,6 +629,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -584,6 +647,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -599,6 +665,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -614,6 +683,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -629,6 +701,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -644,6 +719,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -659,6 +737,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -678,6 +759,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/researchstudy.py b/spark_fhir_schemas/r4/resources/researchstudy.py index 3f42436e..a11cabf1 100644 --- a/spark_fhir_schemas/r4/resources/researchstudy.py +++ b/spark_fhir_schemas/r4/resources/researchstudy.py @@ -23,6 +23,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A process where a researcher or organization plans and then executes a series @@ -183,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +203,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -212,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -224,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -256,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -274,6 +295,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -288,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -305,6 +332,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -319,6 +349,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -335,6 +368,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -348,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -378,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -394,6 +439,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -423,6 +474,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -437,6 +491,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -451,6 +508,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -464,6 +524,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -479,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -493,6 +559,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -506,6 +575,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -521,6 +593,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -534,6 +609,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -547,6 +625,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -560,6 +641,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -576,6 +660,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -591,6 +678,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/researchsubject.py b/spark_fhir_schemas/r4/resources/researchsubject.py index 36257a3b..d252f5a8 100644 --- a/spark_fhir_schemas/r4/resources/researchsubject.py +++ b/spark_fhir_schemas/r4/resources/researchsubject.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A physical entity which is the primary unit of operational and/or @@ -109,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -200,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -214,6 +238,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -229,6 +256,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -241,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +307,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/riskassessment.py b/spark_fhir_schemas/r4/resources/riskassessment.py index 5beef3f4..ae65ce8a 100644 --- a/spark_fhir_schemas/r4/resources/riskassessment.py +++ b/spark_fhir_schemas/r4/resources/riskassessment.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An assessment of the likely outcome(s) for a patient or other subject as well @@ -145,6 +148,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +165,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -174,6 +183,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +218,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -218,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -236,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -263,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -300,6 +336,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -312,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -336,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +414,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -375,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -388,6 +445,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -402,6 +462,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -417,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -431,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -448,6 +517,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py index e516332e..d624dc41 100644 --- a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a @@ -226,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -240,6 +246,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -267,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -284,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -299,6 +317,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -317,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +360,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -351,6 +378,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -383,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -400,6 +433,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -414,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -427,6 +466,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -445,6 +487,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -460,6 +505,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -475,6 +523,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -494,6 +545,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -509,6 +563,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -524,6 +581,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -539,6 +599,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -554,6 +617,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -569,6 +635,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -584,6 +653,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -597,6 +669,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -609,6 +684,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -622,6 +700,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -635,6 +716,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -648,6 +732,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -660,6 +747,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -672,6 +762,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -685,6 +778,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/schedule.py b/spark_fhir_schemas/r4/resources/schedule.py index ad00995e..82a15651 100644 --- a/spark_fhir_schemas/r4/resources/schedule.py +++ b/spark_fhir_schemas/r4/resources/schedule.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A container for slots of time that may be available for booking appointments. @@ -124,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +144,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -153,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +197,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -197,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -215,6 +236,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -229,6 +253,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -247,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -261,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -276,6 +309,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -308,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/searchparameter.py b/spark_fhir_schemas/r4/resources/searchparameter.py index 688e109b..21576050 100644 --- a/spark_fhir_schemas/r4/resources/searchparameter.py +++ b/spark_fhir_schemas/r4/resources/searchparameter.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A search parameter that defines a named search item that can be used to @@ -201,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -230,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -259,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -274,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -292,6 +313,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -311,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -338,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -360,6 +390,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -377,6 +410,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -390,6 +426,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -407,6 +446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -422,6 +464,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -436,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -449,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -462,6 +513,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -486,6 +540,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -515,6 +572,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/servicerequest.py b/spark_fhir_schemas/r4/resources/servicerequest.py index ced9122a..cb8a7908 100644 --- a/spark_fhir_schemas/r4/resources/servicerequest.py +++ b/spark_fhir_schemas/r4/resources/servicerequest.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a request for service such as diagnostic investigations, @@ -228,6 +231,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -257,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +319,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -319,6 +340,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -334,6 +358,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -349,6 +376,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -365,6 +395,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -379,6 +412,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -394,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +448,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -421,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -433,6 +478,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -447,6 +495,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -461,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -477,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -493,6 +550,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -508,6 +568,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -522,6 +585,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -536,6 +602,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -551,6 +620,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -564,6 +636,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -578,6 +653,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -590,6 +668,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -606,6 +687,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -618,6 +702,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -631,6 +718,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -643,6 +733,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -657,6 +750,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -672,6 +768,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -687,6 +786,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -703,6 +805,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -719,6 +824,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -734,6 +842,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -754,6 +865,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -768,6 +882,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -783,6 +900,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -798,6 +918,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -814,6 +937,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/slot.py b/spark_fhir_schemas/r4/resources/slot.py index a54a54a5..11722e12 100644 --- a/spark_fhir_schemas/r4/resources/slot.py +++ b/spark_fhir_schemas/r4/resources/slot.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A slot of time on a schedule that may be available for booking appointments. @@ -129,6 +132,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -143,6 +149,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +167,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -170,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -187,6 +202,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -202,6 +220,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -220,6 +241,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -234,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -249,6 +276,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -266,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -295,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -308,6 +347,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -322,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -334,6 +379,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/specimen.py b/spark_fhir_schemas/r4/resources/specimen.py index 3812fee2..0c1008d6 100644 --- a/spark_fhir_schemas/r4/resources/specimen.py +++ b/spark_fhir_schemas/r4/resources/specimen.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A sample to be used for analysis. @@ -135,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -149,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -164,6 +173,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +188,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -208,6 +226,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -226,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -240,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -255,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -295,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -309,6 +348,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -323,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -336,6 +381,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -349,6 +397,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -364,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -378,6 +432,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -393,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/specimendefinition.py b/spark_fhir_schemas/r4/resources/specimendefinition.py index 1717986c..6e30101b 100644 --- a/spark_fhir_schemas/r4/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4/resources/specimendefinition.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A kind of specimen with associated set of requirements. @@ -105,6 +108,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -119,6 +125,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -134,6 +143,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +158,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -163,6 +178,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -178,6 +196,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -196,6 +217,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -221,6 +248,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -234,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -250,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -264,6 +300,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/structuredefinition.py b/spark_fhir_schemas/r4/resources/structuredefinition.py index 5c444da9..42a589c6 100644 --- a/spark_fhir_schemas/r4/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4/resources/structuredefinition.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A definition of a FHIR structure. This resource is used to describe the @@ -225,6 +228,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -266,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -298,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -316,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -335,6 +359,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -350,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -386,6 +416,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -403,6 +436,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -417,6 +453,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -434,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -449,6 +491,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -463,6 +508,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -477,6 +525,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -492,6 +543,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -510,6 +564,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -531,6 +588,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -554,6 +614,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -567,6 +630,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -582,6 +648,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -595,6 +664,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/structuremap.py b/spark_fhir_schemas/r4/resources/structuremap.py index c5b56130..89e73dad 100644 --- a/spark_fhir_schemas/r4/resources/structuremap.py +++ b/spark_fhir_schemas/r4/resources/structuremap.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A Map of relationships between 2 structures that can be used to transform @@ -181,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -291,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -342,6 +372,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -358,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -372,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -389,6 +428,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -404,6 +446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -418,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -432,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -446,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -460,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -475,6 +532,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/subscription.py b/spark_fhir_schemas/r4/resources/subscription.py index 3c5b63ea..fd38a077 100644 --- a/spark_fhir_schemas/r4/resources/subscription.py +++ b/spark_fhir_schemas/r4/resources/subscription.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The subscription resource is used to define a push-based subscription from a @@ -118,6 +121,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -132,6 +138,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -147,6 +156,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -159,6 +171,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -176,6 +191,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -191,6 +209,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -209,6 +230,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -227,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -240,6 +267,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -261,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/substance.py b/spark_fhir_schemas/r4/resources/substance.py index 8206d822..cdb90c2e 100644 --- a/spark_fhir_schemas/r4/resources/substance.py +++ b/spark_fhir_schemas/r4/resources/substance.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A homogeneous material with a definite composition. @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -235,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -248,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -265,6 +298,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +315,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substancenucleicacid.py b/spark_fhir_schemas/r4/resources/substancenucleicacid.py index 0673d77b..2efffb18 100644 --- a/spark_fhir_schemas/r4/resources/substancenucleicacid.py +++ b/spark_fhir_schemas/r4/resources/substancenucleicacid.py @@ -21,6 +21,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Nucleic acids are defined by three distinct elements: the base, sugar and @@ -117,6 +120,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -131,6 +137,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -158,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -175,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +208,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -208,6 +229,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -221,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +263,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -253,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -268,6 +301,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substancepolymer.py b/spark_fhir_schemas/r4/resources/substancepolymer.py index adf9f40c..f0d1991b 100644 --- a/spark_fhir_schemas/r4/resources/substancepolymer.py +++ b/spark_fhir_schemas/r4/resources/substancepolymer.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -107,6 +110,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -121,6 +127,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -136,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -148,6 +160,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -165,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -180,6 +198,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -198,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -211,6 +235,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -223,6 +250,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -236,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +285,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -266,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substanceprotein.py b/spark_fhir_schemas/r4/resources/substanceprotein.py index 9d4f06c2..a5b1ccf5 100644 --- a/spark_fhir_schemas/r4/resources/substanceprotein.py +++ b/spark_fhir_schemas/r4/resources/substanceprotein.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A SubstanceProtein is defined as a single unit of a linear amino acid @@ -131,6 +134,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -145,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -160,6 +169,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -172,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -189,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -204,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -222,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -237,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -251,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -278,6 +308,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py index 94a995cd..d5e405a9 100644 --- a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py +++ b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Todo. @@ -109,6 +112,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -123,6 +129,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -138,6 +147,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -150,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -167,6 +182,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -182,6 +200,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -200,6 +221,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -216,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -230,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -244,6 +274,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +291,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substancesourcematerial.py b/spark_fhir_schemas/r4/resources/substancesourcematerial.py index 64143665..fb7bb639 100644 --- a/spark_fhir_schemas/r4/resources/substancesourcematerial.py +++ b/spark_fhir_schemas/r4/resources/substancesourcematerial.py @@ -31,6 +31,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Source material shall capture information on the taxonomic and anatomical @@ -174,6 +177,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -188,6 +194,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -203,6 +212,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -232,6 +247,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -247,6 +265,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -265,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -279,6 +303,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -305,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -318,6 +351,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -335,6 +371,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -355,6 +394,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -373,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +438,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -409,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -422,6 +473,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/substancespecification.py b/spark_fhir_schemas/r4/resources/substancespecification.py index 31d4e7d7..19265007 100644 --- a/spark_fhir_schemas/r4/resources/substancespecification.py +++ b/spark_fhir_schemas/r4/resources/substancespecification.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ The detailed description of a substance, typically at a level beyond what is @@ -154,6 +157,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -168,6 +174,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -183,6 +192,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -212,6 +227,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +245,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -245,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -258,6 +282,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -270,6 +297,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -282,6 +312,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -309,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -325,6 +364,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -340,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -353,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -365,6 +413,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -378,6 +429,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -392,6 +446,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -407,6 +464,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -421,6 +481,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -434,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -446,6 +512,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -458,6 +527,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -470,6 +542,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/supplydelivery.py b/spark_fhir_schemas/r4/resources/supplydelivery.py index ad2aaf2a..3e84ae59 100644 --- a/spark_fhir_schemas/r4/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4/resources/supplydelivery.py @@ -25,6 +25,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Record of delivery of what is supplied. @@ -132,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -238,6 +262,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -252,6 +279,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -266,6 +296,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -281,6 +314,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -294,6 +330,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -306,6 +345,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -320,6 +362,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -344,6 +392,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -357,6 +408,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -370,6 +424,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/supplyrequest.py b/spark_fhir_schemas/r4/resources/supplyrequest.py index d011ab03..3a73394b 100644 --- a/spark_fhir_schemas/r4/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4/resources/supplyrequest.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A record of a request for a medication, substance or device used in the @@ -152,6 +155,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -166,6 +172,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -181,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -193,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -225,6 +243,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -243,6 +264,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -259,6 +283,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -275,6 +302,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +318,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -302,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -316,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -328,6 +367,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -342,6 +384,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -357,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -369,6 +417,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +432,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +447,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -406,6 +463,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -420,6 +480,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -434,6 +497,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -447,6 +513,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -459,6 +528,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/task.py b/spark_fhir_schemas/r4/resources/task.py index edbd2dc8..ea214803 100644 --- a/spark_fhir_schemas/r4/resources/task.py +++ b/spark_fhir_schemas/r4/resources/task.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A task to be performed. @@ -181,6 +184,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -195,6 +201,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -210,6 +219,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -222,6 +234,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -239,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -272,6 +293,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -286,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -300,6 +327,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -313,6 +343,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -332,6 +365,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -346,6 +382,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -359,6 +398,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -374,6 +416,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -386,6 +431,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -402,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +465,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -428,6 +482,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -441,6 +498,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -454,6 +514,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -468,6 +531,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -480,6 +546,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -492,6 +561,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -504,6 +576,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -517,6 +592,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -530,6 +608,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -542,6 +623,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -554,6 +638,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -566,6 +653,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -580,6 +670,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -594,6 +687,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -610,6 +706,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -625,6 +724,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -638,6 +740,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -652,6 +757,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/terminologycapabilities.py b/spark_fhir_schemas/r4/resources/terminologycapabilities.py index 32439000..0a7d5e57 100644 --- a/spark_fhir_schemas/r4/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4/resources/terminologycapabilities.py @@ -27,6 +27,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A TerminologyCapabilities resource documents a set of capabilities (behaviors) @@ -219,6 +222,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -233,6 +239,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -248,6 +257,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +272,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -277,6 +292,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -292,6 +310,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -310,6 +331,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -329,6 +353,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -364,6 +391,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -381,6 +411,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -397,6 +430,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -414,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -429,6 +468,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -443,6 +485,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -457,6 +502,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -471,6 +519,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -485,6 +536,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -499,6 +553,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -516,6 +573,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -530,6 +590,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -546,6 +609,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -559,6 +625,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -571,6 +640,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/testreport.py b/spark_fhir_schemas/r4/resources/testreport.py index 9afda487..cf9c4610 100644 --- a/spark_fhir_schemas/r4/resources/testreport.py +++ b/spark_fhir_schemas/r4/resources/testreport.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A summary of information based on the results of executing a TestScript. @@ -132,6 +135,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -146,6 +152,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -161,6 +170,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -173,6 +185,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -190,6 +205,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -205,6 +223,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -223,6 +244,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -237,6 +261,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +281,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -283,6 +316,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -297,6 +333,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -311,6 +350,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -324,6 +366,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -338,6 +383,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/testscript.py b/spark_fhir_schemas/r4/resources/testscript.py index cfbb076f..a4931e22 100644 --- a/spark_fhir_schemas/r4/resources/testscript.py +++ b/spark_fhir_schemas/r4/resources/testscript.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A structured set of tests against a FHIR server or client implementation to @@ -213,6 +216,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -227,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -242,6 +251,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -254,6 +266,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -271,6 +286,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -286,6 +304,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -304,6 +325,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -322,6 +346,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -336,6 +363,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -371,6 +401,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -387,6 +420,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -401,6 +437,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -418,6 +457,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -432,6 +474,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -446,6 +491,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -460,6 +508,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -474,6 +525,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -489,6 +543,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -503,6 +560,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -517,6 +577,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -531,6 +594,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -546,6 +612,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -559,6 +628,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -572,6 +644,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -586,6 +661,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/valueset.py b/spark_fhir_schemas/r4/resources/valueset.py index 13699ad7..9fc61b75 100644 --- a/spark_fhir_schemas/r4/resources/valueset.py +++ b/spark_fhir_schemas/r4/resources/valueset.py @@ -28,6 +28,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A ValueSet resource instance specifies a set of codes drawn from one or more @@ -187,6 +190,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -201,6 +207,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -216,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -228,6 +240,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -245,6 +260,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -260,6 +278,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -278,6 +299,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -296,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -311,6 +338,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -347,6 +377,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -363,6 +396,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -379,6 +415,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -396,6 +435,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -410,6 +452,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -427,6 +472,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -441,6 +489,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -455,6 +506,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -469,6 +523,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), diff --git a/spark_fhir_schemas/r4/resources/verificationresult.py b/spark_fhir_schemas/r4/resources/verificationresult.py index 63de2e81..6b91f0d0 100644 --- a/spark_fhir_schemas/r4/resources/verificationresult.py +++ b/spark_fhir_schemas/r4/resources/verificationresult.py @@ -26,6 +26,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Describes validation requirements, source(s), status and dates for one or more @@ -142,6 +145,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -156,6 +162,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +180,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -183,6 +195,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -200,6 +215,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -215,6 +233,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -233,6 +254,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -247,6 +271,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -263,6 +290,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -276,6 +306,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -288,6 +321,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -301,6 +337,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -315,6 +354,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -328,6 +370,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -340,6 +385,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -354,6 +402,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -367,6 +418,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -380,6 +434,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -393,6 +450,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/resources/visionprescription.py b/spark_fhir_schemas/r4/resources/visionprescription.py index 03e6c550..b7bd867b 100644 --- a/spark_fhir_schemas/r4/resources/visionprescription.py +++ b/spark_fhir_schemas/r4/resources/visionprescription.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An authorization for the provision of glasses and/or contact lenses to a @@ -113,6 +116,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -127,6 +133,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -142,6 +151,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -154,6 +166,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -171,6 +186,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -186,6 +204,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -204,6 +225,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -218,6 +242,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, @@ -231,6 +258,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -243,6 +273,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -255,6 +288,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -269,6 +305,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -281,6 +320,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -293,6 +335,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ), True, ), @@ -307,6 +352,9 @@ def get_schema( nesting_list=my_nesting_list, max_recursion_limit=max_recursion_limit, include_extension=include_extension, + extension_fields=extension_fields, + extension_depth=extension_depth + 1, + max_extension_depth=max_extension_depth, ) ), True, diff --git a/spark_fhir_schemas/r4/simple_types/base64binary.py b/spark_fhir_schemas/r4/simple_types/base64binary.py index 4cc32fd9..b77aedab 100644 --- a/spark_fhir_schemas/r4/simple_types/base64binary.py +++ b/spark_fhir_schemas/r4/simple_types/base64binary.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A stream of bytes diff --git a/spark_fhir_schemas/r4/simple_types/boolean.py b/spark_fhir_schemas/r4/simple_types/boolean.py index 3e160243..5b9351b3 100644 --- a/spark_fhir_schemas/r4/simple_types/boolean.py +++ b/spark_fhir_schemas/r4/simple_types/boolean.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Value of "true" or "false" diff --git a/spark_fhir_schemas/r4/simple_types/canonical.py b/spark_fhir_schemas/r4/simple_types/canonical.py index f4fbc797..e2410f5b 100644 --- a/spark_fhir_schemas/r4/simple_types/canonical.py +++ b/spark_fhir_schemas/r4/simple_types/canonical.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A URI that is a reference to a canonical URL on a FHIR resource diff --git a/spark_fhir_schemas/r4/simple_types/code.py b/spark_fhir_schemas/r4/simple_types/code.py index 12d5bf9a..5dcee280 100644 --- a/spark_fhir_schemas/r4/simple_types/code.py +++ b/spark_fhir_schemas/r4/simple_types/code.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A string which has at least one character and no leading or trailing diff --git a/spark_fhir_schemas/r4/simple_types/date.py b/spark_fhir_schemas/r4/simple_types/date.py index 739153fa..19500e74 100644 --- a/spark_fhir_schemas/r4/simple_types/date.py +++ b/spark_fhir_schemas/r4/simple_types/date.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A date or partial date (e.g. just year or year + month). There is no time diff --git a/spark_fhir_schemas/r4/simple_types/datetime.py b/spark_fhir_schemas/r4/simple_types/datetime.py index 21e16192..19058c5d 100644 --- a/spark_fhir_schemas/r4/simple_types/datetime.py +++ b/spark_fhir_schemas/r4/simple_types/datetime.py @@ -22,6 +22,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A date, date-time or partial date (e.g. just year or year + month). If hours diff --git a/spark_fhir_schemas/r4/simple_types/decimal.py b/spark_fhir_schemas/r4/simple_types/decimal.py index 0e4f897e..fdbd592d 100644 --- a/spark_fhir_schemas/r4/simple_types/decimal.py +++ b/spark_fhir_schemas/r4/simple_types/decimal.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A rational number with implicit precision diff --git a/spark_fhir_schemas/r4/simple_types/id.py b/spark_fhir_schemas/r4/simple_types/id.py index bd9d85bc..4544a8b4 100644 --- a/spark_fhir_schemas/r4/simple_types/id.py +++ b/spark_fhir_schemas/r4/simple_types/id.py @@ -20,6 +20,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ Any combination of letters, numerals, "-" and ".", with a length limit of 64 diff --git a/spark_fhir_schemas/r4/simple_types/instant.py b/spark_fhir_schemas/r4/simple_types/instant.py index b082e3a6..47e6b8de 100644 --- a/spark_fhir_schemas/r4/simple_types/instant.py +++ b/spark_fhir_schemas/r4/simple_types/instant.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An instant in time - known at least to the second diff --git a/spark_fhir_schemas/r4/simple_types/integer.py b/spark_fhir_schemas/r4/simple_types/integer.py index 03ee50c7..b7b5fd71 100644 --- a/spark_fhir_schemas/r4/simple_types/integer.py +++ b/spark_fhir_schemas/r4/simple_types/integer.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A whole number diff --git a/spark_fhir_schemas/r4/simple_types/markdown.py b/spark_fhir_schemas/r4/simple_types/markdown.py index 1a77101c..bfc16429 100644 --- a/spark_fhir_schemas/r4/simple_types/markdown.py +++ b/spark_fhir_schemas/r4/simple_types/markdown.py @@ -19,6 +19,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A string that may contain Github Flavored Markdown syntax for optional diff --git a/spark_fhir_schemas/r4/simple_types/oid.py b/spark_fhir_schemas/r4/simple_types/oid.py index 2a56db1a..c048d1f0 100644 --- a/spark_fhir_schemas/r4/simple_types/oid.py +++ b/spark_fhir_schemas/r4/simple_types/oid.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An OID represented as a URI diff --git a/spark_fhir_schemas/r4/simple_types/positiveint.py b/spark_fhir_schemas/r4/simple_types/positiveint.py index 365e02de..1a96b355 100644 --- a/spark_fhir_schemas/r4/simple_types/positiveint.py +++ b/spark_fhir_schemas/r4/simple_types/positiveint.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An integer with a value that is positive (e.g. >0) diff --git a/spark_fhir_schemas/r4/simple_types/string.py b/spark_fhir_schemas/r4/simple_types/string.py index 56651ba4..2ad2b5fb 100644 --- a/spark_fhir_schemas/r4/simple_types/string.py +++ b/spark_fhir_schemas/r4/simple_types/string.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A sequence of Unicode characters diff --git a/spark_fhir_schemas/r4/simple_types/time.py b/spark_fhir_schemas/r4/simple_types/time.py index 8cbbe14f..fd3d16c2 100644 --- a/spark_fhir_schemas/r4/simple_types/time.py +++ b/spark_fhir_schemas/r4/simple_types/time.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A time during the day, with no date specified diff --git a/spark_fhir_schemas/r4/simple_types/unsignedint.py b/spark_fhir_schemas/r4/simple_types/unsignedint.py index 354d4ffa..a9aa0a07 100644 --- a/spark_fhir_schemas/r4/simple_types/unsignedint.py +++ b/spark_fhir_schemas/r4/simple_types/unsignedint.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ An integer with a value that is not negative (e.g. >= 0) diff --git a/spark_fhir_schemas/r4/simple_types/uri.py b/spark_fhir_schemas/r4/simple_types/uri.py index 3da288e6..17adde11 100644 --- a/spark_fhir_schemas/r4/simple_types/uri.py +++ b/spark_fhir_schemas/r4/simple_types/uri.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ String of characters used to identify a name or a resource diff --git a/spark_fhir_schemas/r4/simple_types/url.py b/spark_fhir_schemas/r4/simple_types/url.py index 6dd154b7..e29a9aeb 100644 --- a/spark_fhir_schemas/r4/simple_types/url.py +++ b/spark_fhir_schemas/r4/simple_types/url.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A URI that is a literal reference diff --git a/spark_fhir_schemas/r4/simple_types/uuid.py b/spark_fhir_schemas/r4/simple_types/uuid.py index d43bd23c..379810a4 100644 --- a/spark_fhir_schemas/r4/simple_types/uuid.py +++ b/spark_fhir_schemas/r4/simple_types/uuid.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ A UUID, represented as a URI diff --git a/spark_fhir_schemas/r4/simple_types/xhtml.py b/spark_fhir_schemas/r4/simple_types/xhtml.py index 3b258a06..054366d5 100644 --- a/spark_fhir_schemas/r4/simple_types/xhtml.py +++ b/spark_fhir_schemas/r4/simple_types/xhtml.py @@ -18,6 +18,9 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, + extension_fields: Optional[List[str]] = None, + extension_depth: int = 0, + max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: """ xhtml - escaped html (see specfication) diff --git a/spark_fhir_schemas/r4/template.jinja2 b/spark_fhir_schemas/r4/template.jinja2 index c802bfd6..cd4d311d 100644 --- a/spark_fhir_schemas/r4/template.jinja2 +++ b/spark_fhir_schemas/r4/template.jinja2 @@ -14,7 +14,7 @@ class {{resource.Name}}Schema: """ # noinspection PyDefaultArgument @staticmethod - def get_schema(max_nesting_depth: Optional[int] = 6, nesting_depth: int = 0, nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False) -> Union[StructType, DataType]: + def get_schema(max_nesting_depth: Optional[int] = 6, nesting_depth: int = 0, nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, extension_fields: Optional[List[str]] = None, extension_depth: int = 0, max_extension_depth: Optional[int] = 2) -> Union[StructType, DataType]: """ {% if resource.Description %} {{ resource.Description | wordwrap(78) | replace('\n', '\n ') }} @@ -66,6 +66,10 @@ class {{resource.Name}}Schema: if (max_recursion_limit and nesting_list.count("{{resource.Name}}") >= max_recursion_limit) or (max_nesting_depth and nesting_depth >= max_nesting_depth): {# print("reached nesting_depth for {{resource.Name}}")#} return StructType([StructField("id", StringType(), True)]) + {% if resource.Name == "Extension" %} + if max_extension_depth and extension_depth >= max_extension_depth: + return StructType([StructField("id", StringType(), True)]) + {% endif %} {% if not properties or properties | length == 0 %} # Return at least one field in the struct or Spark throws an error # "Datasource does not support writing empty or nested empty schemas" @@ -83,7 +87,7 @@ class {{resource.Name}}Schema: {% elif property.Type == "array" %} {% if property.UnderlyingDataType and property.UnderlyingDataType not in ["string","boolean","date","number"] %} - StructField("{{property.Name}}",ArrayType({{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension)), True), + StructField("{{property.Name}}",ArrayType({{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension,extension_fields=extension_fields, extension_depth=extension_depth+1, max_extension_depth=max_extension_depth)), True), {% elif property.Type == "date" or property.UnderlyingDataType == "date" %} StructField("{{property.Name}}",ArrayType(DateType()), True), {% elif (property.Type == "number" or property.UnderlyingDataType == "number") and ("Decimal" in property.Name) %} @@ -112,13 +116,22 @@ class {{resource.Name}}Schema: {% elif property.Type == "number" or property.UnderlyingDataType == "number" %} StructField("{{property.Name}}", IntegerType(), True), {% else %} - StructField("{{property.Name}}", {{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension), True), + StructField("{{property.Name}}", {{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension,extension_fields=extension_fields, extension_depth=extension_depth+1, max_extension_depth=max_extension_depth), True), {% endif%} {% endfor%} ] ) if not include_extension: schema.fields = [c if c.name != "extension" else StructField("extension", StringType(), True) for c in schema.fields] + + {% if resource.Name == "Extension" %} + if extension_fields: + schema.fields = [ + c + for c in schema.fields + if c.name in extension_fields or c.name in ["id", "extension"] + ] + {% endif %} return schema {% endif %} {% endif %} From 8ba9a2d929d737e708e30396f3365b957188811b Mon Sep 17 00:00:00 2001 From: imranq2 Date: Wed, 16 Jun 2021 15:50:40 -0700 Subject: [PATCH 2/4] allow passing in extension_fields --- .../r4/complex_types/account_coverage.py | 3 +- .../r4/complex_types/account_guarantor.py | 3 +- .../activitydefinition_dynamicvalue.py | 3 +- .../activitydefinition_participant.py | 3 +- .../r4/complex_types/address.py | 3 +- .../complex_types/adverseevent_causality.py | 3 +- .../adverseevent_suspectentity.py | 5 ++- spark_fhir_schemas/r4/complex_types/age.py | 3 +- .../allergyintolerance_reaction.py | 7 ++-- .../r4/complex_types/annotation.py | 3 +- .../complex_types/appointment_participant.py | 5 ++- .../r4/complex_types/attachment.py | 3 +- .../r4/complex_types/auditevent_agent.py | 9 ++-- .../r4/complex_types/auditevent_detail.py | 3 +- .../r4/complex_types/auditevent_entity.py | 7 ++-- .../r4/complex_types/auditevent_network.py | 3 +- .../r4/complex_types/auditevent_source.py | 5 ++- .../biologicallyderivedproduct_collection.py | 3 +- ...biologicallyderivedproduct_manipulation.py | 3 +- .../biologicallyderivedproduct_processing.py | 3 +- .../biologicallyderivedproduct_storage.py | 3 +- .../r4/complex_types/bundle_entry.py | 5 ++- .../r4/complex_types/bundle_link.py | 3 +- .../r4/complex_types/bundle_request.py | 3 +- .../r4/complex_types/bundle_response.py | 3 +- .../r4/complex_types/bundle_search.py | 3 +- .../capabilitystatement_document.py | 3 +- .../capabilitystatement_endpoint.py | 3 +- .../capabilitystatement_implementation.py | 3 +- .../capabilitystatement_interaction.py | 3 +- .../capabilitystatement_interaction1.py | 3 +- .../capabilitystatement_messaging.py | 7 ++-- .../capabilitystatement_operation.py | 3 +- .../capabilitystatement_resource.py | 11 ++--- .../complex_types/capabilitystatement_rest.py | 13 +++--- .../capabilitystatement_searchparam.py | 3 +- .../capabilitystatement_security.py | 5 ++- .../capabilitystatement_software.py | 3 +- .../capabilitystatement_supportedmessage.py | 3 +- .../r4/complex_types/careplan_activity.py | 9 ++-- .../r4/complex_types/careplan_detail.py | 15 +++---- .../r4/complex_types/careteam_participant.py | 5 ++- .../catalogentry_relatedentry.py | 3 +- .../r4/complex_types/chargeitem_performer.py | 3 +- .../chargeitemdefinition_applicability.py | 3 +- .../chargeitemdefinition_pricecomponent.py | 3 +- .../chargeitemdefinition_propertygroup.py | 7 ++-- .../r4/complex_types/claim_accident.py | 3 +- .../r4/complex_types/claim_careteam.py | 3 +- .../r4/complex_types/claim_detail.py | 11 ++--- .../r4/complex_types/claim_diagnosis.py | 5 ++- .../r4/complex_types/claim_insurance.py | 3 +- .../r4/complex_types/claim_item.py | 23 ++++++----- .../r4/complex_types/claim_payee.py | 3 +- .../r4/complex_types/claim_procedure.py | 7 ++-- .../r4/complex_types/claim_related.py | 3 +- .../r4/complex_types/claim_subdetail.py | 9 ++-- .../r4/complex_types/claim_supportinginfo.py | 3 +- .../r4/complex_types/claimresponse_additem.py | 23 ++++++----- .../claimresponse_adjudication.py | 3 +- .../r4/complex_types/claimresponse_detail.py | 9 ++-- .../r4/complex_types/claimresponse_detail1.py | 11 ++--- .../r4/complex_types/claimresponse_error.py | 3 +- .../complex_types/claimresponse_insurance.py | 3 +- .../r4/complex_types/claimresponse_item.py | 9 ++-- .../r4/complex_types/claimresponse_payment.py | 3 +- .../claimresponse_processnote.py | 3 +- .../complex_types/claimresponse_subdetail.py | 7 ++-- .../complex_types/claimresponse_subdetail1.py | 9 ++-- .../r4/complex_types/claimresponse_total.py | 3 +- .../clinicalimpression_finding.py | 3 +- .../clinicalimpression_investigation.py | 5 ++- .../r4/complex_types/codeableconcept.py | 5 ++- .../r4/complex_types/codesystem_concept.py | 9 ++-- .../complex_types/codesystem_designation.py | 3 +- .../r4/complex_types/codesystem_filter.py | 5 ++- .../r4/complex_types/codesystem_property.py | 3 +- .../r4/complex_types/codesystem_property1.py | 3 +- spark_fhir_schemas/r4/complex_types/coding.py | 3 +- .../r4/complex_types/communication_payload.py | 3 +- .../communicationrequest_payload.py | 3 +- .../compartmentdefinition_resource.py | 3 +- .../r4/complex_types/composition_attester.py | 3 +- .../r4/complex_types/composition_event.py | 7 ++-- .../r4/complex_types/composition_relatesto.py | 3 +- .../r4/complex_types/composition_section.py | 9 ++-- .../r4/complex_types/conceptmap_dependson.py | 3 +- .../r4/complex_types/conceptmap_element.py | 5 ++- .../r4/complex_types/conceptmap_group.py | 5 ++- .../r4/complex_types/conceptmap_target.py | 7 ++-- .../r4/complex_types/conceptmap_unmapped.py | 3 +- .../r4/complex_types/condition_evidence.py | 7 ++-- .../r4/complex_types/condition_stage.py | 5 ++- .../r4/complex_types/consent_actor.py | 3 +- .../r4/complex_types/consent_data.py | 3 +- .../r4/complex_types/consent_policy.py | 3 +- .../r4/complex_types/consent_provision.py | 19 +++++---- .../r4/complex_types/consent_verification.py | 3 +- .../r4/complex_types/contactdetail.py | 5 ++- .../r4/complex_types/contactpoint.py | 3 +- .../r4/complex_types/contract_action.py | 17 ++++---- .../r4/complex_types/contract_answer.py | 3 +- .../r4/complex_types/contract_asset.py | 23 ++++++----- .../contract_contentdefinition.py | 3 +- .../r4/complex_types/contract_context.py | 5 ++- .../r4/complex_types/contract_friendly.py | 3 +- .../r4/complex_types/contract_legal.py | 3 +- .../r4/complex_types/contract_offer.py | 13 +++--- .../r4/complex_types/contract_party.py | 5 ++- .../r4/complex_types/contract_rule.py | 3 +- .../complex_types/contract_securitylabel.py | 9 ++-- .../r4/complex_types/contract_signer.py | 5 ++- .../r4/complex_types/contract_subject.py | 5 ++- .../r4/complex_types/contract_term.py | 11 ++--- .../r4/complex_types/contract_valueditem.py | 5 ++- .../r4/complex_types/contributor.py | 5 ++- spark_fhir_schemas/r4/complex_types/count.py | 3 +- .../r4/complex_types/coverage_class.py | 3 +- .../coverage_costtobeneficiary.py | 5 ++- .../r4/complex_types/coverage_exception.py | 3 +- .../coverageeligibilityrequest_diagnosis.py | 3 +- .../coverageeligibilityrequest_insurance.py | 3 +- .../coverageeligibilityrequest_item.py | 11 ++--- ...verageeligibilityrequest_supportinginfo.py | 3 +- .../coverageeligibilityresponse_benefit.py | 3 +- .../coverageeligibilityresponse_error.py | 3 +- .../coverageeligibilityresponse_insurance.py | 5 ++- .../coverageeligibilityresponse_item.py | 9 ++-- .../r4/complex_types/datarequirement.py | 11 ++--- .../datarequirement_codefilter.py | 5 ++- .../datarequirement_datefilter.py | 3 +- .../r4/complex_types/datarequirement_sort.py | 3 +- .../complex_types/detectedissue_evidence.py | 7 ++-- .../complex_types/detectedissue_mitigation.py | 3 +- .../r4/complex_types/device_devicename.py | 3 +- .../r4/complex_types/device_property.py | 7 ++-- .../r4/complex_types/device_specialization.py | 3 +- .../r4/complex_types/device_udicarrier.py | 3 +- .../r4/complex_types/device_version.py | 3 +- .../devicedefinition_capability.py | 5 ++- .../devicedefinition_devicename.py | 3 +- .../devicedefinition_material.py | 3 +- .../devicedefinition_property.py | 7 ++-- .../devicedefinition_specialization.py | 3 +- .../devicedefinition_udideviceidentifier.py | 3 +- .../complex_types/devicemetric_calibration.py | 3 +- .../complex_types/devicerequest_parameter.py | 3 +- .../complex_types/diagnosticreport_media.py | 3 +- .../r4/complex_types/distance.py | 3 +- .../complex_types/documentmanifest_related.py | 3 +- .../documentreference_content.py | 3 +- .../documentreference_context.py | 9 ++-- .../documentreference_relatesto.py | 3 +- spark_fhir_schemas/r4/complex_types/dosage.py | 7 ++-- .../r4/complex_types/dosage_doseandrate.py | 3 +- .../r4/complex_types/duration.py | 3 +- .../effectevidencesynthesis_certainty.py | 9 ++-- ...evidencesynthesis_certaintysubcomponent.py | 7 ++-- .../effectevidencesynthesis_effectestimate.py | 5 ++- ...fectevidencesynthesis_precisionestimate.py | 3 +- ...fectevidencesynthesis_resultsbyexposure.py | 3 +- .../effectevidencesynthesis_samplesize.py | 3 +- .../r4/complex_types/element.py | 3 +- .../r4/complex_types/elementdefinition.py | 15 +++---- .../complex_types/elementdefinition_base.py | 3 +- .../elementdefinition_binding.py | 3 +- .../elementdefinition_constraint.py | 3 +- .../elementdefinition_discriminator.py | 3 +- .../elementdefinition_example.py | 3 +- .../elementdefinition_mapping.py | 3 +- .../elementdefinition_slicing.py | 5 ++- .../complex_types/elementdefinition_type.py | 7 ++-- .../complex_types/encounter_classhistory.py | 3 +- .../r4/complex_types/encounter_diagnosis.py | 3 +- .../encounter_hospitalization.py | 9 ++-- .../r4/complex_types/encounter_location.py | 3 +- .../r4/complex_types/encounter_participant.py | 5 ++- .../complex_types/encounter_statushistory.py | 3 +- .../complex_types/episodeofcare_diagnosis.py | 3 +- .../episodeofcare_statushistory.py | 3 +- .../evidencevariable_characteristic.py | 5 ++- .../r4/complex_types/examplescenario_actor.py | 3 +- .../examplescenario_alternative.py | 5 ++- .../examplescenario_containedinstance.py | 3 +- .../complex_types/examplescenario_instance.py | 7 ++-- .../examplescenario_operation.py | 3 +- .../complex_types/examplescenario_process.py | 5 ++- .../r4/complex_types/examplescenario_step.py | 7 ++-- .../complex_types/examplescenario_version.py | 3 +- .../explanationofbenefit_accident.py | 3 +- .../explanationofbenefit_additem.py | 23 ++++++----- .../explanationofbenefit_adjudication.py | 3 +- .../explanationofbenefit_benefitbalance.py | 5 ++- .../explanationofbenefit_careteam.py | 3 +- .../explanationofbenefit_detail.py | 15 +++---- .../explanationofbenefit_detail1.py | 11 ++--- .../explanationofbenefit_diagnosis.py | 5 ++- .../explanationofbenefit_financial.py | 3 +- .../explanationofbenefit_insurance.py | 3 +- .../explanationofbenefit_item.py | 27 ++++++------ .../explanationofbenefit_payee.py | 3 +- .../explanationofbenefit_payment.py | 3 +- .../explanationofbenefit_procedure.py | 7 ++-- .../explanationofbenefit_processnote.py | 3 +- .../explanationofbenefit_related.py | 3 +- .../explanationofbenefit_subdetail.py | 13 +++--- .../explanationofbenefit_subdetail1.py | 9 ++-- .../explanationofbenefit_supportinginfo.py | 3 +- .../explanationofbenefit_total.py | 3 +- .../r4/complex_types/expression.py | 3 +- .../r4/complex_types/extension.py | 11 ++--- .../familymemberhistory_condition.py | 5 ++- .../r4/complex_types/goal_target.py | 3 +- .../graphdefinition_compartment.py | 3 +- .../r4/complex_types/graphdefinition_link.py | 5 ++- .../complex_types/graphdefinition_target.py | 7 ++-- .../r4/complex_types/group_characteristic.py | 3 +- .../r4/complex_types/group_member.py | 3 +- .../healthcareservice_availabletime.py | 3 +- .../healthcareservice_eligibility.py | 3 +- .../healthcareservice_notavailable.py | 3 +- .../r4/complex_types/humanname.py | 3 +- .../r4/complex_types/identifier.py | 3 +- .../r4/complex_types/imagingstudy_instance.py | 3 +- .../complex_types/imagingstudy_performer.py | 3 +- .../r4/complex_types/imagingstudy_series.py | 11 ++--- .../complex_types/immunization_education.py | 3 +- .../complex_types/immunization_performer.py | 3 +- .../immunization_protocolapplied.py | 5 ++- .../r4/complex_types/immunization_reaction.py | 3 +- ...mmunizationrecommendation_datecriterion.py | 3 +- ...munizationrecommendation_recommendation.py | 15 +++---- .../implementationguide_definition.py | 11 ++--- .../implementationguide_dependson.py | 3 +- .../implementationguide_global.py | 3 +- .../implementationguide_grouping.py | 3 +- .../implementationguide_manifest.py | 7 ++-- .../complex_types/implementationguide_page.py | 5 ++- .../implementationguide_page1.py | 3 +- .../implementationguide_parameter.py | 3 +- .../implementationguide_resource.py | 3 +- .../implementationguide_resource1.py | 3 +- .../implementationguide_template.py | 3 +- .../r4/complex_types/insuranceplan_benefit.py | 5 ++- .../complex_types/insuranceplan_benefit1.py | 5 ++- .../r4/complex_types/insuranceplan_contact.py | 5 ++- .../r4/complex_types/insuranceplan_cost.py | 5 ++- .../complex_types/insuranceplan_coverage.py | 7 ++-- .../insuranceplan_generalcost.py | 3 +- .../r4/complex_types/insuranceplan_limit.py | 3 +- .../r4/complex_types/insuranceplan_plan.py | 13 +++--- .../insuranceplan_specificcost.py | 5 ++- .../r4/complex_types/invoice_lineitem.py | 5 ++- .../r4/complex_types/invoice_participant.py | 3 +- .../complex_types/invoice_pricecomponent.py | 3 +- .../r4/complex_types/linkage_item.py | 3 +- .../r4/complex_types/list_entry.py | 3 +- .../location_hoursofoperation.py | 5 ++- .../r4/complex_types/location_position.py | 3 +- .../r4/complex_types/marketingstatus.py | 3 +- .../r4/complex_types/measure_component.py | 3 +- .../r4/complex_types/measure_group.py | 7 ++-- .../r4/complex_types/measure_population.py | 3 +- .../r4/complex_types/measure_stratifier.py | 5 ++- .../complex_types/measure_supplementaldata.py | 5 ++- .../complex_types/measurereport_component.py | 3 +- .../r4/complex_types/measurereport_group.py | 7 ++-- .../complex_types/measurereport_population.py | 3 +- .../measurereport_population1.py | 3 +- .../complex_types/measurereport_stratifier.py | 7 ++-- .../r4/complex_types/measurereport_stratum.py | 7 ++-- .../r4/complex_types/medication_batch.py | 3 +- .../r4/complex_types/medication_ingredient.py | 3 +- .../medicationadministration_dosage.py | 3 +- .../medicationadministration_performer.py | 3 +- .../medicationdispense_performer.py | 3 +- .../medicationdispense_substitution.py | 7 ++-- ...ationknowledge_administrationguidelines.py | 7 ++-- .../complex_types/medicationknowledge_cost.py | 3 +- .../medicationknowledge_dosage.py | 5 ++- .../medicationknowledge_drugcharacteristic.py | 3 +- .../medicationknowledge_ingredient.py | 3 +- .../medicationknowledge_kinetics.py | 7 ++-- .../medicationknowledge_maxdispense.py | 3 +- ...icationknowledge_medicineclassification.py | 5 ++- .../medicationknowledge_monitoringprogram.py | 3 +- .../medicationknowledge_monograph.py | 3 +- .../medicationknowledge_packaging.py | 3 +- ...icationknowledge_patientcharacteristics.py | 3 +- .../medicationknowledge_regulatory.py | 7 ++-- ...ionknowledge_relatedmedicationknowledge.py | 5 ++- .../medicationknowledge_schedule.py | 3 +- .../medicationknowledge_substitution.py | 3 +- .../medicationrequest_dispenserequest.py | 3 +- .../medicationrequest_initialfill.py | 3 +- .../medicationrequest_substitution.py | 3 +- .../medicinalproduct_countrylanguage.py | 3 +- ...lproduct_manufacturingbusinessoperation.py | 5 ++- .../r4/complex_types/medicinalproduct_name.py | 7 ++-- .../medicinalproduct_namepart.py | 3 +- .../medicinalproduct_specialdesignation.py | 5 ++- ...thorization_jurisdictionalauthorization.py | 7 ++-- ...medicinalproductauthorization_procedure.py | 5 ++- ...nalproductcontraindication_othertherapy.py | 3 +- ...medicinalproductindication_othertherapy.py | 3 +- ...inalproductingredient_referencestrength.py | 5 ++- ...nalproductingredient_specifiedsubstance.py | 5 ++- .../medicinalproductingredient_strength.py | 7 ++-- .../medicinalproductingredient_substance.py | 5 ++- ...medicinalproductinteraction_interactant.py | 3 +- ...edicinalproductpackaged_batchidentifier.py | 3 +- .../medicinalproductpackaged_packageitem.py | 21 +++++----- ...alproductpharmaceutical_characteristics.py | 3 +- ...uctpharmaceutical_routeofadministration.py | 5 ++- ...inalproductpharmaceutical_targetspecies.py | 5 ++- ...lproductpharmaceutical_withdrawalperiod.py | 3 +- .../messagedefinition_allowedresponse.py | 3 +- .../complex_types/messagedefinition_focus.py | 3 +- .../messageheader_destination.py | 3 +- .../complex_types/messageheader_response.py | 3 +- .../r4/complex_types/messageheader_source.py | 3 +- spark_fhir_schemas/r4/complex_types/meta.py | 9 ++-- .../complex_types/molecularsequence_inner.py | 3 +- .../complex_types/molecularsequence_outer.py | 3 +- .../molecularsequence_quality.py | 3 +- .../molecularsequence_referenceseq.py | 3 +- .../molecularsequence_repository.py | 3 +- .../r4/complex_types/molecularsequence_roc.py | 17 ++++---- .../molecularsequence_structurevariant.py | 3 +- .../molecularsequence_variant.py | 3 +- spark_fhir_schemas/r4/complex_types/money.py | 3 +- .../r4/complex_types/namingsystem_uniqueid.py | 3 +- .../r4/complex_types/narrative.py | 3 +- .../nutritionorder_administration.py | 3 +- .../nutritionorder_enteralformula.py | 5 ++- .../complex_types/nutritionorder_nutrient.py | 3 +- .../complex_types/nutritionorder_oraldiet.py | 13 +++--- .../nutritionorder_supplement.py | 5 ++- .../complex_types/nutritionorder_texture.py | 3 +- .../r4/complex_types/observation_component.py | 7 ++-- .../observation_referencerange.py | 5 ++- ...observationdefinition_qualifiedinterval.py | 5 ++- ...servationdefinition_quantitativedetails.py | 3 +- .../operationdefinition_binding.py | 3 +- .../operationdefinition_overload.py | 3 +- .../operationdefinition_parameter.py | 9 ++-- .../operationdefinition_referencedfrom.py | 3 +- .../complex_types/operationoutcome_issue.py | 3 +- .../r4/complex_types/organization_contact.py | 5 ++- .../r4/complex_types/parameterdefinition.py | 3 +- .../r4/complex_types/parameters_parameter.py | 5 ++- .../r4/complex_types/patient_communication.py | 3 +- .../r4/complex_types/patient_contact.py | 7 ++-- .../r4/complex_types/patient_link.py | 3 +- .../paymentreconciliation_detail.py | 3 +- .../paymentreconciliation_processnote.py | 3 +- spark_fhir_schemas/r4/complex_types/period.py | 3 +- .../r4/complex_types/person_link.py | 3 +- .../r4/complex_types/plandefinition_action.py | 27 ++++++------ .../complex_types/plandefinition_condition.py | 3 +- .../plandefinition_dynamicvalue.py | 3 +- .../r4/complex_types/plandefinition_goal.py | 9 ++-- .../plandefinition_participant.py | 3 +- .../plandefinition_relatedaction.py | 3 +- .../r4/complex_types/plandefinition_target.py | 3 +- .../r4/complex_types/population.py | 3 +- .../practitioner_qualification.py | 5 ++- .../practitionerrole_availabletime.py | 5 ++- .../practitionerrole_notavailable.py | 3 +- .../r4/complex_types/procedure_focaldevice.py | 3 +- .../r4/complex_types/procedure_performer.py | 3 +- .../r4/complex_types/prodcharacteristic.py | 5 ++- .../r4/complex_types/productshelflife.py | 5 ++- .../r4/complex_types/provenance_agent.py | 5 ++- .../r4/complex_types/provenance_entity.py | 5 ++- .../r4/complex_types/quantity.py | 3 +- .../questionnaire_answeroption.py | 3 +- .../complex_types/questionnaire_enablewhen.py | 3 +- .../r4/complex_types/questionnaire_initial.py | 3 +- .../r4/complex_types/questionnaire_item.py | 13 +++--- .../questionnaireresponse_answer.py | 5 ++- .../questionnaireresponse_item.py | 7 ++-- spark_fhir_schemas/r4/complex_types/range.py | 3 +- spark_fhir_schemas/r4/complex_types/ratio.py | 3 +- .../r4/complex_types/reference.py | 3 +- .../r4/complex_types/relatedartifact.py | 3 +- .../relatedperson_communication.py | 3 +- .../r4/complex_types/requestgroup_action.py | 15 +++---- .../complex_types/requestgroup_condition.py | 3 +- .../requestgroup_relatedaction.py | 3 +- ...esearchelementdefinition_characteristic.py | 5 ++- .../r4/complex_types/researchstudy_arm.py | 3 +- .../complex_types/researchstudy_objective.py | 3 +- .../riskassessment_prediction.py | 3 +- .../riskevidencesynthesis_certainty.py | 9 ++-- ...evidencesynthesis_certaintysubcomponent.py | 7 ++-- ...riskevidencesynthesis_precisionestimate.py | 3 +- .../riskevidencesynthesis_riskestimate.py | 5 ++- .../riskevidencesynthesis_samplesize.py | 3 +- .../r4/complex_types/sampleddata.py | 3 +- .../searchparameter_component.py | 3 +- .../r4/complex_types/signature.py | 5 ++- .../r4/complex_types/specimen_collection.py | 3 +- .../r4/complex_types/specimen_container.py | 5 ++- .../r4/complex_types/specimen_processing.py | 5 ++- .../specimendefinition_additive.py | 3 +- .../specimendefinition_container.py | 5 ++- .../specimendefinition_handling.py | 3 +- .../specimendefinition_typetested.py | 7 ++-- .../structuredefinition_context.py | 3 +- .../structuredefinition_differential.py | 5 ++- .../structuredefinition_mapping.py | 3 +- .../structuredefinition_snapshot.py | 5 ++- .../complex_types/structuremap_dependent.py | 3 +- .../r4/complex_types/structuremap_group.py | 7 ++-- .../r4/complex_types/structuremap_input.py | 3 +- .../complex_types/structuremap_parameter.py | 3 +- .../r4/complex_types/structuremap_rule.py | 11 ++--- .../r4/complex_types/structuremap_source.py | 3 +- .../complex_types/structuremap_structure.py | 3 +- .../r4/complex_types/structuremap_target.py | 5 ++- .../r4/complex_types/subscription_channel.py | 3 +- .../r4/complex_types/substance_ingredient.py | 3 +- .../r4/complex_types/substance_instance.py | 3 +- .../r4/complex_types/substanceamount.py | 3 +- .../substanceamount_referencerange.py | 3 +- .../substancenucleicacid_linkage.py | 3 +- .../substancenucleicacid_subunit.py | 7 ++-- .../substancenucleicacid_sugar.py | 3 +- ...substancepolymer_degreeofpolymerisation.py | 3 +- .../substancepolymer_monomerset.py | 5 ++- .../complex_types/substancepolymer_repeat.py | 5 ++- .../substancepolymer_repeatunit.py | 7 ++-- .../substancepolymer_startingmaterial.py | 3 +- ...bstancepolymer_structuralrepresentation.py | 3 +- .../complex_types/substanceprotein_subunit.py | 3 +- ...ancereferenceinformation_classification.py | 7 ++-- .../substancereferenceinformation_gene.py | 5 ++- ...bstancereferenceinformation_geneelement.py | 5 ++- .../substancereferenceinformation_target.py | 5 ++- .../substancesourcematerial_author.py | 3 +- ...tancesourcematerial_fractiondescription.py | 3 +- .../substancesourcematerial_hybrid.py | 3 +- .../substancesourcematerial_organism.py | 5 ++- ...substancesourcematerial_organismgeneral.py | 3 +- ...substancesourcematerial_partdescription.py | 3 +- .../substancespecification_code.py | 5 ++- .../substancespecification_isotope.py | 3 +- .../substancespecification_moiety.py | 3 +- .../substancespecification_molecularweight.py | 3 +- .../substancespecification_name.py | 17 ++++---- .../substancespecification_official.py | 3 +- .../substancespecification_property.py | 3 +- .../substancespecification_relationship.py | 5 ++- .../substancespecification_representation.py | 3 +- .../substancespecification_structure.py | 9 ++-- .../supplydelivery_supplieditem.py | 3 +- .../complex_types/supplyrequest_parameter.py | 3 +- .../r4/complex_types/task_input.py | 3 +- .../r4/complex_types/task_output.py | 3 +- .../r4/complex_types/task_restriction.py | 5 ++- .../terminologycapabilities_closure.py | 3 +- .../terminologycapabilities_codesystem.py | 5 ++- .../terminologycapabilities_expansion.py | 5 ++- .../terminologycapabilities_filter.py | 5 ++- .../terminologycapabilities_implementation.py | 3 +- .../terminologycapabilities_parameter.py | 3 +- .../terminologycapabilities_software.py | 3 +- .../terminologycapabilities_translation.py | 3 +- .../terminologycapabilities_validatecode.py | 3 +- .../terminologycapabilities_version.py | 9 ++-- .../r4/complex_types/testreport_action.py | 3 +- .../r4/complex_types/testreport_action1.py | 3 +- .../r4/complex_types/testreport_action2.py | 3 +- .../r4/complex_types/testreport_assert.py | 3 +- .../r4/complex_types/testreport_operation.py | 3 +- .../complex_types/testreport_participant.py | 3 +- .../r4/complex_types/testreport_setup.py | 5 ++- .../r4/complex_types/testreport_teardown.py | 5 ++- .../r4/complex_types/testreport_test.py | 5 ++- .../r4/complex_types/testscript_action.py | 3 +- .../r4/complex_types/testscript_action1.py | 3 +- .../r4/complex_types/testscript_action2.py | 3 +- .../r4/complex_types/testscript_assert.py | 3 +- .../r4/complex_types/testscript_capability.py | 7 ++-- .../complex_types/testscript_destination.py | 3 +- .../r4/complex_types/testscript_fixture.py | 3 +- .../r4/complex_types/testscript_link.py | 3 +- .../r4/complex_types/testscript_metadata.py | 7 ++-- .../r4/complex_types/testscript_operation.py | 5 ++- .../r4/complex_types/testscript_origin.py | 3 +- .../complex_types/testscript_requestheader.py | 3 +- .../r4/complex_types/testscript_setup.py | 5 ++- .../r4/complex_types/testscript_teardown.py | 5 ++- .../r4/complex_types/testscript_test.py | 5 ++- .../r4/complex_types/testscript_variable.py | 3 +- spark_fhir_schemas/r4/complex_types/timing.py | 5 ++- .../r4/complex_types/timing_repeat.py | 7 ++-- .../r4/complex_types/triggerdefinition.py | 5 ++- .../r4/complex_types/usagecontext.py | 3 +- .../r4/complex_types/valueset_compose.py | 7 ++-- .../r4/complex_types/valueset_concept.py | 5 ++- .../r4/complex_types/valueset_contains.py | 7 ++-- .../r4/complex_types/valueset_designation.py | 3 +- .../r4/complex_types/valueset_expansion.py | 7 ++-- .../r4/complex_types/valueset_filter.py | 3 +- .../r4/complex_types/valueset_include.py | 9 ++-- .../r4/complex_types/valueset_parameter.py | 3 +- .../verificationresult_attestation.py | 3 +- .../verificationresult_primarysource.py | 9 ++-- .../verificationresult_validator.py | 3 +- .../visionprescription_lensspecification.py | 7 ++-- .../complex_types/visionprescription_prism.py | 3 +- spark_fhir_schemas/r4/resources/account.py | 13 +++--- .../r4/resources/activitydefinition.py | 41 ++++++++++--------- .../r4/resources/adverseevent.py | 19 +++++---- .../r4/resources/allergyintolerance.py | 11 ++--- .../r4/resources/appointment.py | 27 ++++++------ .../r4/resources/appointmentresponse.py | 9 ++-- spark_fhir_schemas/r4/resources/auditevent.py | 13 +++--- spark_fhir_schemas/r4/resources/basic.py | 7 ++-- spark_fhir_schemas/r4/resources/binary.py | 1 + .../resources/biologicallyderivedproduct.py | 15 +++---- .../r4/resources/bodystructure.py | 11 ++--- spark_fhir_schemas/r4/resources/bundle.py | 5 ++- .../r4/resources/capabilitystatement.py | 27 ++++++------ spark_fhir_schemas/r4/resources/careplan.py | 33 +++++++-------- spark_fhir_schemas/r4/resources/careteam.py | 21 +++++----- .../r4/resources/catalogentry.py | 17 ++++---- spark_fhir_schemas/r4/resources/chargeitem.py | 27 ++++++------ .../r4/resources/chargeitemdefinition.py | 25 +++++------ spark_fhir_schemas/r4/resources/claim.py | 21 +++++----- .../r4/resources/claimresponse.py | 23 ++++++----- .../r4/resources/clinicalimpression.py | 23 ++++++----- spark_fhir_schemas/r4/resources/codesystem.py | 19 +++++---- .../r4/resources/communication.py | 33 +++++++-------- .../r4/resources/communicationrequest.py | 27 ++++++------ .../r4/resources/compartmentdefinition.py | 11 ++--- .../r4/resources/composition.py | 17 ++++---- spark_fhir_schemas/r4/resources/conceptmap.py | 13 +++--- spark_fhir_schemas/r4/resources/condition.py | 17 ++++---- spark_fhir_schemas/r4/resources/consent.py | 17 ++++---- spark_fhir_schemas/r4/resources/contract.py | 31 +++++++------- spark_fhir_schemas/r4/resources/coverage.py | 15 +++---- .../resources/coverageeligibilityrequest.py | 13 +++--- .../resources/coverageeligibilityresponse.py | 11 ++--- .../r4/resources/detectedissue.py | 13 +++--- spark_fhir_schemas/r4/resources/device.py | 25 +++++------ .../r4/resources/devicedefinition.py | 29 ++++++------- .../r4/resources/devicemetric.py | 9 ++-- .../r4/resources/devicerequest.py | 29 ++++++------- .../r4/resources/deviceusestatement.py | 17 ++++---- .../r4/resources/diagnosticreport.py | 27 ++++++------ .../r4/resources/documentmanifest.py | 15 +++---- .../r4/resources/documentreference.py | 17 ++++---- .../r4/resources/effectevidencesynthesis.py | 33 +++++++-------- spark_fhir_schemas/r4/resources/encounter.py | 31 +++++++------- spark_fhir_schemas/r4/resources/endpoint.py | 13 +++--- .../r4/resources/enrollmentrequest.py | 7 ++-- .../r4/resources/enrollmentresponse.py | 7 ++-- .../r4/resources/episodeofcare.py | 19 +++++---- .../r4/resources/eventdefinition.py | 27 ++++++------ spark_fhir_schemas/r4/resources/evidence.py | 31 +++++++------- .../r4/resources/evidencevariable.py | 29 ++++++------- .../r4/resources/examplescenario.py | 21 +++++----- .../r4/resources/explanationofbenefit.py | 33 +++++++-------- .../r4/resources/familymemberhistory.py | 19 +++++---- spark_fhir_schemas/r4/resources/flag.py | 9 ++-- spark_fhir_schemas/r4/resources/goal.py | 19 +++++---- .../r4/resources/graphdefinition.py | 13 +++--- spark_fhir_schemas/r4/resources/group.py | 11 ++--- .../r4/resources/guidanceresponse.py | 17 ++++---- .../r4/resources/healthcareservice.py | 37 +++++++++-------- .../r4/resources/imagingstudy.py | 25 +++++------ .../r4/resources/immunization.py | 25 +++++------ .../r4/resources/immunizationevaluation.py | 9 ++-- .../resources/immunizationrecommendation.py | 9 ++-- .../r4/resources/implementationguide.py | 15 +++---- .../r4/resources/insuranceplan.py | 21 +++++----- spark_fhir_schemas/r4/resources/invoice.py | 15 +++---- spark_fhir_schemas/r4/resources/library.py | 31 +++++++------- spark_fhir_schemas/r4/resources/linkage.py | 7 ++-- spark_fhir_schemas/r4/resources/list.py | 11 ++--- spark_fhir_schemas/r4/resources/location.py | 15 +++---- spark_fhir_schemas/r4/resources/measure.py | 35 ++++++++-------- .../r4/resources/measurereport.py | 11 ++--- spark_fhir_schemas/r4/resources/media.py | 15 +++---- spark_fhir_schemas/r4/resources/medication.py | 9 ++-- .../r4/resources/medicationadministration.py | 27 ++++++------ .../r4/resources/medicationdispense.py | 25 +++++------ .../r4/resources/medicationknowledge.py | 33 +++++++-------- .../r4/resources/medicationrequest.py | 31 +++++++------- .../r4/resources/medicationstatement.py | 23 ++++++----- .../r4/resources/medicinalproduct.py | 31 +++++++------- .../medicinalproductauthorization.py | 13 +++--- .../medicinalproductcontraindication.py | 15 +++---- .../resources/medicinalproductindication.py | 15 +++---- .../resources/medicinalproductingredient.py | 9 ++-- .../resources/medicinalproductinteraction.py | 9 ++-- .../resources/medicinalproductmanufactured.py | 11 ++--- .../r4/resources/medicinalproductpackaged.py | 17 ++++---- .../medicinalproductpharmaceutical.py | 15 +++---- .../medicinalproductundesirableeffect.py | 9 ++-- .../r4/resources/messagedefinition.py | 23 ++++++----- .../r4/resources/messageheader.py | 9 ++-- .../r4/resources/molecularsequence.py | 17 ++++---- .../r4/resources/namingsystem.py | 13 +++--- .../r4/resources/nutritionorder.py | 23 ++++++----- .../r4/resources/observation.py | 29 ++++++------- .../r4/resources/observationdefinition.py | 11 ++--- .../r4/resources/operationdefinition.py | 17 ++++---- .../r4/resources/operationoutcome.py | 7 ++-- .../r4/resources/organization.py | 17 ++++---- .../r4/resources/organizationaffiliation.py | 21 +++++----- spark_fhir_schemas/r4/resources/parameters.py | 3 +- spark_fhir_schemas/r4/resources/patient.py | 23 ++++++----- .../r4/resources/paymentnotice.py | 7 ++-- .../r4/resources/paymentreconciliation.py | 11 ++--- spark_fhir_schemas/r4/resources/person.py | 15 +++---- .../r4/resources/plandefinition.py | 31 +++++++------- .../r4/resources/practitioner.py | 19 +++++---- .../r4/resources/practitionerrole.py | 23 ++++++----- spark_fhir_schemas/r4/resources/procedure.py | 39 +++++++++--------- spark_fhir_schemas/r4/resources/provenance.py | 17 ++++---- .../r4/resources/questionnaire.py | 21 +++++----- .../r4/resources/questionnaireresponse.py | 11 ++--- .../r4/resources/relatedperson.py | 19 +++++---- .../r4/resources/requestgroup.py | 23 ++++++----- .../r4/resources/researchdefinition.py | 27 ++++++------ .../r4/resources/researchelementdefinition.py | 29 ++++++------- .../r4/resources/researchstudy.py | 35 ++++++++-------- .../r4/resources/researchsubject.py | 7 ++-- .../r4/resources/riskassessment.py | 17 ++++---- .../r4/resources/riskevidencesynthesis.py | 29 ++++++------- spark_fhir_schemas/r4/resources/schedule.py | 15 +++---- .../r4/resources/searchparameter.py | 17 ++++---- .../r4/resources/servicerequest.py | 41 ++++++++++--------- spark_fhir_schemas/r4/resources/slot.py | 13 +++--- spark_fhir_schemas/r4/resources/specimen.py | 19 +++++---- .../r4/resources/specimendefinition.py | 11 ++--- .../r4/resources/structuredefinition.py | 19 +++++---- .../r4/resources/structuremap.py | 19 +++++---- .../r4/resources/subscription.py | 7 ++-- spark_fhir_schemas/r4/resources/substance.py | 13 +++--- .../r4/resources/substancenucleicacid.py | 7 ++-- .../r4/resources/substancepolymer.py | 11 ++--- .../r4/resources/substanceprotein.py | 7 ++-- .../substancereferenceinformation.py | 13 +++--- .../r4/resources/substancesourcematerial.py | 13 +++--- .../r4/resources/substancespecification.py | 19 +++++---- .../r4/resources/supplydelivery.py | 13 +++--- .../r4/resources/supplyrequest.py | 15 +++---- spark_fhir_schemas/r4/resources/task.py | 23 ++++++----- .../r4/resources/terminologycapabilities.py | 13 +++--- spark_fhir_schemas/r4/resources/testreport.py | 9 ++-- spark_fhir_schemas/r4/resources/testscript.py | 23 ++++++----- spark_fhir_schemas/r4/resources/valueset.py | 13 +++--- .../r4/resources/verificationresult.py | 13 +++--- .../r4/resources/visionprescription.py | 9 ++-- spark_fhir_schemas/r4/template.jinja2 | 4 ++ 660 files changed, 2905 insertions(+), 2248 deletions(-) diff --git a/spark_fhir_schemas/r4/complex_types/account_coverage.py b/spark_fhir_schemas/r4/complex_types/account_coverage.py index 8bb42d71..3f6d84c1 100644 --- a/spark_fhir_schemas/r4/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/account_coverage.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/account_guarantor.py b/spark_fhir_schemas/r4/complex_types/account_guarantor.py index 41234859..6245c1d2 100644 --- a/spark_fhir_schemas/r4/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4/complex_types/account_guarantor.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,4 +133,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py index fc751672..6789a899 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py index 441533e1..85a9374b 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/address.py b/spark_fhir_schemas/r4/complex_types/address.py index 75865513..31809e37 100644 --- a/spark_fhir_schemas/r4/complex_types/address.py +++ b/spark_fhir_schemas/r4/complex_types/address.py @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,4 +155,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py index f08c98ef..dae3e227 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -145,4 +145,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py index 589a4c06..a1c1a739 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/age.py b/spark_fhir_schemas/r4/complex_types/age.py index d69f2996..ae6fd2ac 100644 --- a/spark_fhir_schemas/r4/complex_types/age.py +++ b/spark_fhir_schemas/r4/complex_types/age.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -147,4 +147,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py index 94269215..267cb45a 100644 --- a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -195,7 +195,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -210,4 +210,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/annotation.py b/spark_fhir_schemas/r4/complex_types/annotation.py index 9baec455..bca8522f 100644 --- a/spark_fhir_schemas/r4/complex_types/annotation.py +++ b/spark_fhir_schemas/r4/complex_types/annotation.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/appointment_participant.py b/spark_fhir_schemas/r4/complex_types/appointment_participant.py index 8fbf67b7..f3f788fa 100644 --- a/spark_fhir_schemas/r4/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4/complex_types/appointment_participant.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,4 +156,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/attachment.py b/spark_fhir_schemas/r4/complex_types/attachment.py index 47be77c8..8c17be2c 100644 --- a/spark_fhir_schemas/r4/complex_types/attachment.py +++ b/spark_fhir_schemas/r4/complex_types/attachment.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -216,4 +216,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py index 9a3f71ef..1b887e48 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,7 +154,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -213,7 +213,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,4 +278,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py index 630671e7..42d3580a 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,4 +96,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py index 43c25c94..52e7bf95 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,7 +172,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,7 +208,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -223,4 +223,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_network.py b/spark_fhir_schemas/r4/complex_types/auditevent_network.py index 0d497c2b..d3c2580c 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_network.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,4 +96,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_source.py b/spark_fhir_schemas/r4/complex_types/auditevent_source.py index 221cc89f..e2ebdac0 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_source.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py index 4f1b8fd8..87d1f409 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,4 +153,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py index 39bbe7c4..19a88660 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py index 1640ccc6..aaad3943 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py index 65c6cfec..1157d1df 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_entry.py b/spark_fhir_schemas/r4/complex_types/bundle_entry.py index 586601ef..48b80489 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_entry.py @@ -101,7 +101,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -220,4 +220,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_link.py b/spark_fhir_schemas/r4/complex_types/bundle_link.py index ffa77b13..40e65fdf 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_link.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,4 +108,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_request.py b/spark_fhir_schemas/r4/complex_types/bundle_request.py index be4299c0..3c95be8e 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_request.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_response.py b/spark_fhir_schemas/r4/complex_types/bundle_response.py index 374a232d..ae4eaae7 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_response.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,4 +154,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_search.py b/spark_fhir_schemas/r4/complex_types/bundle_search.py index 3f3fddb4..1f3afb75 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_search.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py index a24dcc91..a47f52da 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -135,4 +135,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py index 8dda5d07..3464829c 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py index cb2e8b2f..6200391b 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -135,4 +135,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py index 883991fb..52d2a033 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,4 +113,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py index b450e3c5..b26c452d 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,4 +113,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py index 4659f8cd..3bf5cccc 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,7 +162,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -177,4 +177,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py index 4d8b99c2..6f89697e 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -149,4 +149,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py index 9080c9a6..f0105da4 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py @@ -147,7 +147,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,7 +203,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -235,7 +235,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -301,7 +301,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -316,4 +316,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py index 3bb00dd9..d8a9608e 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,7 +167,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -184,7 +184,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -256,4 +256,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py index a8eb5431..ca79e0f3 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py index 67be0a67..633c2a7b 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,7 +110,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py index fdad085b..99d5f8d1 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,4 +113,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py index 0759386f..0d4a7e38 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,4 +115,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/careplan_activity.py b/spark_fhir_schemas/r4/complex_types/careplan_activity.py index af3e52b3..55632769 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_activity.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -135,7 +135,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,7 +152,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -199,4 +199,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/careplan_detail.py b/spark_fhir_schemas/r4/complex_types/careplan_detail.py index c11b093d..01aee0b2 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_detail.py @@ -148,7 +148,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,7 +185,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,7 +238,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -362,7 +362,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -445,4 +445,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/careteam_participant.py b/spark_fhir_schemas/r4/complex_types/careteam_participant.py index b9711be6..69b95676 100644 --- a/spark_fhir_schemas/r4/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4/complex_types/careteam_participant.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -103,7 +103,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,4 +165,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py index d48d7d38..d0fc169a 100644 --- a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py @@ -71,7 +71,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py index 4a291e9b..19506ea7 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py index aa4bbec9..73ac160f 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,4 +113,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py index 158b3832..b7c9203d 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py index b9416a21..15204908 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,7 +106,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,7 +128,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_accident.py b/spark_fhir_schemas/r4/complex_types/claim_accident.py index 4c0d4cc6..c0a47540 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4/complex_types/claim_accident.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -157,4 +157,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_careteam.py b/spark_fhir_schemas/r4/complex_types/claim_careteam.py index adcf9360..997325a8 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/claim_careteam.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,4 +172,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_detail.py b/spark_fhir_schemas/r4/complex_types/claim_detail.py index 0e9f368e..aeb4b163 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_detail.py @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -195,7 +195,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -212,7 +212,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,7 +294,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -312,7 +312,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -327,4 +327,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py index 09e197d2..e8c2f8ca 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,7 +154,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -201,4 +201,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_insurance.py b/spark_fhir_schemas/r4/complex_types/claim_insurance.py index 27da6f59..88415773 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claim_insurance.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -192,4 +192,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_item.py b/spark_fhir_schemas/r4/complex_types/claim_item.py index 430402db..f2184eb1 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4/complex_types/claim_item.py @@ -149,7 +149,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -181,7 +181,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -198,7 +198,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -215,7 +215,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -316,7 +316,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -462,7 +462,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -494,7 +494,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -512,7 +512,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -530,7 +530,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -545,4 +545,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_payee.py b/spark_fhir_schemas/r4/complex_types/claim_payee.py index 9ae07225..d23e0d7d 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4/complex_types/claim_payee.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_procedure.py b/spark_fhir_schemas/r4/complex_types/claim_procedure.py index 9d386a71..b80b547e 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/claim_procedure.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,7 +185,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -200,4 +200,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_related.py b/spark_fhir_schemas/r4/complex_types/claim_related.py index 44bb8942..ac1adb5e 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4/complex_types/claim_related.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py index 84f407ec..a3566ccc 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py @@ -108,7 +108,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -189,7 +189,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -288,7 +288,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -303,4 +303,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py index 4b11f60e..a3368d41 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py @@ -116,7 +116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -266,4 +266,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py index bb7810c1..0940c3ff 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py @@ -145,7 +145,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,7 +162,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -180,7 +180,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -198,7 +198,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -215,7 +215,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -428,7 +428,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -446,7 +446,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -463,7 +463,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -480,7 +480,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -495,4 +495,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py index 519d3b24..067687d3 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py index 6ede5787..e299ac35 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -116,7 +116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,7 +133,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -150,7 +150,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,4 +165,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py index 04037e7a..56246c84 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -242,7 +242,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -274,4 +274,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py index b74f19bb..87ed925e 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -166,4 +166,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py index f233d903..16854ff7 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,4 +162,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py index 9c04b002..64dd6f2f 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,7 +156,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -171,4 +171,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py index 02b4c7d7..c558a807 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,4 +185,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py index c18111c4..8df6082f 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py index 780dc076..1ebdbb43 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,7 +128,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py index c16eb911..419aff7c 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -137,7 +137,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -220,7 +220,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -237,7 +237,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -252,4 +252,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py index 19be0d5e..03323e29 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py index 8d02ff80..ce8d5e46 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py index d75fdb3e..9ee2d0a2 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,7 +124,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -139,4 +139,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codeableconcept.py b/spark_fhir_schemas/r4/complex_types/codeableconcept.py index 2ec7f13e..5733e2f6 100644 --- a/spark_fhir_schemas/r4/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4/complex_types/codeableconcept.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py index 0438ee27..1eb2a922 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -174,7 +174,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -189,4 +189,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py index ebe962c2..971014ea 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py index 9bbdf276..4d4853d9 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property.py b/spark_fhir_schemas/r4/complex_types/codesystem_property.py index e5381af2..af51c5c0 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py index de74d09a..8e65c9a1 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,4 +154,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coding.py b/spark_fhir_schemas/r4/complex_types/coding.py index e2fd67df..3032ba17 100644 --- a/spark_fhir_schemas/r4/complex_types/coding.py +++ b/spark_fhir_schemas/r4/complex_types/coding.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,4 +152,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/communication_payload.py b/spark_fhir_schemas/r4/complex_types/communication_payload.py index 3569b585..edeaff0c 100644 --- a/spark_fhir_schemas/r4/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communication_payload.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py index 6c4edb36..394c315d 100644 --- a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py index 123cee3d..a5e05020 100644 --- a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,4 +111,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_attester.py b/spark_fhir_schemas/r4/complex_types/composition_attester.py index bdd24203..528f1b6f 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4/complex_types/composition_attester.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,4 +136,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_event.py b/spark_fhir_schemas/r4/complex_types/composition_event.py index f62134db..6bfc069d 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4/complex_types/composition_event.py @@ -98,7 +98,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,7 +153,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,4 +168,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py index 0b8ddbda..81740556 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,4 +152,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_section.py b/spark_fhir_schemas/r4/complex_types/composition_section.py index 4a12807c..e102112a 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4/complex_types/composition_section.py @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,7 +162,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -253,7 +253,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -286,7 +286,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -301,4 +301,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py index 53100b62..02fcdd39 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py index 158ab1f8..1bd5bcb1 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py index 78909ae7..8b1862b9 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,7 +151,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -183,4 +183,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py index 33a30757..60571e58 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -139,7 +139,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,7 +160,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -175,4 +175,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py index 8143a182..eee1cf1b 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/condition_evidence.py b/spark_fhir_schemas/r4/complex_types/condition_evidence.py index 71bfe9ad..07a974bc 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/condition_evidence.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/condition_stage.py b/spark_fhir_schemas/r4/complex_types/condition_stage.py index 70c06f05..5e1b5b65 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4/complex_types/condition_stage.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,7 +113,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_actor.py b/spark_fhir_schemas/r4/complex_types/consent_actor.py index 6761ecfc..f3652774 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4/complex_types/consent_actor.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_data.py b/spark_fhir_schemas/r4/complex_types/consent_data.py index 6177e3fd..fedce0c4 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4/complex_types/consent_data.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,4 +108,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_policy.py b/spark_fhir_schemas/r4/complex_types/consent_policy.py index 8243434a..80046b65 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4/complex_types/consent_policy.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,4 +125,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_provision.py b/spark_fhir_schemas/r4/complex_types/consent_provision.py index a71b433c..ef2bcd6a 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4/complex_types/consent_provision.py @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,7 +160,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -178,7 +178,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -196,7 +196,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -215,7 +215,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -232,7 +232,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -297,4 +297,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_verification.py b/spark_fhir_schemas/r4/complex_types/consent_verification.py index 218e4492..ad5571dd 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4/complex_types/consent_verification.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contactdetail.py b/spark_fhir_schemas/r4/complex_types/contactdetail.py index 4b552199..64f0f3dc 100644 --- a/spark_fhir_schemas/r4/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4/complex_types/contactdetail.py @@ -71,7 +71,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contactpoint.py b/spark_fhir_schemas/r4/complex_types/contactpoint.py index 179b340a..59a5eabd 100644 --- a/spark_fhir_schemas/r4/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4/complex_types/contactpoint.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,4 +136,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_action.py b/spark_fhir_schemas/r4/complex_types/contract_action.py index a9217a77..1d33cc94 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4/complex_types/contract_action.py @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -178,7 +178,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -351,7 +351,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -369,7 +369,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -409,7 +409,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -424,4 +424,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_answer.py b/spark_fhir_schemas/r4/complex_types/contract_answer.py index c2198941..e1c474ce 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_answer.py @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -269,4 +269,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_asset.py b/spark_fhir_schemas/r4/complex_types/contract_asset.py index c36d2ad6..d8a95869 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4/complex_types/contract_asset.py @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -150,7 +150,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,7 +167,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -184,7 +184,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,7 +238,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -312,7 +312,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,4 +344,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py index 9c048115..cc54a139 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -209,4 +209,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_context.py b/spark_fhir_schemas/r4/complex_types/contract_context.py index 3a6edb12..b28cc783 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4/complex_types/contract_context.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -132,4 +132,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_friendly.py b/spark_fhir_schemas/r4/complex_types/contract_friendly.py index 3800f0d8..9bb41e37 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4/complex_types/contract_friendly.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_legal.py b/spark_fhir_schemas/r4/complex_types/contract_legal.py index 549eb483..b19947a2 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4/complex_types/contract_legal.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,4 +118,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_offer.py b/spark_fhir_schemas/r4/complex_types/contract_offer.py index 11e62964..54d0b9fd 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_offer.py @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -258,4 +258,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_party.py b/spark_fhir_schemas/r4/complex_types/contract_party.py index 6dc98f84..c648f3a1 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4/complex_types/contract_party.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_rule.py b/spark_fhir_schemas/r4/complex_types/contract_rule.py index 4245494e..c63032fc 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4/complex_types/contract_rule.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py index 56d7a09a..5a8fbbe0 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,7 +133,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,7 +151,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -166,4 +166,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_signer.py b/spark_fhir_schemas/r4/complex_types/contract_signer.py index 72f3fc77..f64df6be 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_signer.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,7 +123,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_subject.py b/spark_fhir_schemas/r4/complex_types/contract_subject.py index 63334da8..1d5f1248 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4/complex_types/contract_subject.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_term.py b/spark_fhir_schemas/r4/complex_types/contract_term.py index da9aae8b..6e870719 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4/complex_types/contract_term.py @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -277,7 +277,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -312,7 +312,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -327,4 +327,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py index 514d8740..1de7a0c7 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -347,4 +347,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/contributor.py b/spark_fhir_schemas/r4/complex_types/contributor.py index 91c93676..9b0b077f 100644 --- a/spark_fhir_schemas/r4/complex_types/contributor.py +++ b/spark_fhir_schemas/r4/complex_types/contributor.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/count.py b/spark_fhir_schemas/r4/complex_types/count.py index c3d77b60..1ae1034b 100644 --- a/spark_fhir_schemas/r4/complex_types/count.py +++ b/spark_fhir_schemas/r4/complex_types/count.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,4 +151,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_class.py b/spark_fhir_schemas/r4/complex_types/coverage_class.py index d417a035..e2ff9412 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_class.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py index 7a923b11..cbb4f982 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -147,7 +147,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,4 +162,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_exception.py b/spark_fhir_schemas/r4/complex_types/coverage_exception.py index 8830d95d..8c3a41fb 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_exception.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py index c46983ea..0c8cf854 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,4 +133,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py index 811aef0b..85ed8d33 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -132,4 +132,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py index e6808b61..2ba410ac 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py @@ -108,7 +108,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -175,7 +175,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -253,7 +253,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -285,4 +285,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py index 1b1be633..4c99a539 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py index 9fc69413..2744fb8f 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -163,4 +163,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py index f3bf5ca2..a784ff82 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,4 +107,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py index d4a13581..13d5c3ef 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -147,7 +147,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,4 +162,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py index c8616cca..8955eedb 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,7 +168,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,4 +306,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement.py b/spark_fhir_schemas/r4/complex_types/datarequirement.py index e6ce4c50..0dead26c 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement.py @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,7 +153,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -215,7 +215,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,4 +282,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py index 8bcae525..7db4fb21 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -145,7 +145,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,4 +160,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py index 21474a49..041510d1 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py @@ -110,7 +110,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,4 +185,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py index 493f4ede..22578700 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,4 +96,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py index dfbbb126..de7e9051 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,7 +113,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py index bdd16983..f8ab8b41 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_devicename.py b/spark_fhir_schemas/r4/complex_types/device_devicename.py index 860eafd1..a47682a0 100644 --- a/spark_fhir_schemas/r4/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/device_devicename.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,4 +96,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_property.py b/spark_fhir_schemas/r4/complex_types/device_property.py index 0ba1c65f..1810a103 100644 --- a/spark_fhir_schemas/r4/complex_types/device_property.py +++ b/spark_fhir_schemas/r4/complex_types/device_property.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,7 +128,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_specialization.py b/spark_fhir_schemas/r4/complex_types/device_specialization.py index 2b153c01..3fb22688 100644 --- a/spark_fhir_schemas/r4/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/device_specialization.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,4 +108,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py index 3233f852..d0fb9507 100644 --- a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -187,4 +187,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_version.py b/spark_fhir_schemas/r4/complex_types/device_version.py index 79eeb386..3581a3c0 100644 --- a/spark_fhir_schemas/r4/complex_types/device_version.py +++ b/spark_fhir_schemas/r4/complex_types/device_version.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py index 95d5e330..16e26073 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,7 +106,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py index ecf51a0b..fea347db 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -94,4 +94,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py index aa9ecc4f..da65504a 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -117,4 +117,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py index 724bc5e9..f4008c80 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,4 +141,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py index 75791873..c32f9795 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -91,4 +91,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py index 21e99975..4d2004ce 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py index 9f7b19e0..bb03e09b 100644 --- a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,4 +108,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py index f5847b03..27458e41 100644 --- a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -166,4 +166,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py index 57d1537b..00e340f8 100644 --- a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/distance.py b/spark_fhir_schemas/r4/complex_types/distance.py index 8f8310f4..784696f7 100644 --- a/spark_fhir_schemas/r4/complex_types/distance.py +++ b/spark_fhir_schemas/r4/complex_types/distance.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py index ac73bbf4..fdffd213 100644 --- a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_content.py b/spark_fhir_schemas/r4/complex_types/documentreference_content.py index f4da6354..722a1c70 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_content.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_context.py b/spark_fhir_schemas/r4/complex_types/documentreference_context.py index 3b677f82..3d81dee7 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_context.py @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -137,7 +137,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -232,4 +232,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py index cc30833c..ca4d546b 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/dosage.py b/spark_fhir_schemas/r4/complex_types/dosage.py index 23aab688..4f922ddf 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage.py +++ b/spark_fhir_schemas/r4/complex_types/dosage.py @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -315,4 +315,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py index 9af4e60b..ea66fdaa 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,4 +188,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/duration.py b/spark_fhir_schemas/r4/complex_types/duration.py index 4bbd67fa..7b1eeb29 100644 --- a/spark_fhir_schemas/r4/complex_types/duration.py +++ b/spark_fhir_schemas/r4/complex_types/duration.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py index 8440167d..b4c7b154 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,7 +136,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,4 +151,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py index a9e0d7bb..c4e6b619 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,7 +131,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py index 6024975c..c548e9c1 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,7 +170,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,4 +185,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py index 4d840b25..ea632de2 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,4 +159,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py index 3d7f550c..5b9c1e98 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -135,4 +135,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py index 954c58b8..ac4add36 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/element.py b/spark_fhir_schemas/r4/complex_types/element.py index c536139c..80a00115 100644 --- a/spark_fhir_schemas/r4/complex_types/element.py +++ b/spark_fhir_schemas/r4/complex_types/element.py @@ -64,7 +64,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -79,4 +79,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition.py b/spark_fhir_schemas/r4/complex_types/elementdefinition.py index 3aa7a9fc..3921e850 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition.py @@ -1685,7 +1685,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1722,7 +1722,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1877,7 +1877,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -4474,7 +4474,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -4607,7 +4607,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -4625,7 +4625,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -4677,7 +4677,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -4692,4 +4692,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py index c8ca3adc..bd08d48e 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py index 705ca732..b13ea60e 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py index 546532dd..389f8ce4 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,4 +153,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py index 996b4ea6..4099fabc 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -95,4 +95,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py index 6310879d..82a074fa 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -843,4 +843,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py index 3687d0e7..386bc5a1 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py index b1a02bb8..ba1fe820 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,4 +141,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py index 2ae6664a..3a8edf8f 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,7 +141,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,7 +165,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -186,4 +186,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py index b84d50de..0f879eb7 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,4 +118,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py index 279da503..798ce709 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py index b6632294..c490b743 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,7 +168,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,7 +185,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,7 +203,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -248,4 +248,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_location.py b/spark_fhir_schemas/r4/complex_types/encounter_location.py index 997d4ad2..8ae2d2c1 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_location.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_participant.py b/spark_fhir_schemas/r4/complex_types/encounter_participant.py index 5f0c2572..a09d864b 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_participant.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py index c1252ab0..289cd140 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py index ed5afd04..cd3a3781 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py index 4feff8f9..d95242b8 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py index 3eecf7ac..6c3e2986 100644 --- a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py @@ -141,7 +141,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,4 +338,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py index 9bafa2c6..aebf2a1e 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py index 7ce08311..260cee65 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,7 +113,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py index 32ccdfeb..da7ac794 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -91,4 +91,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py index 9f47e43b..8d98af38 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -137,7 +137,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,4 +170,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py index 26f3e7a6..f817fff9 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,4 +170,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py index 9d607c20..4747e115 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py index fdfc42c3..545cc3a3 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -157,4 +157,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py index 4d245b3d..60856796 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py @@ -70,7 +70,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,4 +102,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py index 7bb00054..098685ac 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py index a29e90a6..2de0ede5 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py @@ -148,7 +148,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,7 +165,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -183,7 +183,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -201,7 +201,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -253,7 +253,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -449,7 +449,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -466,7 +466,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -483,7 +483,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,4 +498,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py index d5fe7151..4d536cc9 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,4 +172,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py index f8a68ef9..30266722 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -192,7 +192,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -207,4 +207,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py index 06f0a8a4..03dbcbb3 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -173,4 +173,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py index a5fe4750..2e711475 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py @@ -122,7 +122,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -303,7 +303,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,7 +338,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -355,7 +355,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -370,4 +370,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py index e9a3ca41..3034c96c 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py @@ -110,7 +110,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -145,7 +145,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -228,7 +228,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -262,7 +262,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -277,4 +277,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py index 5f7ff803..e087839a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -202,4 +202,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py index d3de2982..a9fe2e04 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,4 +159,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py index 130444a8..ada24a73 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py index 6335c398..ae9598b0 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py @@ -159,7 +159,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -191,7 +191,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,7 +208,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,7 +309,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -326,7 +326,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -472,7 +472,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -504,7 +504,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -521,7 +521,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -539,7 +539,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -558,7 +558,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -575,7 +575,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -590,4 +590,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py index c88319ce..97d5b2da 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py index 74cce2ef..7d5f70fc 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,4 +188,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py index feaf1154..77bd1b40 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,7 +122,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -186,7 +186,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -201,4 +201,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py index 41f6d11f..8e6e00ad 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py index b8e79539..c6e46602 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py index 34ec3edd..10d8f9f6 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -200,7 +200,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -334,7 +334,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -349,4 +349,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py index 795d36a3..9acb2f9f 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,7 +140,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -223,7 +223,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -240,7 +240,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,4 +255,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py index e391eb2a..1ed7bc13 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py @@ -120,7 +120,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,4 +270,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py index 33366bb0..917a777c 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/expression.py b/spark_fhir_schemas/r4/complex_types/expression.py index d6a8c3b2..f5dd2a98 100644 --- a/spark_fhir_schemas/r4/complex_types/expression.py +++ b/spark_fhir_schemas/r4/complex_types/expression.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,4 +136,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/extension.py b/spark_fhir_schemas/r4/complex_types/extension.py index 24f8613c..fc277985 100644 --- a/spark_fhir_schemas/r4/complex_types/extension.py +++ b/spark_fhir_schemas/r4/complex_types/extension.py @@ -129,15 +129,10 @@ def get_schema( from spark_fhir_schemas.r4.complex_types.reference import ReferenceSchema if ( - ( - max_recursion_limit - and nesting_list.count("Extension") >= max_recursion_limit - ) - or (max_nesting_depth and nesting_depth >= max_nesting_depth) - or (max_extension_depth and extension_depth >= max_extension_depth) - ): + max_recursion_limit + and nesting_list.count("Extension") >= max_recursion_limit + ) or (max_nesting_depth and nesting_depth >= max_nesting_depth): return StructType([StructField("id", StringType(), True)]) - if max_extension_depth and extension_depth >= max_extension_depth: return StructType([StructField("id", StringType(), True)]) # add my name to recursion list for later diff --git a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py index e6a9adba..5a270952 100644 --- a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py @@ -110,7 +110,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -233,4 +233,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/goal_target.py b/spark_fhir_schemas/r4/complex_types/goal_target.py index f6fbce7e..e972c2f9 100644 --- a/spark_fhir_schemas/r4/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4/complex_types/goal_target.py @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,4 +294,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py index 5e72a073..d04a954b 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py index 2ed9507b..c2933d4a 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py index 853cbefb..fcbfd435 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,7 +136,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,7 +153,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,4 +168,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/group_characteristic.py b/spark_fhir_schemas/r4/complex_types/group_characteristic.py index b21b383b..5d90319d 100644 --- a/spark_fhir_schemas/r4/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/group_characteristic.py @@ -108,7 +108,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -224,4 +224,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/group_member.py b/spark_fhir_schemas/r4/complex_types/group_member.py index f03e3d42..3857d79a 100644 --- a/spark_fhir_schemas/r4/complex_types/group_member.py +++ b/spark_fhir_schemas/r4/complex_types/group_member.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -139,4 +139,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py index 9a275cb7..9a32ba31 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,4 +136,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py index df84f484..f3f72fe8 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -119,4 +119,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py index a8bfe59a..b92e3e11 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -105,4 +105,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/humanname.py b/spark_fhir_schemas/r4/complex_types/humanname.py index fd63ea4c..05541573 100644 --- a/spark_fhir_schemas/r4/complex_types/humanname.py +++ b/spark_fhir_schemas/r4/complex_types/humanname.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/identifier.py b/spark_fhir_schemas/r4/complex_types/identifier.py index 3e72cbc3..ac948f32 100644 --- a/spark_fhir_schemas/r4/complex_types/identifier.py +++ b/spark_fhir_schemas/r4/complex_types/identifier.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,4 +170,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py index 0d84a3c4..9b1c1755 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py index 688c490b..e7f9a981 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py index 4bcff47b..f5c14890 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -260,7 +260,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,7 +309,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -324,4 +324,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_education.py b/spark_fhir_schemas/r4/complex_types/immunization_education.py index b27a97a1..fd4ee7fc 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_education.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,4 +141,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_performer.py b/spark_fhir_schemas/r4/complex_types/immunization_performer.py index 8988d2ff..a72d2651 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_performer.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py index cb946edd..9448e6ba 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,7 +131,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,4 +154,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py index b1ec4d0f..7852a529 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,4 +129,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py index 423aac1d..bd4a7534 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,4 +125,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py index 26e21a6e..2e32e291 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,7 +170,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,7 +203,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -274,7 +274,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -289,4 +289,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py index 68384117..7a1db8f7 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py @@ -101,7 +101,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -171,7 +171,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,7 +188,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,4 +203,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py index e8082f61..d40fdc4a 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,4 +129,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py index 5b45c163..f698ee98 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py index 6cff55ea..7e0c3c2e 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -97,4 +97,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py index cb63e0ed..d65d6a7b 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,7 +131,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,7 +148,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -169,4 +169,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py index f33b2e80..652f3a4c 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,7 +122,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -137,4 +137,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py index ee71675a..5ed249e6 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,4 +98,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py index ca83e46a..991980a8 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -99,4 +99,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py index 996a7434..a9423f67 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py @@ -103,7 +103,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,4 +165,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py index 1c5a7512..f58fec32 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py index 7f8b01ff..5d671b0f 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,4 +113,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py index f09d2917..5c4f2ec3 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py index 5d3fa564..24614dbd 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py index b1d0c72a..39ebbd97 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,7 +128,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py index a6df02d5..e65a9ba4 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,7 +129,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,4 +160,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py index 5347fbe3..e4ae7a3a 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,7 +112,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,7 +129,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py index d1c421ad..d7bb455c 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py index 15d6a41b..158cf9ec 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py index ab870c81..7b714d4f 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -139,7 +139,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,7 +156,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -173,7 +173,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,7 +190,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -205,4 +205,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py index e0f365d6..a03e04c2 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py index 39956991..82bebb5e 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -163,7 +163,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -178,4 +178,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_participant.py b/spark_fhir_schemas/r4/complex_types/invoice_participant.py index 38934d1c..d0e000ea 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_participant.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py index 0eedb773..861e931c 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/linkage_item.py b/spark_fhir_schemas/r4/complex_types/linkage_item.py index 6070c85b..5ab2405a 100644 --- a/spark_fhir_schemas/r4/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4/complex_types/linkage_item.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/list_entry.py b/spark_fhir_schemas/r4/complex_types/list_entry.py index 0376225d..d4213ca3 100644 --- a/spark_fhir_schemas/r4/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4/complex_types/list_entry.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -149,4 +149,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py index dee20989..9542b450 100644 --- a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,4 +152,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/location_position.py b/spark_fhir_schemas/r4/complex_types/location_position.py index 41bf848d..d2cfc6bf 100644 --- a/spark_fhir_schemas/r4/complex_types/location_position.py +++ b/spark_fhir_schemas/r4/complex_types/location_position.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/marketingstatus.py b/spark_fhir_schemas/r4/complex_types/marketingstatus.py index 4135d831..ab6d813d 100644 --- a/spark_fhir_schemas/r4/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4/complex_types/marketingstatus.py @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -202,4 +202,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_component.py b/spark_fhir_schemas/r4/complex_types/measure_component.py index 34d5f8e7..df7423a3 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4/complex_types/measure_component.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_group.py b/spark_fhir_schemas/r4/complex_types/measure_group.py index d10908cd..2d2a6d32 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4/complex_types/measure_group.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,7 +122,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,7 +141,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,4 +156,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_population.py b/spark_fhir_schemas/r4/complex_types/measure_population.py index 90bc8af0..ab9e381e 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4/complex_types/measure_population.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py index 735187f4..9a9ac06f 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,7 +141,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,4 +156,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py index 9c1ce311..3e0f8357 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -161,4 +161,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_component.py b/spark_fhir_schemas/r4/complex_types/measurereport_component.py index 0e1aea06..69290c82 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_component.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_group.py b/spark_fhir_schemas/r4/complex_types/measurereport_group.py index c299104d..b01ad33b 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_group.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,7 +124,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,7 +159,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -174,4 +174,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population.py b/spark_fhir_schemas/r4/complex_types/measurereport_population.py index 9b00b543..940bfbdf 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py index 6445a10e..3c90a649 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,4 +142,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py index fbd97bee..22821a88 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,7 +98,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -132,4 +132,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py index 290a4b09..766f7391 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -174,4 +174,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medication_batch.py b/spark_fhir_schemas/r4/complex_types/medication_batch.py index 1c510458..29412e22 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4/complex_types/medication_batch.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py index 12e8c6f3..f38f5532 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -161,4 +161,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py index 794d8e2b..f14a9fef 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py @@ -112,7 +112,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,4 +238,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py index 62b3db67..d900d60e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py index 3e6e83a6..d595a72c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py index feea8ac1..63ccfff0 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -134,7 +134,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,7 +152,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py index 2df6e0f0..8a9222f1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,7 +152,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py index 9d68ec76..774a5cc3 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py index a2787e35..c0d936ff 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py index c3aba07f..7283123a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py index 11a9bc59..5a59297c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py index 445f719d..5042dd61 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py index 356e74d6..75ad2ad9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -117,4 +117,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py index 4ea4b432..0deeca5c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py index ecb46de1..439c0721 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,4 +107,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py index d7a3bc5c..fb57c17e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py index 68d0fb8d..176bc679 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py index fbbf92dc..b806cb77 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,4 +129,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py index 7a1858f5..bcc5935b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,7 +136,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py index 20835ab2..47720d8e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,7 +108,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py index 03a10080..c8d71eba 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py @@ -71,7 +71,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -101,4 +101,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py index 81a42610..3b5c2a2e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,4 +112,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py index 2963bf1e..275a5577 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -236,4 +236,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py index ee1c1031..7f898904 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,4 +125,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py index 70e6764f..d8354362 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,4 +143,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py index c4bc390f..ac3e1177 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -137,4 +137,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py index 62787708..ef6c2d47 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -165,7 +165,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -195,4 +195,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py index 03f241bf..33389c94 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,7 +98,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,7 +115,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py index 9321e00a..fa5a6ef2 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py index f259a0b1..e6b38db4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -229,4 +229,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py index 92cfb3ca..f27d7b51 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -134,7 +134,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -179,4 +179,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py index b134ba8a..852a08c9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -154,7 +154,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -169,4 +169,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py index cbff846b..5f0d7d6f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py @@ -83,7 +83,7 @@ class of products) as part of an indication or contraindication. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ class of products) as part of an indication or contraindication. else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py index ab3e1ce9..0224f6b6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py @@ -81,7 +81,7 @@ class of products) as part of an indication or contraindication. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ class of products) as part of an indication or contraindication. else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py index f06d08a5..d8ed219e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,7 +146,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -161,4 +161,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py index f8c82cc7..fffce46e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,7 +146,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -161,4 +161,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py index d37cb3a7..f6acfd25 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -176,7 +176,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -193,7 +193,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,4 +208,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py index 1451c3f1..1e2bdfe6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,7 +112,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py index dd299bc9..79df8186 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py index 6c94170f..4f867ce4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,4 +118,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py index d145b4bd..6e6f9925 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,7 +122,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -170,7 +170,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -187,7 +187,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,7 +238,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -287,7 +287,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -304,7 +304,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,4 +319,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py index c02960ac..1bc9a941 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py index 9f7048c2..aa9037dd 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -233,4 +233,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py index b59a0b5f..e061cd71 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,7 +112,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py index d20c44ac..47f6f1aa 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py index 0c207824..826bbbc9 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py index a7ddeba5..a3902aef 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py index e4b8893b..ae25b692 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -149,4 +149,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_response.py b/spark_fhir_schemas/r4/complex_types/messageheader_response.py index 179e59d5..12af1ac1 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_response.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -130,4 +130,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_source.py b/spark_fhir_schemas/r4/complex_types/messageheader_source.py index ae5e958a..a873c92c 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_source.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/meta.py b/spark_fhir_schemas/r4/complex_types/meta.py index a37c40d4..d430a51a 100644 --- a/spark_fhir_schemas/r4/complex_types/meta.py +++ b/spark_fhir_schemas/r4/complex_types/meta.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,7 +162,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -180,7 +180,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -199,7 +199,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -214,4 +214,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py index 25245f6d..c1dc618a 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py index 1cc45119..c4de3f51 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py index cb73e3b2..2fc99d00 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py @@ -124,7 +124,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -371,4 +371,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py index bd732313..8f0f8b0c 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -219,4 +219,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py index 3056e4d3..a75d9736 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py index b7435fbc..a7c404d5 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,7 +120,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,7 +156,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -173,7 +173,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -191,7 +191,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,7 +208,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -223,4 +223,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py index a1bef5a5..b12ac508 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -174,4 +174,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py index 61e9c058..c76c50c9 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -179,4 +179,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/money.py b/spark_fhir_schemas/r4/complex_types/money.py index e50136f5..65288d6c 100644 --- a/spark_fhir_schemas/r4/complex_types/money.py +++ b/spark_fhir_schemas/r4/complex_types/money.py @@ -70,7 +70,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -115,4 +115,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py index 9d4df277..10e64321 100644 --- a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,4 +131,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/narrative.py b/spark_fhir_schemas/r4/complex_types/narrative.py index a47c458b..72c3f423 100644 --- a/spark_fhir_schemas/r4/complex_types/narrative.py +++ b/spark_fhir_schemas/r4/complex_types/narrative.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -108,4 +108,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py index 55b8aec1..b0f02c59 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,4 +162,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py index 0a69e570..d1e7f93c 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -200,7 +200,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -234,4 +234,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py index efa9de38..dae095b2 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py index 8b694d68..334874d6 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,7 +133,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,7 +151,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -169,7 +169,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -187,7 +187,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -205,4 +205,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py index 22d2b87f..d1fb0c83 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py index 33fd767d..a20f128d 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/observation_component.py b/spark_fhir_schemas/r4/complex_types/observation_component.py index 81714898..75cf4489 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4/complex_types/observation_component.py @@ -131,7 +131,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -291,7 +291,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,7 +309,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -324,4 +324,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py index 0ba18df5..d2cf9a43 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -173,7 +173,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,4 +208,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py index a7b69ec7..1a0f7b9b 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -147,7 +147,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -198,4 +198,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py index 200dd131..a8251512 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -166,4 +166,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py index c4c33955..933bc1f2 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py index 9167dc91..c0d69a1d 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -91,4 +91,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py index b55271eb..51054e5a 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py @@ -111,7 +111,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,7 +188,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -242,7 +242,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,4 +257,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py index 09a93e4c..b92d0aad 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -99,4 +99,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py index 856a5ec0..ac31d12d 100644 --- a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/organization_contact.py b/spark_fhir_schemas/r4/complex_types/organization_contact.py index 6a06aac6..131046a6 100644 --- a/spark_fhir_schemas/r4/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4/complex_types/organization_contact.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -134,7 +134,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -164,4 +164,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py index d9e2479c..637365bd 100644 --- a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,4 +190,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py index d2143a92..61ebb4e2 100644 --- a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py @@ -230,7 +230,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -767,7 +767,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -782,4 +782,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_communication.py b/spark_fhir_schemas/r4/complex_types/patient_communication.py index ffbb2979..0bf5702d 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4/complex_types/patient_communication.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,4 +121,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_contact.py b/spark_fhir_schemas/r4/complex_types/patient_contact.py index 7bf8e6b0..8f9fd3a6 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4/complex_types/patient_contact.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,7 +141,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,4 +206,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_link.py b/spark_fhir_schemas/r4/complex_types/patient_link.py index fc505310..dfaf9afe 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4/complex_types/patient_link.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py index 4ad1711d..dd47d1f8 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,4 +255,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py index 0bca698b..bafda4a4 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -93,4 +93,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/period.py b/spark_fhir_schemas/r4/complex_types/period.py index f9802489..70af219b 100644 --- a/spark_fhir_schemas/r4/complex_types/period.py +++ b/spark_fhir_schemas/r4/complex_types/period.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/person_link.py b/spark_fhir_schemas/r4/complex_types/person_link.py index 71159d63..872ef403 100644 --- a/spark_fhir_schemas/r4/complex_types/person_link.py +++ b/spark_fhir_schemas/r4/complex_types/person_link.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py index 18eeed39..869e7864 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py @@ -201,7 +201,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -246,7 +246,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -300,7 +300,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -349,7 +349,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -367,7 +367,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -384,7 +384,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -401,7 +401,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -513,7 +513,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -581,7 +581,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -601,7 +601,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -616,4 +616,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py index fb6bc5fb..c45a4b1e 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py index 91a25519..98ed8096 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py index 98fde0cb..6fb3aa47 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -181,7 +181,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -200,7 +200,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -232,4 +232,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py index 9e4243a1..1ab38f36 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,4 +110,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py index 9f1c7cb3..6dee7254 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -149,4 +149,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py index 4e70fe16..75ae9fd8 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -211,4 +211,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/population.py b/spark_fhir_schemas/r4/complex_types/population.py index 64198a20..92f7c473 100644 --- a/spark_fhir_schemas/r4/complex_types/population.py +++ b/spark_fhir_schemas/r4/complex_types/population.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -171,4 +171,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py index 5dedea22..0e4ede1f 100644 --- a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,7 +98,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py index fbcf5372..3fd74acb 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,7 +106,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,4 +155,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py index bdad14c2..ce517555 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,4 +107,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py index 154a7bf8..cd8557eb 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/procedure_performer.py b/spark_fhir_schemas/r4/complex_types/procedure_performer.py index 4d16527e..fdd067f4 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_performer.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,4 +141,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py index f19d19df..244a38eb 100644 --- a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py @@ -116,7 +116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -281,4 +281,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/productshelflife.py b/spark_fhir_schemas/r4/complex_types/productshelflife.py index 438aa2df..edc1dcbc 100644 --- a/spark_fhir_schemas/r4/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4/complex_types/productshelflife.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -162,7 +162,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -177,4 +177,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/provenance_agent.py b/spark_fhir_schemas/r4/complex_types/provenance_agent.py index c9579cf3..7f2a7a1e 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_agent.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,7 +127,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,4 +172,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/provenance_entity.py b/spark_fhir_schemas/r4/complex_types/provenance_entity.py index d1cdfa1a..ed9e28ec 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_entity.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -133,7 +133,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/quantity.py b/spark_fhir_schemas/r4/complex_types/quantity.py index 196e027a..f26188c7 100644 --- a/spark_fhir_schemas/r4/complex_types/quantity.py +++ b/spark_fhir_schemas/r4/complex_types/quantity.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,4 +152,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py index 7a7e90aa..f4eeb46a 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,4 +151,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py index e5bb713a..cec15134 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -207,4 +207,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py index 57067a4f..1c1e2c37 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py @@ -108,7 +108,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -199,4 +199,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py index 47c0dd93..42b826c9 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py @@ -152,7 +152,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -202,7 +202,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -231,7 +231,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,7 +294,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -312,7 +312,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,4 +344,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py index a9080d2c..47d14fbb 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -207,7 +207,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -222,4 +222,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py index 810c38bc..448deb1a 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -157,4 +157,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/range.py b/spark_fhir_schemas/r4/complex_types/range.py index bc2e4dbe..5bea7886 100644 --- a/spark_fhir_schemas/r4/complex_types/range.py +++ b/spark_fhir_schemas/r4/complex_types/range.py @@ -69,7 +69,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/ratio.py b/spark_fhir_schemas/r4/complex_types/ratio.py index 5a1b1f87..ed252587 100644 --- a/spark_fhir_schemas/r4/complex_types/ratio.py +++ b/spark_fhir_schemas/r4/complex_types/ratio.py @@ -71,7 +71,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -116,4 +116,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/reference.py b/spark_fhir_schemas/r4/complex_types/reference.py index 3a7cc382..cda2eaf4 100644 --- a/spark_fhir_schemas/r4/complex_types/reference.py +++ b/spark_fhir_schemas/r4/complex_types/reference.py @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,4 +168,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/relatedartifact.py b/spark_fhir_schemas/r4/complex_types/relatedartifact.py index 3d3af0f4..3c34a3a7 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4/complex_types/relatedartifact.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -176,4 +176,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py index 6a64a97b..0ee4439b 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py index ffeee9d7..7b8c5c78 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py @@ -150,7 +150,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -195,7 +195,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -214,7 +214,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -232,7 +232,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,7 +344,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -466,7 +466,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -481,4 +481,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py index f7e8c66b..eb414367 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py index 6c191d22..c5250126 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -158,4 +158,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py index 853442f0..24ba21f7 100644 --- a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py @@ -144,7 +144,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -385,4 +385,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py index 7f9be1fe..c4e10560 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py index facf540b..0eecd0d8 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py index f082e41f..a753625e 100644 --- a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py @@ -103,7 +103,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -219,4 +219,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py index e8903ac2..b1c238c3 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -134,7 +134,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -149,4 +149,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py index a6711a69..1e7c508c 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,7 +114,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -131,7 +131,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py index 861d9ad2..c9da3e42 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py @@ -84,7 +84,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,4 +159,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py index de344d74..d9dfcbc1 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,7 +188,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,4 +203,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py index 137fd5d6..b39f2623 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/sampleddata.py b/spark_fhir_schemas/r4/complex_types/sampleddata.py index 08b271ff..52f86f87 100644 --- a/spark_fhir_schemas/r4/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4/complex_types/sampleddata.py @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -207,4 +207,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py index b15394cf..44aeaa0a 100644 --- a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/signature.py b/spark_fhir_schemas/r4/complex_types/signature.py index 3ffb25ef..23ebe87a 100644 --- a/spark_fhir_schemas/r4/complex_types/signature.py +++ b/spark_fhir_schemas/r4/complex_types/signature.py @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -119,7 +119,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -230,4 +230,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_collection.py b/spark_fhir_schemas/r4/complex_types/specimen_collection.py index 5b1d4cae..cf9ccd53 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_collection.py @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -248,4 +248,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_container.py b/spark_fhir_schemas/r4/complex_types/specimen_container.py index 0e3db4d5..b09c60a9 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_container.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -110,7 +110,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,4 +206,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_processing.py b/spark_fhir_schemas/r4/complex_types/specimen_processing.py index 336f4a6d..95a11e75 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_processing.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -161,4 +161,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py index 0f4e9a32..0dc8cfe6 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py index ae75cc59..7f79602d 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,7 +190,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,4 +208,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py index 08fe75de..5faddc9e 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,4 +148,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py index ded8cdf7..a391375e 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py @@ -102,7 +102,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,7 +172,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,7 +190,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -205,4 +205,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py index f932c259..0db9d9ce 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -94,4 +94,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py index 7587e260..9d4af89c 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,4 +107,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py index bf5c6631..fbb6dc37 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py @@ -82,7 +82,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -134,4 +134,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py index 098e0899..a2447135 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -92,7 +92,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,4 +107,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py index 7164f9a7..15874efc 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_group.py b/spark_fhir_schemas/r4/complex_types/structuremap_group.py index dfa33a3e..6b557d62 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_group.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -143,7 +143,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,7 +160,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -175,4 +175,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_input.py b/spark_fhir_schemas/r4/complex_types/structuremap_input.py index 77527fa5..0df76a2f 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_input.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,4 +112,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py index 977e17a5..f060afbc 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,4 +111,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py index cec7ccd9..4c533579 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,7 +138,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -172,7 +172,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -189,4 +189,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_source.py b/spark_fhir_schemas/r4/complex_types/structuremap_source.py index 6b6b84af..4499aacc 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_source.py @@ -249,7 +249,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -832,4 +832,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py index d3a5a66b..0089370a 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,4 +112,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_target.py b/spark_fhir_schemas/r4/complex_types/structuremap_target.py index 5fbcadd5..cec7d03c 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_target.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,7 +156,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -171,4 +171,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/subscription_channel.py b/spark_fhir_schemas/r4/complex_types/subscription_channel.py index bf04d0af..40cf87b3 100644 --- a/spark_fhir_schemas/r4/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4/complex_types/subscription_channel.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py index a4458e7b..4cc909c1 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,4 +136,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substance_instance.py b/spark_fhir_schemas/r4/complex_types/substance_instance.py index a6ca7982..51c8d4b4 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4/complex_types/substance_instance.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount.py b/spark_fhir_schemas/r4/complex_types/substanceamount.py index 6e39d274..b5544fd3 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount.py @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -198,4 +198,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py index 96ee93e5..9a3c5e0f 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py index e45390be..a322fc19 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py @@ -86,7 +86,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,4 +127,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py index c6ecfbb9..c569d96e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -213,7 +213,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -230,7 +230,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,4 +245,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py index a2cb6ff2..6b2e78b2 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,4 +118,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py index b168ec70..be945550 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py index e51b4445..4048d63a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py index 9a096186..4c19e43a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,7 +129,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py index 04c29ecc..29ff7c9f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -136,7 +136,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,7 +153,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -168,4 +168,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py index 7f634061..2c1e5b25 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,4 +151,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py index 14a0be98..2dd7afab 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,4 +125,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py index 6d2135da..24c2fd54 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py @@ -116,7 +116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -230,4 +230,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py index 4db3b593..fa78f575 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -127,7 +127,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,7 +144,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,4 +159,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py index d14b44ba..f0e1c0d4 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py index c0ba3bdd..496ad9b0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -141,4 +141,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py index acb7a509..d9dc0f61 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -249,4 +249,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py index 5c4874d0..0f359247 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py @@ -106,7 +106,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -145,4 +145,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py index b395becf..a6b65673 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -139,4 +139,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py index 65517c4d..71bb1304 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py @@ -112,7 +112,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -157,4 +157,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py index 5b39aba4..e8ac376e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -211,7 +211,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -256,4 +256,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py index 30940aeb..d3f8b847 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py @@ -105,7 +105,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -180,4 +180,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py index 2f7fc2e1..6447994f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py @@ -103,7 +103,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -150,4 +150,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py index 22e1f2dd..3bb5d54f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -148,7 +148,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -163,4 +163,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py index 1780fd69..239360d7 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -178,4 +178,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py index 203dfa8a..3a8c3b36 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -185,4 +185,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py index 97a72348..0658ef06 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py index 1bfbe29c..2726291f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py @@ -104,7 +104,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -155,7 +155,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -173,7 +173,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,7 +190,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -207,7 +207,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -258,7 +258,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -273,4 +273,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py index e5341fd8..c460dfb7 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py index db8fb21a..5bb74b7c 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -187,4 +187,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py index dc6bd6e2..9113f181 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py @@ -117,7 +117,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -269,7 +269,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -284,4 +284,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py index 3bf99fcf..8acbe3a9 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,4 +129,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py index cab9b882..3e87770f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -153,7 +153,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -186,7 +186,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -203,7 +203,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,4 +218,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py index 3ee15edc..edfe6711 100644 --- a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py @@ -80,7 +80,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,4 +144,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py index 01c9bee2..7075b411 100644 --- a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -166,4 +166,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_input.py b/spark_fhir_schemas/r4/complex_types/task_input.py index 32e2f317..249494ef 100644 --- a/spark_fhir_schemas/r4/complex_types/task_input.py +++ b/spark_fhir_schemas/r4/complex_types/task_input.py @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -756,4 +756,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_output.py b/spark_fhir_schemas/r4/complex_types/task_output.py index 791a400b..afc5bc3c 100644 --- a/spark_fhir_schemas/r4/complex_types/task_output.py +++ b/spark_fhir_schemas/r4/complex_types/task_output.py @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -754,4 +754,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_restriction.py b/spark_fhir_schemas/r4/complex_types/task_restriction.py index 76bab22d..4b005541 100644 --- a/spark_fhir_schemas/r4/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4/complex_types/task_restriction.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,7 +123,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py index 59de13b8..25f809eb 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -96,4 +96,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py index 68333b9e..01680976 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -121,7 +121,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py index 319afdbb..a3a63b0d 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -116,7 +116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -146,4 +146,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py index f9e7074f..e0ae9a0b 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py index df93020a..e27fc1ff 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -111,4 +111,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py index 721d1f6b..dc366424 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -109,4 +109,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py index 649fcc4c..44165910 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -93,4 +93,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py index ff5a0760..42a01efc 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,4 +98,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py index 79e4b20c..6862469e 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py @@ -81,7 +81,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -98,4 +98,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py index ea4a7c55..ef26e575 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py @@ -94,7 +94,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -118,7 +118,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -135,7 +135,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -152,7 +152,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -167,4 +167,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action.py b/spark_fhir_schemas/r4/complex_types/testreport_action.py index b779b5e9..0e9c2761 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action1.py b/spark_fhir_schemas/r4/complex_types/testreport_action1.py index f83baef1..fa169be5 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action1.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action2.py b/spark_fhir_schemas/r4/complex_types/testreport_action2.py index ca3d8115..f1bb1b97 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action2.py @@ -70,7 +70,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -100,4 +100,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_assert.py b/spark_fhir_schemas/r4/complex_types/testreport_assert.py index 69215d34..10e33876 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_assert.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_operation.py b/spark_fhir_schemas/r4/complex_types/testreport_operation.py index 99858cc2..2acbb700 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_operation.py @@ -73,7 +73,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_participant.py b/spark_fhir_schemas/r4/complex_types/testreport_participant.py index 0c54421a..76d7f350 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_participant.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -106,4 +106,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_setup.py b/spark_fhir_schemas/r4/complex_types/testreport_setup.py index 9652502f..62ad1e1c 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_setup.py @@ -70,7 +70,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,4 +102,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py index b31d1415..85fb590d 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py @@ -70,7 +70,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -87,7 +87,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,4 +102,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_test.py b/spark_fhir_schemas/r4/complex_types/testreport_test.py index 20136fe7..f47852f0 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_test.py @@ -75,7 +75,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -112,4 +112,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action.py b/spark_fhir_schemas/r4/complex_types/testscript_action.py index 41d2661f..681ac47e 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action1.py b/spark_fhir_schemas/r4/complex_types/testscript_action1.py index ec7027d0..eca08807 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action1.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -124,4 +124,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action2.py b/spark_fhir_schemas/r4/complex_types/testscript_action2.py index c582602b..d631f360 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action2.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -102,4 +102,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_assert.py b/spark_fhir_schemas/r4/complex_types/testscript_assert.py index e72c604c..0d969f4e 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_assert.py @@ -135,7 +135,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -261,4 +261,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_capability.py b/spark_fhir_schemas/r4/complex_types/testscript_capability.py index cd7982a3..06bbe376 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_capability.py @@ -97,7 +97,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,7 +123,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -156,7 +156,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,4 +188,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_destination.py b/spark_fhir_schemas/r4/complex_types/testscript_destination.py index 95d667e7..1d66ddf8 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_destination.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py index b576db6c..9692b905 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py @@ -88,7 +88,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -129,4 +129,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_link.py b/spark_fhir_schemas/r4/complex_types/testscript_link.py index c6f12895..6b84b14b 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_link.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py index 6883d013..61fe4664 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py @@ -78,7 +78,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -95,7 +95,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -113,7 +113,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -128,4 +128,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_operation.py b/spark_fhir_schemas/r4/complex_types/testscript_operation.py index c0777786..4f02ea17 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_operation.py @@ -123,7 +123,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -247,7 +247,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -325,4 +325,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_origin.py b/spark_fhir_schemas/r4/complex_types/testscript_origin.py index 2652f8ad..6c9548f9 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_origin.py @@ -74,7 +74,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -120,4 +120,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py index ccd7d50a..d91e489b 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py @@ -71,7 +71,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -90,4 +90,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_setup.py b/spark_fhir_schemas/r4/complex_types/testscript_setup.py index b48521f1..c6da80ae 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_setup.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py index 0fc3590a..c8be2b6f 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -89,7 +89,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_test.py b/spark_fhir_schemas/r4/complex_types/testscript_test.py index aebc88c8..9491e651 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_test.py @@ -77,7 +77,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -114,4 +114,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_variable.py b/spark_fhir_schemas/r4/complex_types/testscript_variable.py index b41fcc61..698c5ea9 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_variable.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -140,4 +140,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/timing.py b/spark_fhir_schemas/r4/complex_types/timing.py index 926e0b93..ada33d0e 100644 --- a/spark_fhir_schemas/r4/complex_types/timing.py +++ b/spark_fhir_schemas/r4/complex_types/timing.py @@ -90,7 +90,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -107,7 +107,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -157,4 +157,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/timing_repeat.py b/spark_fhir_schemas/r4/complex_types/timing_repeat.py index 81ba012e..34ffef89 100644 --- a/spark_fhir_schemas/r4/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/timing_repeat.py @@ -134,7 +134,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -336,7 +336,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -387,4 +387,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py index 6cdb929e..6dece24b 100644 --- a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py @@ -101,7 +101,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,7 +159,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -190,4 +190,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/usagecontext.py b/spark_fhir_schemas/r4/complex_types/usagecontext.py index 7d648a0a..a964804a 100644 --- a/spark_fhir_schemas/r4/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4/complex_types/usagecontext.py @@ -93,7 +93,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -188,4 +188,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_compose.py b/spark_fhir_schemas/r4/complex_types/valueset_compose.py index 967a740b..5a1caab4 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_compose.py @@ -98,7 +98,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,7 +126,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -144,7 +144,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -159,4 +159,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_concept.py b/spark_fhir_schemas/r4/complex_types/valueset_concept.py index eb1dbc6e..dae6b4ee 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_concept.py @@ -85,7 +85,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,7 +123,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -138,4 +138,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_contains.py b/spark_fhir_schemas/r4/complex_types/valueset_contains.py index f54dd9ea..e3fc5c59 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_contains.py @@ -113,7 +113,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -182,7 +182,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -199,7 +199,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -214,4 +214,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_designation.py b/spark_fhir_schemas/r4/complex_types/valueset_designation.py index 339a14f2..58812470 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_designation.py @@ -79,7 +79,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -126,4 +126,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py index 6ec6703a..8546ef5f 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py @@ -103,7 +103,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -191,7 +191,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -208,7 +208,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -223,4 +223,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_filter.py b/spark_fhir_schemas/r4/complex_types/valueset_filter.py index dcbbda10..5922bbc6 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_filter.py @@ -83,7 +83,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -122,4 +122,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_include.py b/spark_fhir_schemas/r4/complex_types/valueset_include.py index 403fc12d..818458b7 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_include.py @@ -96,7 +96,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -132,7 +132,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -151,7 +151,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -171,7 +171,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -186,4 +186,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py index aa727e79..9e0814ac 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py @@ -99,7 +99,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -132,4 +132,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py index dcf6a390..441caa61 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py @@ -100,7 +100,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -200,4 +200,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py index e4c88592..fe1469be 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py @@ -91,7 +91,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -125,7 +125,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -142,7 +142,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -221,4 +221,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py index 707ff751..ac0c4e07 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py @@ -76,7 +76,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -123,4 +123,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py index 9b3371c0..5563f350 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py @@ -109,7 +109,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -189,7 +189,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -285,7 +285,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -300,4 +300,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py index f31d53fe..b195a109 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py @@ -72,7 +72,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -104,4 +104,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/account.py b/spark_fhir_schemas/r4/resources/account.py index 35ae16c0..5b44ba51 100644 --- a/spark_fhir_schemas/r4/resources/account.py +++ b/spark_fhir_schemas/r4/resources/account.py @@ -220,7 +220,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -297,7 +297,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -330,7 +330,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -367,7 +367,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -397,4 +397,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/activitydefinition.py b/spark_fhir_schemas/r4/resources/activitydefinition.py index a94abf95..c97dbdda 100644 --- a/spark_fhir_schemas/r4/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4/resources/activitydefinition.py @@ -400,7 +400,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -421,7 +421,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -461,7 +461,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -560,7 +560,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -597,7 +597,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -615,7 +615,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -692,7 +692,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -710,7 +710,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -728,7 +728,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -746,7 +746,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -764,7 +764,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -782,7 +782,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -800,7 +800,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -996,7 +996,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1062,7 +1062,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1080,7 +1080,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1098,7 +1098,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1116,7 +1116,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1133,7 +1133,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1171,7 +1171,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1186,4 +1186,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/adverseevent.py b/spark_fhir_schemas/r4/resources/adverseevent.py index 0bc1026a..1d64149e 100644 --- a/spark_fhir_schemas/r4/resources/adverseevent.py +++ b/spark_fhir_schemas/r4/resources/adverseevent.py @@ -248,7 +248,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -269,7 +269,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,7 +306,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -417,7 +417,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -517,7 +517,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -534,7 +534,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -551,7 +551,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -568,7 +568,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -585,7 +585,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -600,4 +600,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/allergyintolerance.py b/spark_fhir_schemas/r4/resources/allergyintolerance.py index 89334f90..242b852b 100644 --- a/spark_fhir_schemas/r4/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4/resources/allergyintolerance.py @@ -268,7 +268,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -289,7 +289,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -539,7 +539,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,7 +557,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -572,4 +572,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/appointment.py b/spark_fhir_schemas/r4/resources/appointment.py index f3016776..277afcf2 100644 --- a/spark_fhir_schemas/r4/resources/appointment.py +++ b/spark_fhir_schemas/r4/resources/appointment.py @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -358,7 +358,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -375,7 +375,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -393,7 +393,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -427,7 +427,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -448,7 +448,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -555,7 +555,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -598,7 +598,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -615,7 +615,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -638,7 +638,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -653,4 +653,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/appointmentresponse.py b/spark_fhir_schemas/r4/resources/appointmentresponse.py index 8577cd5e..f8b54018 100644 --- a/spark_fhir_schemas/r4/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4/resources/appointmentresponse.py @@ -211,7 +211,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -232,7 +232,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -251,7 +251,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -315,7 +315,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -367,4 +367,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/auditevent.py b/spark_fhir_schemas/r4/resources/auditevent.py index 730b78fa..b03574be 100644 --- a/spark_fhir_schemas/r4/resources/auditevent.py +++ b/spark_fhir_schemas/r4/resources/auditevent.py @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -277,7 +277,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -331,7 +331,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -380,7 +380,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -395,4 +395,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/basic.py b/spark_fhir_schemas/r4/resources/basic.py index d5ef0ba9..86680923 100644 --- a/spark_fhir_schemas/r4/resources/basic.py +++ b/spark_fhir_schemas/r4/resources/basic.py @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -227,7 +227,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,4 +309,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/binary.py b/spark_fhir_schemas/r4/resources/binary.py index 1e3e7f08..65e767fd 100644 --- a/spark_fhir_schemas/r4/resources/binary.py +++ b/spark_fhir_schemas/r4/resources/binary.py @@ -208,4 +208,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py index 333cd3f6..24baac84 100644 --- a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py @@ -230,7 +230,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -251,7 +251,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -271,7 +271,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -340,7 +340,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -374,7 +374,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -408,7 +408,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -423,4 +423,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/bodystructure.py b/spark_fhir_schemas/r4/resources/bodystructure.py index 5291e0fc..6c2110fe 100644 --- a/spark_fhir_schemas/r4/resources/bodystructure.py +++ b/spark_fhir_schemas/r4/resources/bodystructure.py @@ -212,7 +212,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -351,4 +351,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/bundle.py b/spark_fhir_schemas/r4/resources/bundle.py index 2f499545..9b6c704f 100644 --- a/spark_fhir_schemas/r4/resources/bundle.py +++ b/spark_fhir_schemas/r4/resources/bundle.py @@ -213,7 +213,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -231,7 +231,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -261,4 +261,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/capabilitystatement.py b/spark_fhir_schemas/r4/resources/capabilitystatement.py index dffb59ed..2275d505 100644 --- a/spark_fhir_schemas/r4/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4/resources/capabilitystatement.py @@ -318,7 +318,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -339,7 +339,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -458,7 +458,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -476,7 +476,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -534,7 +534,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -554,7 +554,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -610,7 +610,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -628,7 +628,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -646,7 +646,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -663,7 +663,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -680,7 +680,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -697,7 +697,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -712,4 +712,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/careplan.py b/spark_fhir_schemas/r4/resources/careplan.py index baed6c8a..db0302ed 100644 --- a/spark_fhir_schemas/r4/resources/careplan.py +++ b/spark_fhir_schemas/r4/resources/careplan.py @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -280,7 +280,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -336,7 +336,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -371,7 +371,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -388,7 +388,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -439,7 +439,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -539,7 +539,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,7 +557,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -575,7 +575,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -594,7 +594,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -611,7 +611,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -629,7 +629,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -646,7 +646,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -661,4 +661,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/careteam.py b/spark_fhir_schemas/r4/resources/careteam.py index 333989ad..e10d7452 100644 --- a/spark_fhir_schemas/r4/resources/careteam.py +++ b/spark_fhir_schemas/r4/resources/careteam.py @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -264,7 +264,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -285,7 +285,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -352,7 +352,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -369,7 +369,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -386,7 +386,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -403,7 +403,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -420,7 +420,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -437,7 +437,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -452,4 +452,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/catalogentry.py b/spark_fhir_schemas/r4/resources/catalogentry.py index bc4f96ec..2c281448 100644 --- a/spark_fhir_schemas/r4/resources/catalogentry.py +++ b/spark_fhir_schemas/r4/resources/catalogentry.py @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -246,7 +246,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -264,7 +264,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -313,7 +313,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -330,7 +330,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -413,7 +413,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -446,4 +446,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/chargeitem.py b/spark_fhir_schemas/r4/resources/chargeitem.py index 4e7b3450..ca7f0ff7 100644 --- a/spark_fhir_schemas/r4/resources/chargeitem.py +++ b/spark_fhir_schemas/r4/resources/chargeitem.py @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,7 +294,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -311,7 +311,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -347,7 +347,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -366,7 +366,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -460,7 +460,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -537,7 +537,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -618,7 +618,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -635,7 +635,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -684,7 +684,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -701,7 +701,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -718,7 +718,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -733,4 +733,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py index d898c2cc..17de0101 100644 --- a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py @@ -300,7 +300,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -361,7 +361,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -393,7 +393,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -411,7 +411,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -429,7 +429,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -474,7 +474,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -511,7 +511,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -529,7 +529,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -602,7 +602,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -619,7 +619,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -638,7 +638,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -653,4 +653,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/claim.py b/spark_fhir_schemas/r4/resources/claim.py index 8791c0f2..549a4e66 100644 --- a/spark_fhir_schemas/r4/resources/claim.py +++ b/spark_fhir_schemas/r4/resources/claim.py @@ -285,7 +285,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,7 +306,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -323,7 +323,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -519,7 +519,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,7 +613,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -631,7 +631,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -648,7 +648,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -666,7 +666,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -684,7 +684,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -718,7 +718,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -748,4 +748,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/claimresponse.py b/spark_fhir_schemas/r4/resources/claimresponse.py index 92a878bb..f3dd9910 100644 --- a/spark_fhir_schemas/r4/resources/claimresponse.py +++ b/spark_fhir_schemas/r4/resources/claimresponse.py @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -303,7 +303,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -320,7 +320,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -532,7 +532,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -549,7 +549,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -567,7 +567,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -584,7 +584,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -664,7 +664,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -681,7 +681,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -699,7 +699,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -716,7 +716,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -731,4 +731,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/clinicalimpression.py b/spark_fhir_schemas/r4/resources/clinicalimpression.py index 09044e78..16c09557 100644 --- a/spark_fhir_schemas/r4/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4/resources/clinicalimpression.py @@ -268,7 +268,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -289,7 +289,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -469,7 +469,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -490,7 +490,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -508,7 +508,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -528,7 +528,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -545,7 +545,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -562,7 +562,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -579,7 +579,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -598,7 +598,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,4 +613,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/codesystem.py b/spark_fhir_schemas/r4/resources/codesystem.py index ed1ae40c..0204e22b 100644 --- a/spark_fhir_schemas/r4/resources/codesystem.py +++ b/spark_fhir_schemas/r4/resources/codesystem.py @@ -304,7 +304,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -325,7 +325,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -424,7 +424,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -461,7 +461,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -478,7 +478,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -591,7 +591,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -609,7 +609,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -628,7 +628,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -643,4 +643,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/communication.py b/spark_fhir_schemas/r4/resources/communication.py index 68f7da53..62abc6c2 100644 --- a/spark_fhir_schemas/r4/resources/communication.py +++ b/spark_fhir_schemas/r4/resources/communication.py @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -276,7 +276,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -313,7 +313,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -331,7 +331,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -349,7 +349,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -366,7 +366,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -383,7 +383,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -464,7 +464,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -512,7 +512,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -580,7 +580,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,7 +613,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -630,7 +630,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -647,7 +647,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -665,7 +665,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -680,4 +680,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/communicationrequest.py b/spark_fhir_schemas/r4/resources/communicationrequest.py index 5d66116c..d0f75892 100644 --- a/spark_fhir_schemas/r4/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4/resources/communicationrequest.py @@ -262,7 +262,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -283,7 +283,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -337,7 +337,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -402,7 +402,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -438,7 +438,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -471,7 +471,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -504,7 +504,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -571,7 +571,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -604,7 +604,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -621,7 +621,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -639,7 +639,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -654,4 +654,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/compartmentdefinition.py b/spark_fhir_schemas/r4/resources/compartmentdefinition.py index 24747141..07a6e3a2 100644 --- a/spark_fhir_schemas/r4/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4/resources/compartmentdefinition.py @@ -249,7 +249,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -385,7 +385,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -422,7 +422,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -437,4 +437,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/composition.py b/spark_fhir_schemas/r4/resources/composition.py index e13faa7d..67260077 100644 --- a/spark_fhir_schemas/r4/resources/composition.py +++ b/spark_fhir_schemas/r4/resources/composition.py @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -333,7 +333,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -401,7 +401,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -435,7 +435,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -469,7 +469,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -504,7 +504,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -519,4 +519,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/conceptmap.py b/spark_fhir_schemas/r4/resources/conceptmap.py index 4ba19b0e..cc7293ec 100644 --- a/spark_fhir_schemas/r4/resources/conceptmap.py +++ b/spark_fhir_schemas/r4/resources/conceptmap.py @@ -277,7 +277,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -298,7 +298,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -393,7 +393,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -430,7 +430,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -447,7 +447,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -511,7 +511,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -526,4 +526,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/condition.py b/spark_fhir_schemas/r4/resources/condition.py index 55b03209..44fb32f1 100644 --- a/spark_fhir_schemas/r4/resources/condition.py +++ b/spark_fhir_schemas/r4/resources/condition.py @@ -281,7 +281,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -368,7 +368,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -416,7 +416,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -629,7 +629,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -647,7 +647,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -665,7 +665,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -680,4 +680,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/consent.py b/spark_fhir_schemas/r4/resources/consent.py index fdb1716c..5d96bdc7 100644 --- a/spark_fhir_schemas/r4/resources/consent.py +++ b/spark_fhir_schemas/r4/resources/consent.py @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -262,7 +262,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -279,7 +279,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -315,7 +315,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -383,7 +383,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -438,7 +438,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -471,7 +471,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -502,4 +502,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/contract.py b/spark_fhir_schemas/r4/resources/contract.py index bcc83406..d5128e52 100644 --- a/spark_fhir_schemas/r4/resources/contract.py +++ b/spark_fhir_schemas/r4/resources/contract.py @@ -334,7 +334,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -355,7 +355,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -373,7 +373,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -537,7 +537,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,7 +557,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -577,7 +577,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -594,7 +594,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -713,7 +713,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -748,7 +748,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -766,7 +766,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -787,7 +787,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -807,7 +807,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -829,7 +829,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -846,7 +846,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -863,7 +863,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -914,4 +914,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/coverage.py b/spark_fhir_schemas/r4/resources/coverage.py index 833203d3..804a391d 100644 --- a/spark_fhir_schemas/r4/resources/coverage.py +++ b/spark_fhir_schemas/r4/resources/coverage.py @@ -248,7 +248,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -269,7 +269,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -286,7 +286,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -436,7 +436,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -476,7 +476,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -496,7 +496,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -511,4 +511,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py index 9ddc39df..4466f3fa 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -271,7 +271,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -288,7 +288,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -452,7 +452,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -470,7 +470,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -488,7 +488,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -503,4 +503,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py index 849c9845..4ee82b95 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py @@ -242,7 +242,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -280,7 +280,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -418,7 +418,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -453,7 +453,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -468,4 +468,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/detectedissue.py b/spark_fhir_schemas/r4/resources/detectedissue.py index 7d01563f..1b4245c2 100644 --- a/spark_fhir_schemas/r4/resources/detectedissue.py +++ b/spark_fhir_schemas/r4/resources/detectedissue.py @@ -235,7 +235,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -256,7 +256,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -372,7 +372,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -390,7 +390,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -428,7 +428,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -443,4 +443,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/device.py b/spark_fhir_schemas/r4/resources/device.py index 6334804e..aaeba393 100644 --- a/spark_fhir_schemas/r4/resources/device.py +++ b/spark_fhir_schemas/r4/resources/device.py @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -293,7 +293,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -311,7 +311,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -346,7 +346,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -426,7 +426,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -463,7 +463,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -480,7 +480,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,7 +498,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -547,7 +547,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -595,7 +595,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,7 +613,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -643,4 +643,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/devicedefinition.py b/spark_fhir_schemas/r4/resources/devicedefinition.py index 3ca9921f..5eb981d0 100644 --- a/spark_fhir_schemas/r4/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4/resources/devicedefinition.py @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -291,7 +291,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,7 +309,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -363,7 +363,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,7 +398,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -417,7 +417,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -434,7 +434,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -467,7 +467,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -484,7 +484,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -502,7 +502,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -536,7 +536,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -584,7 +584,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -633,7 +633,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -648,4 +648,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/devicemetric.py b/spark_fhir_schemas/r4/resources/devicemetric.py index 4043aac1..2d29ab26 100644 --- a/spark_fhir_schemas/r4/resources/devicemetric.py +++ b/spark_fhir_schemas/r4/resources/devicemetric.py @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -393,7 +393,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -408,4 +408,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/devicerequest.py b/spark_fhir_schemas/r4/resources/devicerequest.py index cb754a0c..e1322fe0 100644 --- a/spark_fhir_schemas/r4/resources/devicerequest.py +++ b/spark_fhir_schemas/r4/resources/devicerequest.py @@ -274,7 +274,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -312,7 +312,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -330,7 +330,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -383,7 +383,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -492,7 +492,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -641,7 +641,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -658,7 +658,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -676,7 +676,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -695,7 +695,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -714,7 +714,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -731,7 +731,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -746,4 +746,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/deviceusestatement.py b/spark_fhir_schemas/r4/resources/deviceusestatement.py index 4e8a0001..3fb1eced 100644 --- a/spark_fhir_schemas/r4/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4/resources/deviceusestatement.py @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -290,7 +290,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -327,7 +327,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -421,7 +421,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -438,7 +438,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -474,7 +474,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -489,4 +489,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/diagnosticreport.py b/spark_fhir_schemas/r4/resources/diagnosticreport.py index ffdde2c9..030469f7 100644 --- a/spark_fhir_schemas/r4/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4/resources/diagnosticreport.py @@ -264,7 +264,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -285,7 +285,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -340,7 +340,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -444,7 +444,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -462,7 +462,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -479,7 +479,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -496,7 +496,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -516,7 +516,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -535,7 +535,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -556,7 +556,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -575,7 +575,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -590,4 +590,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/documentmanifest.py b/spark_fhir_schemas/r4/resources/documentmanifest.py index b695d86e..b18d69de 100644 --- a/spark_fhir_schemas/r4/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4/resources/documentmanifest.py @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -247,7 +247,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -281,7 +281,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -371,7 +371,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -407,7 +407,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -424,7 +424,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -439,4 +439,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/documentreference.py b/spark_fhir_schemas/r4/resources/documentreference.py index cfd7ea60..6766a26e 100644 --- a/spark_fhir_schemas/r4/resources/documentreference.py +++ b/spark_fhir_schemas/r4/resources/documentreference.py @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -271,7 +271,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,7 +306,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -359,7 +359,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -409,7 +409,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -458,7 +458,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -481,7 +481,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -499,7 +499,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -529,4 +529,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py index db8dc7a1..2391556a 100644 --- a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py @@ -327,7 +327,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -388,7 +388,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -443,7 +443,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -476,7 +476,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -497,7 +497,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -515,7 +515,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -573,7 +573,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -591,7 +591,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -609,7 +609,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -627,7 +627,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -645,7 +645,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -663,7 +663,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -790,7 +790,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -807,7 +807,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -824,7 +824,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -839,4 +839,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/encounter.py b/spark_fhir_schemas/r4/resources/encounter.py index 645860fb..c7e1b130 100644 --- a/spark_fhir_schemas/r4/resources/encounter.py +++ b/spark_fhir_schemas/r4/resources/encounter.py @@ -279,7 +279,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -300,7 +300,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,7 +338,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -378,7 +378,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -464,7 +464,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -482,7 +482,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -499,7 +499,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -516,7 +516,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -565,7 +565,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -583,7 +583,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -600,7 +600,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -617,7 +617,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -649,7 +649,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -700,4 +700,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/endpoint.py b/spark_fhir_schemas/r4/resources/endpoint.py index 9b8b0ed9..4fe33281 100644 --- a/spark_fhir_schemas/r4/resources/endpoint.py +++ b/spark_fhir_schemas/r4/resources/endpoint.py @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -261,7 +261,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -350,7 +350,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -369,7 +369,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -401,4 +401,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/enrollmentrequest.py b/spark_fhir_schemas/r4/resources/enrollmentrequest.py index a029b548..d96e2fdf 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4/resources/enrollmentrequest.py @@ -197,7 +197,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -235,7 +235,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -340,4 +340,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/enrollmentresponse.py b/spark_fhir_schemas/r4/resources/enrollmentresponse.py index fb027cda..f0f35b58 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4/resources/enrollmentresponse.py @@ -199,7 +199,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -220,7 +220,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -237,7 +237,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -331,4 +331,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/episodeofcare.py b/spark_fhir_schemas/r4/resources/episodeofcare.py index 93d863d2..eccf8638 100644 --- a/spark_fhir_schemas/r4/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4/resources/episodeofcare.py @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -247,7 +247,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -266,7 +266,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -286,7 +286,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -304,7 +304,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -386,7 +386,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -436,7 +436,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -451,4 +451,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/eventdefinition.py b/spark_fhir_schemas/r4/resources/eventdefinition.py index b36cba60..ee1adf8c 100644 --- a/spark_fhir_schemas/r4/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4/resources/eventdefinition.py @@ -311,7 +311,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -372,7 +372,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -466,7 +466,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -503,7 +503,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -521,7 +521,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -597,7 +597,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -615,7 +615,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -633,7 +633,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -651,7 +651,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -669,7 +669,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -687,7 +687,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -706,7 +706,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -721,4 +721,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/evidence.py b/spark_fhir_schemas/r4/resources/evidence.py index 989a2ba1..3eb1bb1b 100644 --- a/spark_fhir_schemas/r4/resources/evidence.py +++ b/spark_fhir_schemas/r4/resources/evidence.py @@ -305,7 +305,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -326,7 +326,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -428,7 +428,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -461,7 +461,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -482,7 +482,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -499,7 +499,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,7 +557,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -575,7 +575,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -593,7 +593,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -611,7 +611,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -629,7 +629,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -647,7 +647,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -681,7 +681,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -699,7 +699,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -714,4 +714,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/evidencevariable.py b/spark_fhir_schemas/r4/resources/evidencevariable.py index cbb1c3e1..07420137 100644 --- a/spark_fhir_schemas/r4/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4/resources/evidencevariable.py @@ -305,7 +305,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -326,7 +326,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -366,7 +366,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -464,7 +464,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -485,7 +485,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -503,7 +503,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -561,7 +561,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -579,7 +579,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -597,7 +597,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -615,7 +615,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -633,7 +633,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -651,7 +651,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -671,7 +671,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -686,4 +686,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/examplescenario.py b/spark_fhir_schemas/r4/resources/examplescenario.py index bf92724d..e543d401 100644 --- a/spark_fhir_schemas/r4/resources/examplescenario.py +++ b/spark_fhir_schemas/r4/resources/examplescenario.py @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -293,7 +293,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -333,7 +333,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -391,7 +391,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -412,7 +412,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -430,7 +430,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -481,7 +481,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,7 +498,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -515,7 +515,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -532,7 +532,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -547,4 +547,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/explanationofbenefit.py b/spark_fhir_schemas/r4/resources/explanationofbenefit.py index 23351742..5a835760 100644 --- a/spark_fhir_schemas/r4/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4/resources/explanationofbenefit.py @@ -350,7 +350,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -371,7 +371,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -388,7 +388,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -600,7 +600,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -747,7 +747,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -764,7 +764,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -782,7 +782,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -799,7 +799,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -817,7 +817,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -851,7 +851,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -885,7 +885,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -902,7 +902,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -920,7 +920,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -937,7 +937,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1001,7 +1001,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1033,7 +1033,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -1048,4 +1048,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/familymemberhistory.py b/spark_fhir_schemas/r4/resources/familymemberhistory.py index 0cceda3d..d8984810 100644 --- a/spark_fhir_schemas/r4/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4/resources/familymemberhistory.py @@ -274,7 +274,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -314,7 +314,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -351,7 +351,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -545,7 +545,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -563,7 +563,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -582,7 +582,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -602,7 +602,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -617,4 +617,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/flag.py b/spark_fhir_schemas/r4/resources/flag.py index 45112ab4..65da048c 100644 --- a/spark_fhir_schemas/r4/resources/flag.py +++ b/spark_fhir_schemas/r4/resources/flag.py @@ -205,7 +205,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -266,7 +266,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -358,4 +358,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/goal.py b/spark_fhir_schemas/r4/resources/goal.py index 1393e419..84628166 100644 --- a/spark_fhir_schemas/r4/resources/goal.py +++ b/spark_fhir_schemas/r4/resources/goal.py @@ -239,7 +239,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -260,7 +260,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -279,7 +279,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -314,7 +314,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -397,7 +397,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -435,7 +435,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -452,7 +452,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -470,7 +470,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -502,4 +502,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/graphdefinition.py b/spark_fhir_schemas/r4/resources/graphdefinition.py index 2f5a0863..25963b79 100644 --- a/spark_fhir_schemas/r4/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4/resources/graphdefinition.py @@ -260,7 +260,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -281,7 +281,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -359,7 +359,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -414,7 +414,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -477,7 +477,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -492,4 +492,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/group.py b/spark_fhir_schemas/r4/resources/group.py index a815b6cb..d1f30956 100644 --- a/spark_fhir_schemas/r4/resources/group.py +++ b/spark_fhir_schemas/r4/resources/group.py @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -246,7 +246,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,7 +338,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -355,7 +355,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -370,4 +370,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/guidanceresponse.py b/spark_fhir_schemas/r4/resources/guidanceresponse.py index a524cb80..8c7a5398 100644 --- a/spark_fhir_schemas/r4/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4/resources/guidanceresponse.py @@ -251,7 +251,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,7 +306,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -415,7 +415,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -435,7 +435,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -452,7 +452,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -471,7 +471,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -525,7 +525,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -540,4 +540,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/healthcareservice.py b/spark_fhir_schemas/r4/resources/healthcareservice.py index 0cba8e0d..811ad355 100644 --- a/spark_fhir_schemas/r4/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4/resources/healthcareservice.py @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -291,7 +291,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,7 +344,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -361,7 +361,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -379,7 +379,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -451,7 +451,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -469,7 +469,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -505,7 +505,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -522,7 +522,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -539,7 +539,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -559,7 +559,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -577,7 +577,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -598,7 +598,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -616,7 +616,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -638,7 +638,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -653,4 +653,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/imagingstudy.py b/spark_fhir_schemas/r4/resources/imagingstudy.py index 58f9fea8..9c0408f1 100644 --- a/spark_fhir_schemas/r4/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4/resources/imagingstudy.py @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -381,7 +381,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -413,7 +413,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -433,7 +433,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -501,7 +501,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -534,7 +534,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -551,7 +551,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -571,7 +571,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -591,7 +591,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -606,4 +606,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/immunization.py b/spark_fhir_schemas/r4/resources/immunization.py index 81d5116e..48fe0848 100644 --- a/spark_fhir_schemas/r4/resources/immunization.py +++ b/spark_fhir_schemas/r4/resources/immunization.py @@ -281,7 +281,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -531,7 +531,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -549,7 +549,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -566,7 +566,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -584,7 +584,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -604,7 +604,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -622,7 +622,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -639,7 +639,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -675,7 +675,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -693,7 +693,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -708,4 +708,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/immunizationevaluation.py b/spark_fhir_schemas/r4/resources/immunizationevaluation.py index a4a91a6e..f1c23c87 100644 --- a/spark_fhir_schemas/r4/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4/resources/immunizationevaluation.py @@ -229,7 +229,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -420,4 +420,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py index 34738f2a..1afc7dac 100644 --- a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py @@ -196,7 +196,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -311,4 +311,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/implementationguide.py b/spark_fhir_schemas/r4/resources/implementationguide.py index 86c9f622..090ab74e 100644 --- a/spark_fhir_schemas/r4/resources/implementationguide.py +++ b/spark_fhir_schemas/r4/resources/implementationguide.py @@ -293,7 +293,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -314,7 +314,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -394,7 +394,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -449,7 +449,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -510,7 +510,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -528,7 +528,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -575,4 +575,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/insuranceplan.py b/spark_fhir_schemas/r4/resources/insuranceplan.py index 852c6267..6ed6da3a 100644 --- a/spark_fhir_schemas/r4/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4/resources/insuranceplan.py @@ -228,7 +228,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -249,7 +249,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -286,7 +286,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -357,7 +357,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -374,7 +374,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -409,7 +409,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -426,7 +426,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -443,7 +443,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -458,4 +458,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/invoice.py b/spark_fhir_schemas/r4/resources/invoice.py index 4b5b4379..75fc0fb7 100644 --- a/spark_fhir_schemas/r4/resources/invoice.py +++ b/spark_fhir_schemas/r4/resources/invoice.py @@ -238,7 +238,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -277,7 +277,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -361,7 +361,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -409,7 +409,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -429,7 +429,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -492,7 +492,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -507,4 +507,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/library.py b/spark_fhir_schemas/r4/resources/library.py index 6655b305..b836fb0e 100644 --- a/spark_fhir_schemas/r4/resources/library.py +++ b/spark_fhir_schemas/r4/resources/library.py @@ -327,7 +327,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -388,7 +388,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -500,7 +500,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -537,7 +537,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -554,7 +554,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -630,7 +630,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -648,7 +648,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -666,7 +666,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -684,7 +684,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -702,7 +702,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -720,7 +720,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -737,7 +737,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -755,7 +755,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -774,7 +774,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -789,4 +789,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/linkage.py b/spark_fhir_schemas/r4/resources/linkage.py index d72e81ca..b44306d4 100644 --- a/spark_fhir_schemas/r4/resources/linkage.py +++ b/spark_fhir_schemas/r4/resources/linkage.py @@ -199,7 +199,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -220,7 +220,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -274,4 +274,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/list.py b/spark_fhir_schemas/r4/resources/list.py index e1978cbe..a0e28dbd 100644 --- a/spark_fhir_schemas/r4/resources/list.py +++ b/spark_fhir_schemas/r4/resources/list.py @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,7 +238,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -256,7 +256,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -374,7 +374,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -391,7 +391,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -421,4 +421,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/location.py b/spark_fhir_schemas/r4/resources/location.py index 1ce5cbeb..2162c341 100644 --- a/spark_fhir_schemas/r4/resources/location.py +++ b/spark_fhir_schemas/r4/resources/location.py @@ -242,7 +242,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -280,7 +280,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -441,7 +441,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -462,7 +462,7 @@ class of locations. max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -477,4 +477,5 @@ class of locations. else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/measure.py b/spark_fhir_schemas/r4/resources/measure.py index 2b525614..cff25e59 100644 --- a/spark_fhir_schemas/r4/resources/measure.py +++ b/spark_fhir_schemas/r4/resources/measure.py @@ -354,7 +354,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -375,7 +375,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -414,7 +414,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -510,7 +510,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -547,7 +547,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -564,7 +564,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -641,7 +641,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -659,7 +659,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -677,7 +677,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -695,7 +695,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -713,7 +713,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -731,7 +731,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -749,7 +749,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -816,7 +816,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -890,7 +890,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -923,7 +923,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -942,7 +942,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -957,4 +957,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/measurereport.py b/spark_fhir_schemas/r4/resources/measurereport.py index e808f8f8..e2f20067 100644 --- a/spark_fhir_schemas/r4/resources/measurereport.py +++ b/spark_fhir_schemas/r4/resources/measurereport.py @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -247,7 +247,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -266,7 +266,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -385,7 +385,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -403,7 +403,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -418,4 +418,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/media.py b/spark_fhir_schemas/r4/resources/media.py index ac8faf62..3361b3a5 100644 --- a/spark_fhir_schemas/r4/resources/media.py +++ b/spark_fhir_schemas/r4/resources/media.py @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -297,7 +297,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -315,7 +315,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -490,7 +490,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -621,7 +621,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -636,4 +636,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medication.py b/spark_fhir_schemas/r4/resources/medication.py index 2d05af61..47194dac 100644 --- a/spark_fhir_schemas/r4/resources/medication.py +++ b/spark_fhir_schemas/r4/resources/medication.py @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -239,7 +239,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -256,7 +256,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -356,7 +356,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -386,4 +386,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicationadministration.py b/spark_fhir_schemas/r4/resources/medicationadministration.py index 0e7b13f3..c240aff6 100644 --- a/spark_fhir_schemas/r4/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4/resources/medicationadministration.py @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -335,7 +335,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -352,7 +352,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -387,7 +387,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -528,7 +528,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -545,7 +545,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -562,7 +562,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -595,7 +595,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,7 +613,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -647,7 +647,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -662,4 +662,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicationdispense.py b/spark_fhir_schemas/r4/resources/medicationdispense.py index 629cf80c..8be3143a 100644 --- a/spark_fhir_schemas/r4/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4/resources/medicationdispense.py @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -320,7 +320,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -337,7 +337,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -482,7 +482,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -499,7 +499,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -531,7 +531,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -643,7 +643,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -661,7 +661,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -678,7 +678,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -716,7 +716,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -734,7 +734,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -749,4 +749,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicationknowledge.py b/spark_fhir_schemas/r4/resources/medicationknowledge.py index 9f9dee36..08b5da6e 100644 --- a/spark_fhir_schemas/r4/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4/resources/medicationknowledge.py @@ -279,7 +279,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -300,7 +300,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -405,7 +405,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -425,7 +425,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -443,7 +443,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -460,7 +460,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -477,7 +477,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -509,7 +509,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -526,7 +526,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -543,7 +543,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -560,7 +560,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -577,7 +577,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -610,7 +610,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -628,7 +628,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -645,7 +645,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -663,7 +663,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -678,4 +678,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicationrequest.py b/spark_fhir_schemas/r4/resources/medicationrequest.py index 2421e498..f2bf8e3b 100644 --- a/spark_fhir_schemas/r4/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4/resources/medicationrequest.py @@ -323,7 +323,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,7 +344,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -429,7 +429,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -555,7 +555,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -651,7 +651,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -668,7 +668,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -686,7 +686,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -705,7 +705,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -723,7 +723,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -774,7 +774,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -792,7 +792,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -809,7 +809,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -881,7 +881,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -901,7 +901,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -916,4 +916,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicationstatement.py b/spark_fhir_schemas/r4/resources/medicationstatement.py index 72c4c7e7..d5df77dd 100644 --- a/spark_fhir_schemas/r4/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4/resources/medicationstatement.py @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,7 +338,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -355,7 +355,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -372,7 +372,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -406,7 +406,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -560,7 +560,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -577,7 +577,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -594,7 +594,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -612,7 +612,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -629,7 +629,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -644,4 +644,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproduct.py b/spark_fhir_schemas/r4/resources/medicinalproduct.py index f1da5eeb..221355a9 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproduct.py +++ b/spark_fhir_schemas/r4/resources/medicinalproduct.py @@ -247,7 +247,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -268,7 +268,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -285,7 +285,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,7 +398,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -416,7 +416,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -433,7 +433,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -450,7 +450,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -467,7 +467,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -485,7 +485,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -502,7 +502,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -519,7 +519,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -536,7 +536,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -554,7 +554,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -572,7 +572,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -590,7 +590,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -605,4 +605,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py index ee21e514..1af3fbf3 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py @@ -231,7 +231,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -252,7 +252,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -462,7 +462,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -522,4 +522,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py index b06b6a8d..07b6975e 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py @@ -205,7 +205,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -290,7 +290,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -326,7 +326,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -343,7 +343,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -358,4 +358,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductindication.py b/spark_fhir_schemas/r4/resources/medicinalproductindication.py index d8831a2c..dabaf171 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductindication.py @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -227,7 +227,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -291,7 +291,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -339,7 +339,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -356,7 +356,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -373,7 +373,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -388,4 +388,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py index 603b1bf9..b145279b 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py @@ -210,7 +210,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -231,7 +231,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,4 +329,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py index d1bfae5a..1ca13c9c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py @@ -203,7 +203,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -260,7 +260,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -337,4 +337,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py index bae37811..3ba0987d 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py @@ -204,7 +204,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -225,7 +225,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -290,7 +290,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -307,7 +307,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -339,7 +339,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -354,4 +354,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py index f12915c2..49ee4ed7 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py @@ -212,7 +212,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -334,7 +334,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -351,7 +351,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -369,7 +369,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -384,4 +384,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py index 605097fa..0f9cf4a9 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py @@ -205,7 +205,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -290,7 +290,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -307,7 +307,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -324,7 +324,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -342,7 +342,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -357,4 +357,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py index 4c217ddc..abbf688c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py @@ -196,7 +196,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -217,7 +217,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -311,4 +311,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/messagedefinition.py b/spark_fhir_schemas/r4/resources/messagedefinition.py index cd6276fb..a3b78e28 100644 --- a/spark_fhir_schemas/r4/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4/resources/messagedefinition.py @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -313,7 +313,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -378,7 +378,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -424,7 +424,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -461,7 +461,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -479,7 +479,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -545,7 +545,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -583,7 +583,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -604,7 +604,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -624,7 +624,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -639,4 +639,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/messageheader.py b/spark_fhir_schemas/r4/resources/messageheader.py index bc80d60a..cdb06bdc 100644 --- a/spark_fhir_schemas/r4/resources/messageheader.py +++ b/spark_fhir_schemas/r4/resources/messageheader.py @@ -240,7 +240,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -261,7 +261,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -301,7 +301,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -432,7 +432,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -462,4 +462,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/molecularsequence.py b/spark_fhir_schemas/r4/resources/molecularsequence.py index 8d417821..00946077 100644 --- a/spark_fhir_schemas/r4/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4/resources/molecularsequence.py @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -264,7 +264,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -413,7 +413,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -436,7 +436,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -470,7 +470,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -487,7 +487,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -504,7 +504,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -519,4 +519,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/namingsystem.py b/spark_fhir_schemas/r4/resources/namingsystem.py index 4a06d516..5e16b67d 100644 --- a/spark_fhir_schemas/r4/resources/namingsystem.py +++ b/spark_fhir_schemas/r4/resources/namingsystem.py @@ -239,7 +239,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -260,7 +260,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -383,7 +383,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -404,7 +404,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,4 +419,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/nutritionorder.py b/spark_fhir_schemas/r4/resources/nutritionorder.py index 9797dd5d..c528330f 100644 --- a/spark_fhir_schemas/r4/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4/resources/nutritionorder.py @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -278,7 +278,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -314,7 +314,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -333,7 +333,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -351,7 +351,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -463,7 +463,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -484,7 +484,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -510,7 +510,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -543,7 +543,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -577,7 +577,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -592,4 +592,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/observation.py b/spark_fhir_schemas/r4/resources/observation.py index 0b768ea7..fbe2e696 100644 --- a/spark_fhir_schemas/r4/resources/observation.py +++ b/spark_fhir_schemas/r4/resources/observation.py @@ -340,7 +340,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -361,7 +361,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -378,7 +378,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -397,7 +397,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -415,7 +415,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -434,7 +434,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -493,7 +493,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -592,7 +592,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -737,7 +737,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -754,7 +754,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -835,7 +835,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -854,7 +854,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -873,7 +873,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -894,7 +894,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -909,4 +909,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/observationdefinition.py b/spark_fhir_schemas/r4/resources/observationdefinition.py index bf0fc026..68caa683 100644 --- a/spark_fhir_schemas/r4/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4/resources/observationdefinition.py @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -271,7 +271,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -304,7 +304,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -360,7 +360,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -439,4 +439,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/operationdefinition.py b/spark_fhir_schemas/r4/resources/operationdefinition.py index b7207ceb..fa57d802 100644 --- a/spark_fhir_schemas/r4/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4/resources/operationdefinition.py @@ -295,7 +295,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -316,7 +316,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,7 +398,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -435,7 +435,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -453,7 +453,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -535,7 +535,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -596,7 +596,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -615,7 +615,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -630,4 +630,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/operationoutcome.py b/spark_fhir_schemas/r4/resources/operationoutcome.py index 86bba9eb..ea223ec4 100644 --- a/spark_fhir_schemas/r4/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4/resources/operationoutcome.py @@ -185,7 +185,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -206,7 +206,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -223,7 +223,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -238,4 +238,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/organization.py b/spark_fhir_schemas/r4/resources/organization.py index 328203fb..a8effa65 100644 --- a/spark_fhir_schemas/r4/resources/organization.py +++ b/spark_fhir_schemas/r4/resources/organization.py @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -282,7 +282,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -304,7 +304,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -321,7 +321,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -371,7 +371,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -386,4 +386,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/organizationaffiliation.py b/spark_fhir_schemas/r4/resources/organizationaffiliation.py index 3ad18275..d5cdb35d 100644 --- a/spark_fhir_schemas/r4/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4/resources/organizationaffiliation.py @@ -223,7 +223,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -261,7 +261,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -329,7 +329,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -346,7 +346,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -364,7 +364,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -381,7 +381,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,7 +398,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -415,7 +415,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -432,7 +432,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -447,4 +447,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/parameters.py b/spark_fhir_schemas/r4/resources/parameters.py index 1a827afc..899933d4 100644 --- a/spark_fhir_schemas/r4/resources/parameters.py +++ b/spark_fhir_schemas/r4/resources/parameters.py @@ -145,7 +145,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -160,4 +160,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/patient.py b/spark_fhir_schemas/r4/resources/patient.py index a3f07bbf..6e26e6d3 100644 --- a/spark_fhir_schemas/r4/resources/patient.py +++ b/spark_fhir_schemas/r4/resources/patient.py @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -319,7 +319,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -337,7 +337,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -363,7 +363,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -401,7 +401,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -418,7 +418,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -436,7 +436,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -453,7 +453,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -485,7 +485,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -500,4 +500,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/paymentnotice.py b/spark_fhir_schemas/r4/resources/paymentnotice.py index 7fdbfe0b..2ccaa7c5 100644 --- a/spark_fhir_schemas/r4/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4/resources/paymentnotice.py @@ -219,7 +219,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -240,7 +240,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -425,4 +425,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/paymentreconciliation.py b/spark_fhir_schemas/r4/resources/paymentreconciliation.py index 1ec398c9..2d969007 100644 --- a/spark_fhir_schemas/r4/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4/resources/paymentreconciliation.py @@ -233,7 +233,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -271,7 +271,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -416,7 +416,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -448,7 +448,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -463,4 +463,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/person.py b/spark_fhir_schemas/r4/resources/person.py index 7b66dc10..0fe801fc 100644 --- a/spark_fhir_schemas/r4/resources/person.py +++ b/spark_fhir_schemas/r4/resources/person.py @@ -215,7 +215,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -236,7 +236,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -253,7 +253,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -270,7 +270,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -287,7 +287,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -358,7 +358,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -373,4 +373,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/plandefinition.py b/spark_fhir_schemas/r4/resources/plandefinition.py index 56ad79ab..ad685060 100644 --- a/spark_fhir_schemas/r4/resources/plandefinition.py +++ b/spark_fhir_schemas/r4/resources/plandefinition.py @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -393,7 +393,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -506,7 +506,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -543,7 +543,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -561,7 +561,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -638,7 +638,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -656,7 +656,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -674,7 +674,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -692,7 +692,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -710,7 +710,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -728,7 +728,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -746,7 +746,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -766,7 +766,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -783,7 +783,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -798,4 +798,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/practitioner.py b/spark_fhir_schemas/r4/resources/practitioner.py index b7e97274..8f1e92f5 100644 --- a/spark_fhir_schemas/r4/resources/practitioner.py +++ b/spark_fhir_schemas/r4/resources/practitioner.py @@ -227,7 +227,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -248,7 +248,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -284,7 +284,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -322,7 +322,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -344,7 +344,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -364,7 +364,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -381,7 +381,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,4 +396,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/practitionerrole.py b/spark_fhir_schemas/r4/resources/practitionerrole.py index b21ff4be..68c5fa44 100644 --- a/spark_fhir_schemas/r4/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4/resources/practitionerrole.py @@ -236,7 +236,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -274,7 +274,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -340,7 +340,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -357,7 +357,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -374,7 +374,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -409,7 +409,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -427,7 +427,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -445,7 +445,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -467,7 +467,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -482,4 +482,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/procedure.py b/spark_fhir_schemas/r4/resources/procedure.py index b4cac1e7..9912cbf1 100644 --- a/spark_fhir_schemas/r4/resources/procedure.py +++ b/spark_fhir_schemas/r4/resources/procedure.py @@ -301,7 +301,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -322,7 +322,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -341,7 +341,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -359,7 +359,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -377,7 +377,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -395,7 +395,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -412,7 +412,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -612,7 +612,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -646,7 +646,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -663,7 +663,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -681,7 +681,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -714,7 +714,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -734,7 +734,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -752,7 +752,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -771,7 +771,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -788,7 +788,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -807,7 +807,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -825,7 +825,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -842,7 +842,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -857,4 +857,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/provenance.py b/spark_fhir_schemas/r4/resources/provenance.py index 34a8931c..df916265 100644 --- a/spark_fhir_schemas/r4/resources/provenance.py +++ b/spark_fhir_schemas/r4/resources/provenance.py @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -284,7 +284,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -335,7 +335,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -367,7 +367,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -402,7 +402,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -437,7 +437,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -452,4 +452,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/questionnaire.py b/spark_fhir_schemas/r4/resources/questionnaire.py index d97e6002..d78876b0 100644 --- a/spark_fhir_schemas/r4/resources/questionnaire.py +++ b/spark_fhir_schemas/r4/resources/questionnaire.py @@ -287,7 +287,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -308,7 +308,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -348,7 +348,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -378,7 +378,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -403,7 +403,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -441,7 +441,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -478,7 +478,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -496,7 +496,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -569,7 +569,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -587,7 +587,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -602,4 +602,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/questionnaireresponse.py b/spark_fhir_schemas/r4/resources/questionnaireresponse.py index 76ce9f7a..8ae7d396 100644 --- a/spark_fhir_schemas/r4/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4/resources/questionnaireresponse.py @@ -223,7 +223,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -280,7 +280,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -414,7 +414,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -429,4 +429,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/relatedperson.py b/spark_fhir_schemas/r4/resources/relatedperson.py index 34405f4f..507927a7 100644 --- a/spark_fhir_schemas/r4/resources/relatedperson.py +++ b/spark_fhir_schemas/r4/resources/relatedperson.py @@ -229,7 +229,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -250,7 +250,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -301,7 +301,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -318,7 +318,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -335,7 +335,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -357,7 +357,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -374,7 +374,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -407,7 +407,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -422,4 +422,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/requestgroup.py b/spark_fhir_schemas/r4/resources/requestgroup.py index 4c44f119..69246c2a 100644 --- a/spark_fhir_schemas/r4/resources/requestgroup.py +++ b/spark_fhir_schemas/r4/resources/requestgroup.py @@ -236,7 +236,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -257,7 +257,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -274,7 +274,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -310,7 +310,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -328,7 +328,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -346,7 +346,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -503,7 +503,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -520,7 +520,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -537,7 +537,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -554,7 +554,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -569,4 +569,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/researchdefinition.py b/spark_fhir_schemas/r4/resources/researchdefinition.py index fdc3123b..d772aa05 100644 --- a/spark_fhir_schemas/r4/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchdefinition.py @@ -335,7 +335,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -356,7 +356,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -500,7 +500,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -539,7 +539,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,7 +557,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -634,7 +634,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -652,7 +652,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -670,7 +670,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -688,7 +688,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -706,7 +706,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -724,7 +724,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -742,7 +742,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -821,4 +821,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/researchelementdefinition.py b/spark_fhir_schemas/r4/resources/researchelementdefinition.py index 33a9febb..739139d5 100644 --- a/spark_fhir_schemas/r4/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchelementdefinition.py @@ -331,7 +331,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -352,7 +352,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -496,7 +496,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -535,7 +535,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -553,7 +553,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -630,7 +630,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -648,7 +648,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -666,7 +666,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -684,7 +684,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -702,7 +702,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -720,7 +720,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -738,7 +738,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -760,7 +760,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -775,4 +775,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/researchstudy.py b/spark_fhir_schemas/r4/resources/researchstudy.py index a11cabf1..2bf765da 100644 --- a/spark_fhir_schemas/r4/resources/researchstudy.py +++ b/spark_fhir_schemas/r4/resources/researchstudy.py @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -296,7 +296,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -313,7 +313,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -333,7 +333,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -350,7 +350,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -403,7 +403,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -421,7 +421,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -440,7 +440,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -458,7 +458,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -475,7 +475,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -492,7 +492,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -509,7 +509,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -543,7 +543,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -610,7 +610,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -642,7 +642,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -661,7 +661,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -679,7 +679,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -694,4 +694,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/researchsubject.py b/spark_fhir_schemas/r4/resources/researchsubject.py index d252f5a8..30a0d06f 100644 --- a/spark_fhir_schemas/r4/resources/researchsubject.py +++ b/spark_fhir_schemas/r4/resources/researchsubject.py @@ -201,7 +201,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -239,7 +239,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -322,4 +322,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/riskassessment.py b/spark_fhir_schemas/r4/resources/riskassessment.py index ae65ce8a..0e5f7d9c 100644 --- a/spark_fhir_schemas/r4/resources/riskassessment.py +++ b/spark_fhir_schemas/r4/resources/riskassessment.py @@ -237,7 +237,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -258,7 +258,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -446,7 +446,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -463,7 +463,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -481,7 +481,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,7 +498,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -518,7 +518,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -533,4 +533,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py index d624dc41..4cf1b2f9 100644 --- a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py @@ -318,7 +318,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -339,7 +339,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -379,7 +379,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -434,7 +434,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -467,7 +467,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -488,7 +488,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -506,7 +506,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -564,7 +564,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -582,7 +582,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -600,7 +600,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -618,7 +618,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -636,7 +636,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -654,7 +654,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -779,7 +779,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -794,4 +794,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/schedule.py b/spark_fhir_schemas/r4/resources/schedule.py index 82a15651..68905f2c 100644 --- a/spark_fhir_schemas/r4/resources/schedule.py +++ b/spark_fhir_schemas/r4/resources/schedule.py @@ -216,7 +216,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -237,7 +237,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -254,7 +254,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -310,7 +310,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -328,7 +328,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,4 +365,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/searchparameter.py b/spark_fhir_schemas/r4/resources/searchparameter.py index 21576050..76346e44 100644 --- a/spark_fhir_schemas/r4/resources/searchparameter.py +++ b/spark_fhir_schemas/r4/resources/searchparameter.py @@ -293,7 +293,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -314,7 +314,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -411,7 +411,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -447,7 +447,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -465,7 +465,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -514,7 +514,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -541,7 +541,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -573,7 +573,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -588,4 +588,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/servicerequest.py b/spark_fhir_schemas/r4/resources/servicerequest.py index cb8a7908..019878eb 100644 --- a/spark_fhir_schemas/r4/resources/servicerequest.py +++ b/spark_fhir_schemas/r4/resources/servicerequest.py @@ -320,7 +320,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -341,7 +341,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -359,7 +359,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -377,7 +377,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -396,7 +396,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -413,7 +413,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -431,7 +431,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -496,7 +496,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -551,7 +551,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -751,7 +751,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -769,7 +769,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -787,7 +787,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -806,7 +806,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -825,7 +825,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -843,7 +843,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -866,7 +866,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -883,7 +883,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -901,7 +901,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -919,7 +919,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -938,7 +938,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -953,4 +953,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/slot.py b/spark_fhir_schemas/r4/resources/slot.py index 11722e12..1da21530 100644 --- a/spark_fhir_schemas/r4/resources/slot.py +++ b/spark_fhir_schemas/r4/resources/slot.py @@ -221,7 +221,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -242,7 +242,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -259,7 +259,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -277,7 +277,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -297,7 +297,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -315,7 +315,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -400,4 +400,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/specimen.py b/spark_fhir_schemas/r4/resources/specimen.py index 0c1008d6..5ec3999c 100644 --- a/spark_fhir_schemas/r4/resources/specimen.py +++ b/spark_fhir_schemas/r4/resources/specimen.py @@ -227,7 +227,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -248,7 +248,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -349,7 +349,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -366,7 +366,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,7 +398,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -416,7 +416,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -433,7 +433,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -451,7 +451,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -466,4 +466,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/specimendefinition.py b/spark_fhir_schemas/r4/resources/specimendefinition.py index 6e30101b..1c159d29 100644 --- a/spark_fhir_schemas/r4/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4/resources/specimendefinition.py @@ -197,7 +197,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -218,7 +218,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -284,7 +284,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -301,7 +301,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -316,4 +316,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/structuredefinition.py b/spark_fhir_schemas/r4/resources/structuredefinition.py index 42a589c6..7478d53b 100644 --- a/spark_fhir_schemas/r4/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4/resources/structuredefinition.py @@ -317,7 +317,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -338,7 +338,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -378,7 +378,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -437,7 +437,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -474,7 +474,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -492,7 +492,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -544,7 +544,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -565,7 +565,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -589,7 +589,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -679,4 +679,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/structuremap.py b/spark_fhir_schemas/r4/resources/structuremap.py index 89e73dad..91165e8e 100644 --- a/spark_fhir_schemas/r4/resources/structuremap.py +++ b/spark_fhir_schemas/r4/resources/structuremap.py @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,7 +294,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -334,7 +334,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -392,7 +392,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -429,7 +429,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -447,7 +447,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,7 +498,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -515,7 +515,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -533,7 +533,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -548,4 +548,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/subscription.py b/spark_fhir_schemas/r4/resources/subscription.py index fd38a077..3d6dbf37 100644 --- a/spark_fhir_schemas/r4/resources/subscription.py +++ b/spark_fhir_schemas/r4/resources/subscription.py @@ -210,7 +210,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -231,7 +231,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -252,7 +252,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -306,4 +306,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substance.py b/spark_fhir_schemas/r4/resources/substance.py index cdb90c2e..98a32987 100644 --- a/spark_fhir_schemas/r4/resources/substance.py +++ b/spark_fhir_schemas/r4/resources/substance.py @@ -205,7 +205,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -299,7 +299,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -316,7 +316,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -331,4 +331,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substancenucleicacid.py b/spark_fhir_schemas/r4/resources/substancenucleicacid.py index 2efffb18..c836ee15 100644 --- a/spark_fhir_schemas/r4/resources/substancenucleicacid.py +++ b/spark_fhir_schemas/r4/resources/substancenucleicacid.py @@ -209,7 +209,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -230,7 +230,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -302,7 +302,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -317,4 +317,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substancepolymer.py b/spark_fhir_schemas/r4/resources/substancepolymer.py index f0d1991b..0c746995 100644 --- a/spark_fhir_schemas/r4/resources/substancepolymer.py +++ b/spark_fhir_schemas/r4/resources/substancepolymer.py @@ -199,7 +199,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -220,7 +220,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -286,7 +286,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -303,7 +303,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -318,4 +318,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substanceprotein.py b/spark_fhir_schemas/r4/resources/substanceprotein.py index a5b1ccf5..740744d1 100644 --- a/spark_fhir_schemas/r4/resources/substanceprotein.py +++ b/spark_fhir_schemas/r4/resources/substanceprotein.py @@ -223,7 +223,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -309,7 +309,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -324,4 +324,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py index d5e405a9..8c3e6a7f 100644 --- a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py +++ b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py @@ -201,7 +201,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -222,7 +222,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -241,7 +241,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -258,7 +258,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -275,7 +275,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -292,7 +292,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -307,4 +307,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substancesourcematerial.py b/spark_fhir_schemas/r4/resources/substancesourcematerial.py index fb7bb639..6a00508e 100644 --- a/spark_fhir_schemas/r4/resources/substancesourcematerial.py +++ b/spark_fhir_schemas/r4/resources/substancesourcematerial.py @@ -266,7 +266,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -287,7 +287,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -372,7 +372,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -395,7 +395,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -439,7 +439,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -474,7 +474,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -489,4 +489,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/substancespecification.py b/spark_fhir_schemas/r4/resources/substancespecification.py index 19265007..38624708 100644 --- a/spark_fhir_schemas/r4/resources/substancespecification.py +++ b/spark_fhir_schemas/r4/resources/substancespecification.py @@ -246,7 +246,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -267,7 +267,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -346,7 +346,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -365,7 +365,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -383,7 +383,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -430,7 +430,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -447,7 +447,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -465,7 +465,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -482,7 +482,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -557,4 +557,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/supplydelivery.py b/spark_fhir_schemas/r4/resources/supplydelivery.py index 3e84ae59..c685bb42 100644 --- a/spark_fhir_schemas/r4/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4/resources/supplydelivery.py @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -263,7 +263,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -280,7 +280,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -297,7 +297,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -425,7 +425,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -440,4 +440,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/supplyrequest.py b/spark_fhir_schemas/r4/resources/supplyrequest.py index 3a73394b..2414d1b7 100644 --- a/spark_fhir_schemas/r4/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4/resources/supplyrequest.py @@ -244,7 +244,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -265,7 +265,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -284,7 +284,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -385,7 +385,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -464,7 +464,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -481,7 +481,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -498,7 +498,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -543,4 +543,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/task.py b/spark_fhir_schemas/r4/resources/task.py index ea214803..60fb81c0 100644 --- a/spark_fhir_schemas/r4/resources/task.py +++ b/spark_fhir_schemas/r4/resources/task.py @@ -273,7 +273,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -294,7 +294,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -311,7 +311,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -366,7 +366,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -399,7 +399,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -593,7 +593,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -671,7 +671,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -688,7 +688,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -707,7 +707,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -741,7 +741,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -758,7 +758,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -773,4 +773,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/terminologycapabilities.py b/spark_fhir_schemas/r4/resources/terminologycapabilities.py index 0a7d5e57..0cc20ed1 100644 --- a/spark_fhir_schemas/r4/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4/resources/terminologycapabilities.py @@ -311,7 +311,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -332,7 +332,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -412,7 +412,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -451,7 +451,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -469,7 +469,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -574,7 +574,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -655,4 +655,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/testreport.py b/spark_fhir_schemas/r4/resources/testreport.py index cf9c4610..da96c9c3 100644 --- a/spark_fhir_schemas/r4/resources/testreport.py +++ b/spark_fhir_schemas/r4/resources/testreport.py @@ -224,7 +224,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -245,7 +245,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -334,7 +334,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -367,7 +367,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -398,4 +398,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/testscript.py b/spark_fhir_schemas/r4/resources/testscript.py index a4931e22..5b8a2e27 100644 --- a/spark_fhir_schemas/r4/resources/testscript.py +++ b/spark_fhir_schemas/r4/resources/testscript.py @@ -305,7 +305,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -326,7 +326,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -421,7 +421,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -458,7 +458,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -475,7 +475,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -526,7 +526,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -544,7 +544,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -578,7 +578,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -595,7 +595,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -613,7 +613,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -645,7 +645,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -676,4 +676,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/valueset.py b/spark_fhir_schemas/r4/resources/valueset.py index 9fc61b75..ccdbb541 100644 --- a/spark_fhir_schemas/r4/resources/valueset.py +++ b/spark_fhir_schemas/r4/resources/valueset.py @@ -279,7 +279,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -300,7 +300,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -339,7 +339,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -397,7 +397,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -436,7 +436,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -453,7 +453,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -538,4 +538,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/verificationresult.py b/spark_fhir_schemas/r4/resources/verificationresult.py index 6b91f0d0..3389d7aa 100644 --- a/spark_fhir_schemas/r4/resources/verificationresult.py +++ b/spark_fhir_schemas/r4/resources/verificationresult.py @@ -234,7 +234,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -255,7 +255,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -272,7 +272,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -355,7 +355,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -419,7 +419,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -451,7 +451,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -466,4 +466,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/resources/visionprescription.py b/spark_fhir_schemas/r4/resources/visionprescription.py index b7bd867b..4f2e660a 100644 --- a/spark_fhir_schemas/r4/resources/visionprescription.py +++ b/spark_fhir_schemas/r4/resources/visionprescription.py @@ -205,7 +205,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -226,7 +226,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -243,7 +243,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -353,7 +353,7 @@ def get_schema( max_recursion_limit=max_recursion_limit, include_extension=include_extension, extension_fields=extension_fields, - extension_depth=extension_depth + 1, + extension_depth=extension_depth, max_extension_depth=max_extension_depth, ) ), @@ -368,4 +368,5 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + return schema diff --git a/spark_fhir_schemas/r4/template.jinja2 b/spark_fhir_schemas/r4/template.jinja2 index cd4d311d..e2012a91 100644 --- a/spark_fhir_schemas/r4/template.jinja2 +++ b/spark_fhir_schemas/r4/template.jinja2 @@ -87,7 +87,11 @@ class {{resource.Name}}Schema: {% elif property.Type == "array" %} {% if property.UnderlyingDataType and property.UnderlyingDataType not in ["string","boolean","date","number"] %} + {% if resource.Name == "Extension" and property.Name == "extension" %} StructField("{{property.Name}}",ArrayType({{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension,extension_fields=extension_fields, extension_depth=extension_depth+1, max_extension_depth=max_extension_depth)), True), + {% else %} + StructField("{{property.Name}}",ArrayType({{property.UnderlyingDataType}}Schema.get_schema(max_nesting_depth=max_nesting_depth,nesting_depth=nesting_depth+1,nesting_list=my_nesting_list,max_recursion_limit=max_recursion_limit,include_extension=include_extension,extension_fields=extension_fields, extension_depth=extension_depth, max_extension_depth=max_extension_depth)), True), + {% endif %} {% elif property.Type == "date" or property.UnderlyingDataType == "date" %} StructField("{{property.Name}}",ArrayType(DateType()), True), {% elif (property.Type == "number" or property.UnderlyingDataType == "number") and ("Decimal" in property.Name) %} From 9e32cafc62093758ad53485102cfcf0eb6090038 Mon Sep 17 00:00:00 2001 From: imranq2 Date: Wed, 16 Jun 2021 16:30:42 -0700 Subject: [PATCH 3/4] allow passing in extension_fields --- .../r4/complex_types/account_coverage.py | 1 + .../r4/complex_types/account_guarantor.py | 1 + .../activitydefinition_dynamicvalue.py | 1 + .../activitydefinition_participant.py | 1 + .../r4/complex_types/address.py | 1 + .../complex_types/adverseevent_causality.py | 1 + .../adverseevent_suspectentity.py | 1 + spark_fhir_schemas/r4/complex_types/age.py | 1 + .../allergyintolerance_reaction.py | 1 + .../r4/complex_types/annotation.py | 1 + .../complex_types/appointment_participant.py | 1 + .../r4/complex_types/attachment.py | 1 + .../r4/complex_types/auditevent_agent.py | 1 + .../r4/complex_types/auditevent_detail.py | 1 + .../r4/complex_types/auditevent_entity.py | 1 + .../r4/complex_types/auditevent_network.py | 1 + .../r4/complex_types/auditevent_source.py | 1 + .../biologicallyderivedproduct_collection.py | 1 + ...biologicallyderivedproduct_manipulation.py | 1 + .../biologicallyderivedproduct_processing.py | 1 + .../biologicallyderivedproduct_storage.py | 1 + .../r4/complex_types/bundle_entry.py | 1 + .../r4/complex_types/bundle_link.py | 1 + .../r4/complex_types/bundle_request.py | 1 + .../r4/complex_types/bundle_response.py | 1 + .../r4/complex_types/bundle_search.py | 1 + .../capabilitystatement_document.py | 1 + .../capabilitystatement_endpoint.py | 1 + .../capabilitystatement_implementation.py | 1 + .../capabilitystatement_interaction.py | 1 + .../capabilitystatement_interaction1.py | 1 + .../capabilitystatement_messaging.py | 1 + .../capabilitystatement_operation.py | 1 + .../capabilitystatement_resource.py | 1 + .../complex_types/capabilitystatement_rest.py | 1 + .../capabilitystatement_searchparam.py | 1 + .../capabilitystatement_security.py | 1 + .../capabilitystatement_software.py | 1 + .../capabilitystatement_supportedmessage.py | 1 + .../r4/complex_types/careplan_activity.py | 1 + .../r4/complex_types/careplan_detail.py | 1 + .../r4/complex_types/careteam_participant.py | 1 + .../catalogentry_relatedentry.py | 1 + .../r4/complex_types/chargeitem_performer.py | 1 + .../chargeitemdefinition_applicability.py | 1 + .../chargeitemdefinition_pricecomponent.py | 1 + .../chargeitemdefinition_propertygroup.py | 1 + .../r4/complex_types/claim_accident.py | 1 + .../r4/complex_types/claim_careteam.py | 1 + .../r4/complex_types/claim_detail.py | 1 + .../r4/complex_types/claim_diagnosis.py | 1 + .../r4/complex_types/claim_insurance.py | 1 + .../r4/complex_types/claim_item.py | 1 + .../r4/complex_types/claim_payee.py | 1 + .../r4/complex_types/claim_procedure.py | 1 + .../r4/complex_types/claim_related.py | 1 + .../r4/complex_types/claim_subdetail.py | 1 + .../r4/complex_types/claim_supportinginfo.py | 1 + .../r4/complex_types/claimresponse_additem.py | 1 + .../claimresponse_adjudication.py | 1 + .../r4/complex_types/claimresponse_detail.py | 1 + .../r4/complex_types/claimresponse_detail1.py | 1 + .../r4/complex_types/claimresponse_error.py | 1 + .../complex_types/claimresponse_insurance.py | 1 + .../r4/complex_types/claimresponse_item.py | 1 + .../r4/complex_types/claimresponse_payment.py | 1 + .../claimresponse_processnote.py | 1 + .../complex_types/claimresponse_subdetail.py | 1 + .../complex_types/claimresponse_subdetail1.py | 1 + .../r4/complex_types/claimresponse_total.py | 1 + .../clinicalimpression_finding.py | 1 + .../clinicalimpression_investigation.py | 1 + .../r4/complex_types/codeableconcept.py | 1 + .../r4/complex_types/codesystem_concept.py | 1 + .../complex_types/codesystem_designation.py | 1 + .../r4/complex_types/codesystem_filter.py | 1 + .../r4/complex_types/codesystem_property.py | 1 + .../r4/complex_types/codesystem_property1.py | 1 + spark_fhir_schemas/r4/complex_types/coding.py | 1 + .../r4/complex_types/communication_payload.py | 1 + .../communicationrequest_payload.py | 1 + .../compartmentdefinition_resource.py | 1 + .../r4/complex_types/composition_attester.py | 1 + .../r4/complex_types/composition_event.py | 1 + .../r4/complex_types/composition_relatesto.py | 1 + .../r4/complex_types/composition_section.py | 1 + .../r4/complex_types/conceptmap_dependson.py | 1 + .../r4/complex_types/conceptmap_element.py | 1 + .../r4/complex_types/conceptmap_group.py | 1 + .../r4/complex_types/conceptmap_target.py | 1 + .../r4/complex_types/conceptmap_unmapped.py | 1 + .../r4/complex_types/condition_evidence.py | 1 + .../r4/complex_types/condition_stage.py | 1 + .../r4/complex_types/consent_actor.py | 1 + .../r4/complex_types/consent_data.py | 1 + .../r4/complex_types/consent_policy.py | 1 + .../r4/complex_types/consent_provision.py | 1 + .../r4/complex_types/consent_verification.py | 1 + .../r4/complex_types/contactdetail.py | 1 + .../r4/complex_types/contactpoint.py | 1 + .../r4/complex_types/contract_action.py | 1 + .../r4/complex_types/contract_answer.py | 1 + .../r4/complex_types/contract_asset.py | 1 + .../contract_contentdefinition.py | 1 + .../r4/complex_types/contract_context.py | 1 + .../r4/complex_types/contract_friendly.py | 1 + .../r4/complex_types/contract_legal.py | 1 + .../r4/complex_types/contract_offer.py | 1 + .../r4/complex_types/contract_party.py | 1 + .../r4/complex_types/contract_rule.py | 1 + .../complex_types/contract_securitylabel.py | 1 + .../r4/complex_types/contract_signer.py | 1 + .../r4/complex_types/contract_subject.py | 1 + .../r4/complex_types/contract_term.py | 1 + .../r4/complex_types/contract_valueditem.py | 1 + .../r4/complex_types/contributor.py | 1 + spark_fhir_schemas/r4/complex_types/count.py | 1 + .../r4/complex_types/coverage_class.py | 1 + .../coverage_costtobeneficiary.py | 1 + .../r4/complex_types/coverage_exception.py | 1 + .../coverageeligibilityrequest_diagnosis.py | 1 + .../coverageeligibilityrequest_insurance.py | 1 + .../coverageeligibilityrequest_item.py | 1 + ...verageeligibilityrequest_supportinginfo.py | 1 + .../coverageeligibilityresponse_benefit.py | 1 + .../coverageeligibilityresponse_error.py | 1 + .../coverageeligibilityresponse_insurance.py | 1 + .../coverageeligibilityresponse_item.py | 1 + .../r4/complex_types/datarequirement.py | 1 + .../datarequirement_codefilter.py | 1 + .../datarequirement_datefilter.py | 1 + .../r4/complex_types/datarequirement_sort.py | 1 + .../complex_types/detectedissue_evidence.py | 1 + .../complex_types/detectedissue_mitigation.py | 1 + .../r4/complex_types/device_devicename.py | 1 + .../r4/complex_types/device_property.py | 1 + .../r4/complex_types/device_specialization.py | 1 + .../r4/complex_types/device_udicarrier.py | 1 + .../r4/complex_types/device_version.py | 1 + .../devicedefinition_capability.py | 1 + .../devicedefinition_devicename.py | 1 + .../devicedefinition_material.py | 1 + .../devicedefinition_property.py | 1 + .../devicedefinition_specialization.py | 1 + .../devicedefinition_udideviceidentifier.py | 1 + .../complex_types/devicemetric_calibration.py | 1 + .../complex_types/devicerequest_parameter.py | 1 + .../complex_types/diagnosticreport_media.py | 1 + .../r4/complex_types/distance.py | 1 + .../complex_types/documentmanifest_related.py | 1 + .../documentreference_content.py | 1 + .../documentreference_context.py | 1 + .../documentreference_relatesto.py | 1 + spark_fhir_schemas/r4/complex_types/dosage.py | 1 + .../r4/complex_types/dosage_doseandrate.py | 1 + .../r4/complex_types/duration.py | 1 + .../effectevidencesynthesis_certainty.py | 1 + ...evidencesynthesis_certaintysubcomponent.py | 1 + .../effectevidencesynthesis_effectestimate.py | 1 + ...fectevidencesynthesis_precisionestimate.py | 1 + ...fectevidencesynthesis_resultsbyexposure.py | 1 + .../effectevidencesynthesis_samplesize.py | 1 + .../r4/complex_types/element.py | 1 + .../r4/complex_types/elementdefinition.py | 1 + .../complex_types/elementdefinition_base.py | 1 + .../elementdefinition_binding.py | 1 + .../elementdefinition_constraint.py | 1 + .../elementdefinition_discriminator.py | 1 + .../elementdefinition_example.py | 1 + .../elementdefinition_mapping.py | 1 + .../elementdefinition_slicing.py | 1 + .../complex_types/elementdefinition_type.py | 1 + .../complex_types/encounter_classhistory.py | 1 + .../r4/complex_types/encounter_diagnosis.py | 1 + .../encounter_hospitalization.py | 1 + .../r4/complex_types/encounter_location.py | 1 + .../r4/complex_types/encounter_participant.py | 1 + .../complex_types/encounter_statushistory.py | 1 + .../complex_types/episodeofcare_diagnosis.py | 1 + .../episodeofcare_statushistory.py | 1 + .../evidencevariable_characteristic.py | 1 + .../r4/complex_types/examplescenario_actor.py | 1 + .../examplescenario_alternative.py | 1 + .../examplescenario_containedinstance.py | 1 + .../complex_types/examplescenario_instance.py | 1 + .../examplescenario_operation.py | 1 + .../complex_types/examplescenario_process.py | 1 + .../r4/complex_types/examplescenario_step.py | 1 + .../complex_types/examplescenario_version.py | 1 + .../explanationofbenefit_accident.py | 1 + .../explanationofbenefit_additem.py | 1 + .../explanationofbenefit_adjudication.py | 1 + .../explanationofbenefit_benefitbalance.py | 1 + .../explanationofbenefit_careteam.py | 1 + .../explanationofbenefit_detail.py | 1 + .../explanationofbenefit_detail1.py | 1 + .../explanationofbenefit_diagnosis.py | 1 + .../explanationofbenefit_financial.py | 1 + .../explanationofbenefit_insurance.py | 1 + .../explanationofbenefit_item.py | 1 + .../explanationofbenefit_payee.py | 1 + .../explanationofbenefit_payment.py | 1 + .../explanationofbenefit_procedure.py | 1 + .../explanationofbenefit_processnote.py | 1 + .../explanationofbenefit_related.py | 1 + .../explanationofbenefit_subdetail.py | 1 + .../explanationofbenefit_subdetail1.py | 1 + .../explanationofbenefit_supportinginfo.py | 1 + .../explanationofbenefit_total.py | 1 + .../r4/complex_types/expression.py | 1 + .../r4/complex_types/extension.py | 8 +++++++- .../familymemberhistory_condition.py | 1 + .../r4/complex_types/goal_target.py | 1 + .../graphdefinition_compartment.py | 1 + .../r4/complex_types/graphdefinition_link.py | 1 + .../complex_types/graphdefinition_target.py | 1 + .../r4/complex_types/group_characteristic.py | 1 + .../r4/complex_types/group_member.py | 1 + .../healthcareservice_availabletime.py | 1 + .../healthcareservice_eligibility.py | 1 + .../healthcareservice_notavailable.py | 1 + .../r4/complex_types/humanname.py | 1 + .../r4/complex_types/identifier.py | 1 + .../r4/complex_types/imagingstudy_instance.py | 1 + .../complex_types/imagingstudy_performer.py | 1 + .../r4/complex_types/imagingstudy_series.py | 1 + .../complex_types/immunization_education.py | 1 + .../complex_types/immunization_performer.py | 1 + .../immunization_protocolapplied.py | 1 + .../r4/complex_types/immunization_reaction.py | 1 + ...mmunizationrecommendation_datecriterion.py | 1 + ...munizationrecommendation_recommendation.py | 1 + .../implementationguide_definition.py | 1 + .../implementationguide_dependson.py | 1 + .../implementationguide_global.py | 1 + .../implementationguide_grouping.py | 1 + .../implementationguide_manifest.py | 1 + .../complex_types/implementationguide_page.py | 1 + .../implementationguide_page1.py | 1 + .../implementationguide_parameter.py | 1 + .../implementationguide_resource.py | 1 + .../implementationguide_resource1.py | 1 + .../implementationguide_template.py | 1 + .../r4/complex_types/insuranceplan_benefit.py | 1 + .../complex_types/insuranceplan_benefit1.py | 1 + .../r4/complex_types/insuranceplan_contact.py | 1 + .../r4/complex_types/insuranceplan_cost.py | 1 + .../complex_types/insuranceplan_coverage.py | 1 + .../insuranceplan_generalcost.py | 1 + .../r4/complex_types/insuranceplan_limit.py | 1 + .../r4/complex_types/insuranceplan_plan.py | 1 + .../insuranceplan_specificcost.py | 1 + .../r4/complex_types/invoice_lineitem.py | 1 + .../r4/complex_types/invoice_participant.py | 1 + .../complex_types/invoice_pricecomponent.py | 1 + .../r4/complex_types/linkage_item.py | 1 + .../r4/complex_types/list_entry.py | 1 + .../location_hoursofoperation.py | 1 + .../r4/complex_types/location_position.py | 1 + .../r4/complex_types/marketingstatus.py | 1 + .../r4/complex_types/measure_component.py | 1 + .../r4/complex_types/measure_group.py | 1 + .../r4/complex_types/measure_population.py | 1 + .../r4/complex_types/measure_stratifier.py | 1 + .../complex_types/measure_supplementaldata.py | 1 + .../complex_types/measurereport_component.py | 1 + .../r4/complex_types/measurereport_group.py | 1 + .../complex_types/measurereport_population.py | 1 + .../measurereport_population1.py | 1 + .../complex_types/measurereport_stratifier.py | 1 + .../r4/complex_types/measurereport_stratum.py | 1 + .../r4/complex_types/medication_batch.py | 1 + .../r4/complex_types/medication_ingredient.py | 1 + .../medicationadministration_dosage.py | 1 + .../medicationadministration_performer.py | 1 + .../medicationdispense_performer.py | 1 + .../medicationdispense_substitution.py | 1 + ...ationknowledge_administrationguidelines.py | 1 + .../complex_types/medicationknowledge_cost.py | 1 + .../medicationknowledge_dosage.py | 1 + .../medicationknowledge_drugcharacteristic.py | 1 + .../medicationknowledge_ingredient.py | 1 + .../medicationknowledge_kinetics.py | 1 + .../medicationknowledge_maxdispense.py | 1 + ...icationknowledge_medicineclassification.py | 1 + .../medicationknowledge_monitoringprogram.py | 1 + .../medicationknowledge_monograph.py | 1 + .../medicationknowledge_packaging.py | 1 + ...icationknowledge_patientcharacteristics.py | 1 + .../medicationknowledge_regulatory.py | 1 + ...ionknowledge_relatedmedicationknowledge.py | 1 + .../medicationknowledge_schedule.py | 1 + .../medicationknowledge_substitution.py | 1 + .../medicationrequest_dispenserequest.py | 1 + .../medicationrequest_initialfill.py | 1 + .../medicationrequest_substitution.py | 1 + .../medicinalproduct_countrylanguage.py | 1 + ...lproduct_manufacturingbusinessoperation.py | 1 + .../r4/complex_types/medicinalproduct_name.py | 1 + .../medicinalproduct_namepart.py | 1 + .../medicinalproduct_specialdesignation.py | 1 + ...thorization_jurisdictionalauthorization.py | 1 + ...medicinalproductauthorization_procedure.py | 1 + ...nalproductcontraindication_othertherapy.py | 1 + ...medicinalproductindication_othertherapy.py | 1 + ...inalproductingredient_referencestrength.py | 1 + ...nalproductingredient_specifiedsubstance.py | 1 + .../medicinalproductingredient_strength.py | 1 + .../medicinalproductingredient_substance.py | 1 + ...medicinalproductinteraction_interactant.py | 1 + ...edicinalproductpackaged_batchidentifier.py | 1 + .../medicinalproductpackaged_packageitem.py | 1 + ...alproductpharmaceutical_characteristics.py | 1 + ...uctpharmaceutical_routeofadministration.py | 1 + ...inalproductpharmaceutical_targetspecies.py | 1 + ...lproductpharmaceutical_withdrawalperiod.py | 1 + .../messagedefinition_allowedresponse.py | 1 + .../complex_types/messagedefinition_focus.py | 1 + .../messageheader_destination.py | 1 + .../complex_types/messageheader_response.py | 1 + .../r4/complex_types/messageheader_source.py | 1 + spark_fhir_schemas/r4/complex_types/meta.py | 1 + .../complex_types/molecularsequence_inner.py | 1 + .../complex_types/molecularsequence_outer.py | 1 + .../molecularsequence_quality.py | 1 + .../molecularsequence_referenceseq.py | 1 + .../molecularsequence_repository.py | 1 + .../r4/complex_types/molecularsequence_roc.py | 1 + .../molecularsequence_structurevariant.py | 1 + .../molecularsequence_variant.py | 1 + spark_fhir_schemas/r4/complex_types/money.py | 1 + .../r4/complex_types/namingsystem_uniqueid.py | 1 + .../r4/complex_types/narrative.py | 1 + .../nutritionorder_administration.py | 1 + .../nutritionorder_enteralformula.py | 1 + .../complex_types/nutritionorder_nutrient.py | 1 + .../complex_types/nutritionorder_oraldiet.py | 1 + .../nutritionorder_supplement.py | 1 + .../complex_types/nutritionorder_texture.py | 1 + .../r4/complex_types/observation_component.py | 1 + .../observation_referencerange.py | 1 + ...observationdefinition_qualifiedinterval.py | 1 + ...servationdefinition_quantitativedetails.py | 1 + .../operationdefinition_binding.py | 1 + .../operationdefinition_overload.py | 1 + .../operationdefinition_parameter.py | 1 + .../operationdefinition_referencedfrom.py | 1 + .../complex_types/operationoutcome_issue.py | 1 + .../r4/complex_types/organization_contact.py | 1 + .../r4/complex_types/parameterdefinition.py | 1 + .../r4/complex_types/parameters_parameter.py | 1 + .../r4/complex_types/patient_communication.py | 1 + .../r4/complex_types/patient_contact.py | 1 + .../r4/complex_types/patient_link.py | 1 + .../paymentreconciliation_detail.py | 1 + .../paymentreconciliation_processnote.py | 1 + spark_fhir_schemas/r4/complex_types/period.py | 1 + .../r4/complex_types/person_link.py | 1 + .../r4/complex_types/plandefinition_action.py | 1 + .../complex_types/plandefinition_condition.py | 1 + .../plandefinition_dynamicvalue.py | 1 + .../r4/complex_types/plandefinition_goal.py | 1 + .../plandefinition_participant.py | 1 + .../plandefinition_relatedaction.py | 1 + .../r4/complex_types/plandefinition_target.py | 1 + .../r4/complex_types/population.py | 1 + .../practitioner_qualification.py | 1 + .../practitionerrole_availabletime.py | 1 + .../practitionerrole_notavailable.py | 1 + .../r4/complex_types/procedure_focaldevice.py | 1 + .../r4/complex_types/procedure_performer.py | 1 + .../r4/complex_types/prodcharacteristic.py | 1 + .../r4/complex_types/productshelflife.py | 1 + .../r4/complex_types/provenance_agent.py | 1 + .../r4/complex_types/provenance_entity.py | 1 + .../r4/complex_types/quantity.py | 1 + .../questionnaire_answeroption.py | 1 + .../complex_types/questionnaire_enablewhen.py | 1 + .../r4/complex_types/questionnaire_initial.py | 1 + .../r4/complex_types/questionnaire_item.py | 1 + .../questionnaireresponse_answer.py | 1 + .../questionnaireresponse_item.py | 1 + spark_fhir_schemas/r4/complex_types/range.py | 1 + spark_fhir_schemas/r4/complex_types/ratio.py | 1 + .../r4/complex_types/reference.py | 1 + .../r4/complex_types/relatedartifact.py | 1 + .../relatedperson_communication.py | 1 + .../r4/complex_types/requestgroup_action.py | 1 + .../complex_types/requestgroup_condition.py | 1 + .../requestgroup_relatedaction.py | 1 + ...esearchelementdefinition_characteristic.py | 1 + .../r4/complex_types/researchstudy_arm.py | 1 + .../complex_types/researchstudy_objective.py | 1 + .../riskassessment_prediction.py | 1 + .../riskevidencesynthesis_certainty.py | 1 + ...evidencesynthesis_certaintysubcomponent.py | 1 + ...riskevidencesynthesis_precisionestimate.py | 1 + .../riskevidencesynthesis_riskestimate.py | 1 + .../riskevidencesynthesis_samplesize.py | 1 + .../r4/complex_types/sampleddata.py | 1 + .../searchparameter_component.py | 1 + .../r4/complex_types/signature.py | 1 + .../r4/complex_types/specimen_collection.py | 1 + .../r4/complex_types/specimen_container.py | 1 + .../r4/complex_types/specimen_processing.py | 1 + .../specimendefinition_additive.py | 1 + .../specimendefinition_container.py | 1 + .../specimendefinition_handling.py | 1 + .../specimendefinition_typetested.py | 1 + .../structuredefinition_context.py | 1 + .../structuredefinition_differential.py | 1 + .../structuredefinition_mapping.py | 1 + .../structuredefinition_snapshot.py | 1 + .../complex_types/structuremap_dependent.py | 1 + .../r4/complex_types/structuremap_group.py | 1 + .../r4/complex_types/structuremap_input.py | 1 + .../complex_types/structuremap_parameter.py | 1 + .../r4/complex_types/structuremap_rule.py | 1 + .../r4/complex_types/structuremap_source.py | 1 + .../complex_types/structuremap_structure.py | 1 + .../r4/complex_types/structuremap_target.py | 1 + .../r4/complex_types/subscription_channel.py | 1 + .../r4/complex_types/substance_ingredient.py | 1 + .../r4/complex_types/substance_instance.py | 1 + .../r4/complex_types/substanceamount.py | 1 + .../substanceamount_referencerange.py | 1 + .../substancenucleicacid_linkage.py | 1 + .../substancenucleicacid_subunit.py | 1 + .../substancenucleicacid_sugar.py | 1 + ...substancepolymer_degreeofpolymerisation.py | 1 + .../substancepolymer_monomerset.py | 1 + .../complex_types/substancepolymer_repeat.py | 1 + .../substancepolymer_repeatunit.py | 1 + .../substancepolymer_startingmaterial.py | 1 + ...bstancepolymer_structuralrepresentation.py | 1 + .../complex_types/substanceprotein_subunit.py | 1 + ...ancereferenceinformation_classification.py | 1 + .../substancereferenceinformation_gene.py | 1 + ...bstancereferenceinformation_geneelement.py | 1 + .../substancereferenceinformation_target.py | 1 + .../substancesourcematerial_author.py | 1 + ...tancesourcematerial_fractiondescription.py | 1 + .../substancesourcematerial_hybrid.py | 1 + .../substancesourcematerial_organism.py | 1 + ...substancesourcematerial_organismgeneral.py | 1 + ...substancesourcematerial_partdescription.py | 1 + .../substancespecification_code.py | 1 + .../substancespecification_isotope.py | 1 + .../substancespecification_moiety.py | 1 + .../substancespecification_molecularweight.py | 1 + .../substancespecification_name.py | 1 + .../substancespecification_official.py | 1 + .../substancespecification_property.py | 1 + .../substancespecification_relationship.py | 1 + .../substancespecification_representation.py | 1 + .../substancespecification_structure.py | 1 + .../supplydelivery_supplieditem.py | 1 + .../complex_types/supplyrequest_parameter.py | 1 + .../r4/complex_types/task_input.py | 1 + .../r4/complex_types/task_output.py | 1 + .../r4/complex_types/task_restriction.py | 1 + .../terminologycapabilities_closure.py | 1 + .../terminologycapabilities_codesystem.py | 1 + .../terminologycapabilities_expansion.py | 1 + .../terminologycapabilities_filter.py | 1 + .../terminologycapabilities_implementation.py | 1 + .../terminologycapabilities_parameter.py | 1 + .../terminologycapabilities_software.py | 1 + .../terminologycapabilities_translation.py | 1 + .../terminologycapabilities_validatecode.py | 1 + .../terminologycapabilities_version.py | 1 + .../r4/complex_types/testreport_action.py | 1 + .../r4/complex_types/testreport_action1.py | 1 + .../r4/complex_types/testreport_action2.py | 1 + .../r4/complex_types/testreport_assert.py | 1 + .../r4/complex_types/testreport_operation.py | 1 + .../complex_types/testreport_participant.py | 1 + .../r4/complex_types/testreport_setup.py | 1 + .../r4/complex_types/testreport_teardown.py | 1 + .../r4/complex_types/testreport_test.py | 1 + .../r4/complex_types/testscript_action.py | 1 + .../r4/complex_types/testscript_action1.py | 1 + .../r4/complex_types/testscript_action2.py | 1 + .../r4/complex_types/testscript_assert.py | 1 + .../r4/complex_types/testscript_capability.py | 1 + .../complex_types/testscript_destination.py | 1 + .../r4/complex_types/testscript_fixture.py | 1 + .../r4/complex_types/testscript_link.py | 1 + .../r4/complex_types/testscript_metadata.py | 1 + .../r4/complex_types/testscript_operation.py | 1 + .../r4/complex_types/testscript_origin.py | 1 + .../complex_types/testscript_requestheader.py | 1 + .../r4/complex_types/testscript_setup.py | 1 + .../r4/complex_types/testscript_teardown.py | 1 + .../r4/complex_types/testscript_test.py | 1 + .../r4/complex_types/testscript_variable.py | 1 + spark_fhir_schemas/r4/complex_types/timing.py | 1 + .../r4/complex_types/timing_repeat.py | 1 + .../r4/complex_types/triggerdefinition.py | 1 + .../r4/complex_types/usagecontext.py | 1 + .../r4/complex_types/valueset_compose.py | 1 + .../r4/complex_types/valueset_concept.py | 1 + .../r4/complex_types/valueset_contains.py | 1 + .../r4/complex_types/valueset_designation.py | 1 + .../r4/complex_types/valueset_expansion.py | 1 + .../r4/complex_types/valueset_filter.py | 1 + .../r4/complex_types/valueset_include.py | 1 + .../r4/complex_types/valueset_parameter.py | 1 + .../verificationresult_attestation.py | 1 + .../verificationresult_primarysource.py | 1 + .../verificationresult_validator.py | 1 + .../visionprescription_lensspecification.py | 1 + .../complex_types/visionprescription_prism.py | 1 + spark_fhir_schemas/r4/resources/account.py | 1 + .../r4/resources/activitydefinition.py | 1 + .../r4/resources/adverseevent.py | 1 + .../r4/resources/allergyintolerance.py | 1 + .../r4/resources/appointment.py | 1 + .../r4/resources/appointmentresponse.py | 1 + spark_fhir_schemas/r4/resources/auditevent.py | 1 + spark_fhir_schemas/r4/resources/basic.py | 1 + spark_fhir_schemas/r4/resources/binary.py | 1 + .../resources/biologicallyderivedproduct.py | 1 + .../r4/resources/bodystructure.py | 1 + spark_fhir_schemas/r4/resources/bundle.py | 1 + .../r4/resources/capabilitystatement.py | 1 + spark_fhir_schemas/r4/resources/careplan.py | 1 + spark_fhir_schemas/r4/resources/careteam.py | 1 + .../r4/resources/catalogentry.py | 1 + spark_fhir_schemas/r4/resources/chargeitem.py | 1 + .../r4/resources/chargeitemdefinition.py | 1 + spark_fhir_schemas/r4/resources/claim.py | 1 + .../r4/resources/claimresponse.py | 1 + .../r4/resources/clinicalimpression.py | 1 + spark_fhir_schemas/r4/resources/codesystem.py | 1 + .../r4/resources/communication.py | 1 + .../r4/resources/communicationrequest.py | 1 + .../r4/resources/compartmentdefinition.py | 1 + .../r4/resources/composition.py | 1 + spark_fhir_schemas/r4/resources/conceptmap.py | 1 + spark_fhir_schemas/r4/resources/condition.py | 1 + spark_fhir_schemas/r4/resources/consent.py | 1 + spark_fhir_schemas/r4/resources/contract.py | 1 + spark_fhir_schemas/r4/resources/coverage.py | 1 + .../resources/coverageeligibilityrequest.py | 1 + .../resources/coverageeligibilityresponse.py | 1 + .../r4/resources/detectedissue.py | 1 + spark_fhir_schemas/r4/resources/device.py | 1 + .../r4/resources/devicedefinition.py | 1 + .../r4/resources/devicemetric.py | 1 + .../r4/resources/devicerequest.py | 1 + .../r4/resources/deviceusestatement.py | 1 + .../r4/resources/diagnosticreport.py | 1 + .../r4/resources/documentmanifest.py | 1 + .../r4/resources/documentreference.py | 1 + .../r4/resources/effectevidencesynthesis.py | 1 + spark_fhir_schemas/r4/resources/encounter.py | 1 + spark_fhir_schemas/r4/resources/endpoint.py | 1 + .../r4/resources/enrollmentrequest.py | 1 + .../r4/resources/enrollmentresponse.py | 1 + .../r4/resources/episodeofcare.py | 1 + .../r4/resources/eventdefinition.py | 1 + spark_fhir_schemas/r4/resources/evidence.py | 1 + .../r4/resources/evidencevariable.py | 1 + .../r4/resources/examplescenario.py | 1 + .../r4/resources/explanationofbenefit.py | 1 + .../r4/resources/familymemberhistory.py | 1 + spark_fhir_schemas/r4/resources/flag.py | 1 + spark_fhir_schemas/r4/resources/goal.py | 1 + .../r4/resources/graphdefinition.py | 1 + spark_fhir_schemas/r4/resources/group.py | 1 + .../r4/resources/guidanceresponse.py | 1 + .../r4/resources/healthcareservice.py | 1 + .../r4/resources/imagingstudy.py | 1 + .../r4/resources/immunization.py | 1 + .../r4/resources/immunizationevaluation.py | 1 + .../resources/immunizationrecommendation.py | 1 + .../r4/resources/implementationguide.py | 1 + .../r4/resources/insuranceplan.py | 1 + spark_fhir_schemas/r4/resources/invoice.py | 1 + spark_fhir_schemas/r4/resources/library.py | 1 + spark_fhir_schemas/r4/resources/linkage.py | 1 + spark_fhir_schemas/r4/resources/list.py | 1 + spark_fhir_schemas/r4/resources/location.py | 1 + spark_fhir_schemas/r4/resources/measure.py | 1 + .../r4/resources/measurereport.py | 1 + spark_fhir_schemas/r4/resources/media.py | 1 + spark_fhir_schemas/r4/resources/medication.py | 1 + .../r4/resources/medicationadministration.py | 1 + .../r4/resources/medicationdispense.py | 1 + .../r4/resources/medicationknowledge.py | 1 + .../r4/resources/medicationrequest.py | 1 + .../r4/resources/medicationstatement.py | 1 + .../r4/resources/medicinalproduct.py | 1 + .../medicinalproductauthorization.py | 1 + .../medicinalproductcontraindication.py | 1 + .../resources/medicinalproductindication.py | 1 + .../resources/medicinalproductingredient.py | 1 + .../resources/medicinalproductinteraction.py | 1 + .../resources/medicinalproductmanufactured.py | 1 + .../r4/resources/medicinalproductpackaged.py | 1 + .../medicinalproductpharmaceutical.py | 1 + .../medicinalproductundesirableeffect.py | 1 + .../r4/resources/messagedefinition.py | 1 + .../r4/resources/messageheader.py | 1 + .../r4/resources/molecularsequence.py | 1 + .../r4/resources/namingsystem.py | 1 + .../r4/resources/nutritionorder.py | 1 + .../r4/resources/observation.py | 1 + .../r4/resources/observationdefinition.py | 1 + .../r4/resources/operationdefinition.py | 1 + .../r4/resources/operationoutcome.py | 1 + .../r4/resources/organization.py | 1 + .../r4/resources/organizationaffiliation.py | 1 + spark_fhir_schemas/r4/resources/parameters.py | 1 + spark_fhir_schemas/r4/resources/patient.py | 1 + .../r4/resources/paymentnotice.py | 1 + .../r4/resources/paymentreconciliation.py | 1 + spark_fhir_schemas/r4/resources/person.py | 1 + .../r4/resources/plandefinition.py | 1 + .../r4/resources/practitioner.py | 1 + .../r4/resources/practitionerrole.py | 1 + spark_fhir_schemas/r4/resources/procedure.py | 1 + spark_fhir_schemas/r4/resources/provenance.py | 1 + .../r4/resources/questionnaire.py | 1 + .../r4/resources/questionnaireresponse.py | 1 + .../r4/resources/relatedperson.py | 1 + .../r4/resources/requestgroup.py | 1 + .../r4/resources/researchdefinition.py | 1 + .../r4/resources/researchelementdefinition.py | 1 + .../r4/resources/researchstudy.py | 1 + .../r4/resources/researchsubject.py | 1 + .../r4/resources/riskassessment.py | 1 + .../r4/resources/riskevidencesynthesis.py | 1 + spark_fhir_schemas/r4/resources/schedule.py | 1 + .../r4/resources/searchparameter.py | 1 + .../r4/resources/servicerequest.py | 1 + spark_fhir_schemas/r4/resources/slot.py | 1 + spark_fhir_schemas/r4/resources/specimen.py | 1 + .../r4/resources/specimendefinition.py | 1 + .../r4/resources/structuredefinition.py | 1 + .../r4/resources/structuremap.py | 1 + .../r4/resources/subscription.py | 1 + spark_fhir_schemas/r4/resources/substance.py | 1 + .../r4/resources/substancenucleicacid.py | 1 + .../r4/resources/substancepolymer.py | 1 + .../r4/resources/substanceprotein.py | 1 + .../substancereferenceinformation.py | 1 + .../r4/resources/substancesourcematerial.py | 1 + .../r4/resources/substancespecification.py | 1 + .../r4/resources/supplydelivery.py | 1 + .../r4/resources/supplyrequest.py | 1 + spark_fhir_schemas/r4/resources/task.py | 1 + .../r4/resources/terminologycapabilities.py | 1 + spark_fhir_schemas/r4/resources/testreport.py | 1 + spark_fhir_schemas/r4/resources/testscript.py | 1 + spark_fhir_schemas/r4/resources/valueset.py | 1 + .../r4/resources/verificationresult.py | 1 + .../r4/resources/visionprescription.py | 1 + spark_fhir_schemas/r4/template.jinja2 | 8 +++++++- tests/control_extensions/__init__.py | 0 .../test_control_extensions.py | 19 +++++++++++++++++++ 662 files changed, 691 insertions(+), 2 deletions(-) create mode 100644 tests/control_extensions/__init__.py create mode 100644 tests/control_extensions/test_control_extensions.py diff --git a/spark_fhir_schemas/r4/complex_types/account_coverage.py b/spark_fhir_schemas/r4/complex_types/account_coverage.py index 3f6d84c1..43aee858 100644 --- a/spark_fhir_schemas/r4/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/account_coverage.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/account_guarantor.py b/spark_fhir_schemas/r4/complex_types/account_guarantor.py index 6245c1d2..bb8f2515 100644 --- a/spark_fhir_schemas/r4/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4/complex_types/account_guarantor.py @@ -133,5 +133,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py index 6789a899..5ed4a614 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py index 85a9374b..17cb3af5 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/address.py b/spark_fhir_schemas/r4/complex_types/address.py index 31809e37..aa8142e4 100644 --- a/spark_fhir_schemas/r4/complex_types/address.py +++ b/spark_fhir_schemas/r4/complex_types/address.py @@ -155,5 +155,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py index dae3e227..1c96a235 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py @@ -145,5 +145,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py index a1c1a739..50bb2442 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/age.py b/spark_fhir_schemas/r4/complex_types/age.py index ae6fd2ac..71ed66cc 100644 --- a/spark_fhir_schemas/r4/complex_types/age.py +++ b/spark_fhir_schemas/r4/complex_types/age.py @@ -147,5 +147,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py index 267cb45a..c46121d6 100644 --- a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py @@ -210,5 +210,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/annotation.py b/spark_fhir_schemas/r4/complex_types/annotation.py index bca8522f..68426953 100644 --- a/spark_fhir_schemas/r4/complex_types/annotation.py +++ b/spark_fhir_schemas/r4/complex_types/annotation.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/appointment_participant.py b/spark_fhir_schemas/r4/complex_types/appointment_participant.py index f3f788fa..da87d601 100644 --- a/spark_fhir_schemas/r4/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4/complex_types/appointment_participant.py @@ -156,5 +156,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/attachment.py b/spark_fhir_schemas/r4/complex_types/attachment.py index 8c17be2c..0b1bcc3f 100644 --- a/spark_fhir_schemas/r4/complex_types/attachment.py +++ b/spark_fhir_schemas/r4/complex_types/attachment.py @@ -216,5 +216,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py index 1b887e48..c696f321 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py @@ -278,5 +278,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py index 42d3580a..882bb9d4 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py @@ -96,5 +96,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py index 52e7bf95..c81b500c 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py @@ -223,5 +223,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_network.py b/spark_fhir_schemas/r4/complex_types/auditevent_network.py index d3c2580c..e390b97a 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_network.py @@ -96,5 +96,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_source.py b/spark_fhir_schemas/r4/complex_types/auditevent_source.py index e2ebdac0..e7eef6be 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_source.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py index 87d1f409..bf7c2bf5 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py @@ -153,5 +153,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py index 19a88660..7f2555f3 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py index aaad3943..759bb05a 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py index 1157d1df..c51d1b9b 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_entry.py b/spark_fhir_schemas/r4/complex_types/bundle_entry.py index 48b80489..1c7c7930 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_entry.py @@ -220,5 +220,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_link.py b/spark_fhir_schemas/r4/complex_types/bundle_link.py index 40e65fdf..4b076002 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_link.py @@ -108,5 +108,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_request.py b/spark_fhir_schemas/r4/complex_types/bundle_request.py index 3c95be8e..097fc053 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_request.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_response.py b/spark_fhir_schemas/r4/complex_types/bundle_response.py index ae4eaae7..c7c1ec0e 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_response.py @@ -154,5 +154,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/bundle_search.py b/spark_fhir_schemas/r4/complex_types/bundle_search.py index 1f3afb75..9dd70b57 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_search.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py index a47f52da..c54219d4 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py @@ -135,5 +135,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py index 3464829c..c32c8b2a 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py index 6200391b..6994c6c0 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py @@ -135,5 +135,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py index 52d2a033..a80953ac 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py @@ -113,5 +113,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py index b26c452d..3d7aec50 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py @@ -113,5 +113,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py index 3bf5cccc..29e6265b 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py @@ -177,5 +177,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py index 6f89697e..3cdcfe68 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py @@ -149,5 +149,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py index f0105da4..a44d7653 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py @@ -316,5 +316,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py index d8a9608e..f4b1356f 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py @@ -256,5 +256,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py index ca79e0f3..5d378144 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py index 633c2a7b..ad41625d 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py index 99d5f8d1..2bb6d4de 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py @@ -113,5 +113,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py index 0d4a7e38..cd8b7764 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py @@ -115,5 +115,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/careplan_activity.py b/spark_fhir_schemas/r4/complex_types/careplan_activity.py index 55632769..7fbd1726 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_activity.py @@ -199,5 +199,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/careplan_detail.py b/spark_fhir_schemas/r4/complex_types/careplan_detail.py index 01aee0b2..d25c4cae 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_detail.py @@ -445,5 +445,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/careteam_participant.py b/spark_fhir_schemas/r4/complex_types/careteam_participant.py index 69b95676..f457b38f 100644 --- a/spark_fhir_schemas/r4/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4/complex_types/careteam_participant.py @@ -165,5 +165,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py index d0fc169a..5f014074 100644 --- a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py index 19506ea7..f80ba319 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py index 73ac160f..34ea664a 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py @@ -113,5 +113,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py index b7c9203d..66450405 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py index 15204908..ee51a758 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_accident.py b/spark_fhir_schemas/r4/complex_types/claim_accident.py index c0a47540..003d853f 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4/complex_types/claim_accident.py @@ -157,5 +157,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_careteam.py b/spark_fhir_schemas/r4/complex_types/claim_careteam.py index 997325a8..06c6260f 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/claim_careteam.py @@ -172,5 +172,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_detail.py b/spark_fhir_schemas/r4/complex_types/claim_detail.py index aeb4b163..cff40f5c 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_detail.py @@ -327,5 +327,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py index e8c2f8ca..7492aa13 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py @@ -201,5 +201,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_insurance.py b/spark_fhir_schemas/r4/complex_types/claim_insurance.py index 88415773..5d8fbcfd 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claim_insurance.py @@ -192,5 +192,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_item.py b/spark_fhir_schemas/r4/complex_types/claim_item.py index f2184eb1..1be3b240 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4/complex_types/claim_item.py @@ -545,5 +545,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_payee.py b/spark_fhir_schemas/r4/complex_types/claim_payee.py index d23e0d7d..eb6e845a 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4/complex_types/claim_payee.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_procedure.py b/spark_fhir_schemas/r4/complex_types/claim_procedure.py index b80b547e..76f0d462 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/claim_procedure.py @@ -200,5 +200,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_related.py b/spark_fhir_schemas/r4/complex_types/claim_related.py index ac1adb5e..b5a8c1a2 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4/complex_types/claim_related.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py index a3566ccc..9095e870 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py @@ -303,5 +303,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py index a3368d41..048033c8 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py @@ -266,5 +266,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py index 0940c3ff..32dfdc0c 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py @@ -495,5 +495,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py index 067687d3..33191f12 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py index e299ac35..899bcedd 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py @@ -165,5 +165,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py index 56246c84..a8718181 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py @@ -274,5 +274,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py index 87ed925e..307beab1 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py @@ -166,5 +166,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py index 16854ff7..68b1bff0 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py @@ -162,5 +162,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py index 64dd6f2f..a74af5a3 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py @@ -171,5 +171,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py index c558a807..7e9572dd 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py @@ -185,5 +185,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py index 8df6082f..607cbdef 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py index 1ebdbb43..7300b1ea 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py index 419aff7c..c8a5d295 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py @@ -252,5 +252,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py index 03323e29..f8eb80f9 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py index ce8d5e46..df04d0ee 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py index 9ee2d0a2..50ea3b9c 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py @@ -139,5 +139,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codeableconcept.py b/spark_fhir_schemas/r4/complex_types/codeableconcept.py index 5733e2f6..e7fe9673 100644 --- a/spark_fhir_schemas/r4/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4/complex_types/codeableconcept.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py index 1eb2a922..39f7b354 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py @@ -189,5 +189,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py index 971014ea..8e767d4d 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py index 4d4853d9..72968b60 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property.py b/spark_fhir_schemas/r4/complex_types/codesystem_property.py index af51c5c0..8c11fc94 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py index 8e65c9a1..758a865b 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py @@ -154,5 +154,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coding.py b/spark_fhir_schemas/r4/complex_types/coding.py index 3032ba17..5f003695 100644 --- a/spark_fhir_schemas/r4/complex_types/coding.py +++ b/spark_fhir_schemas/r4/complex_types/coding.py @@ -152,5 +152,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/communication_payload.py b/spark_fhir_schemas/r4/complex_types/communication_payload.py index edeaff0c..38bc5505 100644 --- a/spark_fhir_schemas/r4/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communication_payload.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py index 394c315d..ee27fd0b 100644 --- a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py index a5e05020..842e56cf 100644 --- a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py @@ -111,5 +111,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_attester.py b/spark_fhir_schemas/r4/complex_types/composition_attester.py index 528f1b6f..90ec4eaf 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4/complex_types/composition_attester.py @@ -136,5 +136,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_event.py b/spark_fhir_schemas/r4/complex_types/composition_event.py index 6bfc069d..eef284de 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4/complex_types/composition_event.py @@ -168,5 +168,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py index 81740556..b109e9ab 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py @@ -152,5 +152,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/composition_section.py b/spark_fhir_schemas/r4/complex_types/composition_section.py index e102112a..55e7937e 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4/complex_types/composition_section.py @@ -301,5 +301,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py index 02fcdd39..0a1fceb4 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py index 1bd5bcb1..53d9e5ce 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py index 8b1862b9..b65055b3 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py @@ -183,5 +183,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py index 60571e58..d96c224f 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py @@ -175,5 +175,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py index eee1cf1b..acebb851 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/condition_evidence.py b/spark_fhir_schemas/r4/complex_types/condition_evidence.py index 07a974bc..440ff572 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/condition_evidence.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/condition_stage.py b/spark_fhir_schemas/r4/complex_types/condition_stage.py index 5e1b5b65..881b5f7f 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4/complex_types/condition_stage.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_actor.py b/spark_fhir_schemas/r4/complex_types/consent_actor.py index f3652774..53dde2a4 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4/complex_types/consent_actor.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_data.py b/spark_fhir_schemas/r4/complex_types/consent_data.py index fedce0c4..3f81e985 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4/complex_types/consent_data.py @@ -108,5 +108,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_policy.py b/spark_fhir_schemas/r4/complex_types/consent_policy.py index 80046b65..a457452b 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4/complex_types/consent_policy.py @@ -125,5 +125,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_provision.py b/spark_fhir_schemas/r4/complex_types/consent_provision.py index ef2bcd6a..d1cae2e7 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4/complex_types/consent_provision.py @@ -297,5 +297,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/consent_verification.py b/spark_fhir_schemas/r4/complex_types/consent_verification.py index ad5571dd..fb0e9c0b 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4/complex_types/consent_verification.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contactdetail.py b/spark_fhir_schemas/r4/complex_types/contactdetail.py index 64f0f3dc..cf8e255a 100644 --- a/spark_fhir_schemas/r4/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4/complex_types/contactdetail.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contactpoint.py b/spark_fhir_schemas/r4/complex_types/contactpoint.py index 59a5eabd..17db1b46 100644 --- a/spark_fhir_schemas/r4/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4/complex_types/contactpoint.py @@ -136,5 +136,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_action.py b/spark_fhir_schemas/r4/complex_types/contract_action.py index 1d33cc94..1c2b0a97 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4/complex_types/contract_action.py @@ -424,5 +424,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_answer.py b/spark_fhir_schemas/r4/complex_types/contract_answer.py index e1c474ce..ba470c5d 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_answer.py @@ -269,5 +269,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_asset.py b/spark_fhir_schemas/r4/complex_types/contract_asset.py index d8a95869..5bf07519 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4/complex_types/contract_asset.py @@ -344,5 +344,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py index cc54a139..82a2b850 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py @@ -209,5 +209,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_context.py b/spark_fhir_schemas/r4/complex_types/contract_context.py index b28cc783..0a88797f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4/complex_types/contract_context.py @@ -132,5 +132,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_friendly.py b/spark_fhir_schemas/r4/complex_types/contract_friendly.py index 9bb41e37..c4eba75f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4/complex_types/contract_friendly.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_legal.py b/spark_fhir_schemas/r4/complex_types/contract_legal.py index b19947a2..a51ea6e9 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4/complex_types/contract_legal.py @@ -118,5 +118,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_offer.py b/spark_fhir_schemas/r4/complex_types/contract_offer.py index 54d0b9fd..88e2f65d 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_offer.py @@ -258,5 +258,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_party.py b/spark_fhir_schemas/r4/complex_types/contract_party.py index c648f3a1..7da79f30 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4/complex_types/contract_party.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_rule.py b/spark_fhir_schemas/r4/complex_types/contract_rule.py index c63032fc..ca8cdad5 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4/complex_types/contract_rule.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py index 5a8fbbe0..c8160aca 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py @@ -166,5 +166,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_signer.py b/spark_fhir_schemas/r4/complex_types/contract_signer.py index f64df6be..545217d5 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_signer.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_subject.py b/spark_fhir_schemas/r4/complex_types/contract_subject.py index 1d5f1248..947f871f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4/complex_types/contract_subject.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_term.py b/spark_fhir_schemas/r4/complex_types/contract_term.py index 6e870719..014c6f1f 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4/complex_types/contract_term.py @@ -327,5 +327,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py index 1de7a0c7..bb845674 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py @@ -347,5 +347,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/contributor.py b/spark_fhir_schemas/r4/complex_types/contributor.py index 9b0b077f..e7212d1a 100644 --- a/spark_fhir_schemas/r4/complex_types/contributor.py +++ b/spark_fhir_schemas/r4/complex_types/contributor.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/count.py b/spark_fhir_schemas/r4/complex_types/count.py index 1ae1034b..7483ed2b 100644 --- a/spark_fhir_schemas/r4/complex_types/count.py +++ b/spark_fhir_schemas/r4/complex_types/count.py @@ -151,5 +151,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_class.py b/spark_fhir_schemas/r4/complex_types/coverage_class.py index e2ff9412..bfc93ccb 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_class.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py index cbb4f982..f6202066 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py @@ -162,5 +162,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverage_exception.py b/spark_fhir_schemas/r4/complex_types/coverage_exception.py index 8c3a41fb..a39a64e9 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_exception.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py index 0c8cf854..89bf8f04 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py @@ -133,5 +133,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py index 85ed8d33..79a83b28 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py @@ -132,5 +132,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py index 2ba410ac..abe99315 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py @@ -285,5 +285,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py index 4c99a539..4c21e4d9 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py index 2744fb8f..2d7b6e69 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py @@ -163,5 +163,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py index a784ff82..edacc1b3 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py @@ -107,5 +107,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py index 13d5c3ef..36ee0e17 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py @@ -162,5 +162,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py index 8955eedb..67ae7b9c 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py @@ -306,5 +306,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement.py b/spark_fhir_schemas/r4/complex_types/datarequirement.py index 0dead26c..9887a1d9 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement.py @@ -282,5 +282,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py index 7db4fb21..11d8ab3e 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py @@ -160,5 +160,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py index 041510d1..3920deb6 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py @@ -185,5 +185,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py index 22578700..e1f88992 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py @@ -96,5 +96,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py index de7e9051..0a266460 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py index f8ab8b41..5ee46d53 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_devicename.py b/spark_fhir_schemas/r4/complex_types/device_devicename.py index a47682a0..2f055588 100644 --- a/spark_fhir_schemas/r4/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/device_devicename.py @@ -96,5 +96,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_property.py b/spark_fhir_schemas/r4/complex_types/device_property.py index 1810a103..33c44145 100644 --- a/spark_fhir_schemas/r4/complex_types/device_property.py +++ b/spark_fhir_schemas/r4/complex_types/device_property.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_specialization.py b/spark_fhir_schemas/r4/complex_types/device_specialization.py index 3fb22688..fcd13b29 100644 --- a/spark_fhir_schemas/r4/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/device_specialization.py @@ -108,5 +108,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py index d0fb9507..ab4cc216 100644 --- a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py @@ -187,5 +187,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/device_version.py b/spark_fhir_schemas/r4/complex_types/device_version.py index 3581a3c0..f720d63a 100644 --- a/spark_fhir_schemas/r4/complex_types/device_version.py +++ b/spark_fhir_schemas/r4/complex_types/device_version.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py index 16e26073..7d012f18 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py index fea347db..0d23528d 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py @@ -94,5 +94,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py index da65504a..934076fd 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py @@ -117,5 +117,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py index f4008c80..23170804 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py @@ -141,5 +141,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py index c32f9795..3a8ab988 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py @@ -91,5 +91,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py index 4d2004ce..2551f31b 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py index bb03e09b..db497c13 100644 --- a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py @@ -108,5 +108,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py index 27458e41..8e8bf639 100644 --- a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py @@ -166,5 +166,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py index 00e340f8..72ec264e 100644 --- a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/distance.py b/spark_fhir_schemas/r4/complex_types/distance.py index 784696f7..04aa28e2 100644 --- a/spark_fhir_schemas/r4/complex_types/distance.py +++ b/spark_fhir_schemas/r4/complex_types/distance.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py index fdffd213..3104610c 100644 --- a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_content.py b/spark_fhir_schemas/r4/complex_types/documentreference_content.py index 722a1c70..753a584d 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_content.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_context.py b/spark_fhir_schemas/r4/complex_types/documentreference_context.py index 3d81dee7..58cea6bf 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_context.py @@ -232,5 +232,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py index ca4d546b..a937698b 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/dosage.py b/spark_fhir_schemas/r4/complex_types/dosage.py index 4f922ddf..9fa7e3e7 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage.py +++ b/spark_fhir_schemas/r4/complex_types/dosage.py @@ -315,5 +315,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py index ea66fdaa..395e9f11 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py @@ -188,5 +188,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/duration.py b/spark_fhir_schemas/r4/complex_types/duration.py index 7b1eeb29..089b2d0a 100644 --- a/spark_fhir_schemas/r4/complex_types/duration.py +++ b/spark_fhir_schemas/r4/complex_types/duration.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py index b4c7b154..d5a97c50 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py @@ -151,5 +151,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py index c4e6b619..ada85d9c 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py index c548e9c1..ef9495c6 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py @@ -185,5 +185,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py index ea632de2..f4047b01 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py @@ -159,5 +159,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py index 5b9c1e98..570dc31e 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py @@ -135,5 +135,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py index ac4add36..3f6c453b 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/element.py b/spark_fhir_schemas/r4/complex_types/element.py index 80a00115..781c60f8 100644 --- a/spark_fhir_schemas/r4/complex_types/element.py +++ b/spark_fhir_schemas/r4/complex_types/element.py @@ -79,5 +79,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition.py b/spark_fhir_schemas/r4/complex_types/elementdefinition.py index 3921e850..1d542a8c 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition.py @@ -4692,5 +4692,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py index bd08d48e..ea1bfd2f 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py index b13ea60e..82c79c67 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py index 389f8ce4..ed7b30e0 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py @@ -153,5 +153,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py index 4099fabc..e96bf2b4 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py @@ -95,5 +95,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py index 82a074fa..332ef222 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py @@ -843,5 +843,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py index 386bc5a1..6581ebbf 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py index ba1fe820..96874728 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py @@ -141,5 +141,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py index 3a8edf8f..a4daf8de 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py @@ -186,5 +186,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py index 0f879eb7..825982c8 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py @@ -118,5 +118,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py index 798ce709..0569b9c2 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py index c490b743..bf5e06c4 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py @@ -248,5 +248,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_location.py b/spark_fhir_schemas/r4/complex_types/encounter_location.py index 8ae2d2c1..92a10ef9 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_location.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_participant.py b/spark_fhir_schemas/r4/complex_types/encounter_participant.py index a09d864b..ed3d9dcf 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_participant.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py index 289cd140..9a0417fb 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py index cd3a3781..e3c7804f 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py index d95242b8..5f70fd17 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py index 6c3e2986..7ccc201a 100644 --- a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py @@ -338,5 +338,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py index aebf2a1e..d983b640 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py index 260cee65..e20b82c5 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py index da7ac794..3b3a009d 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py @@ -91,5 +91,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py index 8d98af38..5b03e230 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py @@ -170,5 +170,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py index f817fff9..fef90397 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py @@ -170,5 +170,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py index 4747e115..90b7c0f4 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py index 545cc3a3..37471996 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py @@ -157,5 +157,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py index 60856796..b4cd9035 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py @@ -102,5 +102,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py index 098685ac..0cbf47f2 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py index 2de0ede5..af68a3d4 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py @@ -498,5 +498,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py index 4d536cc9..3bca0e82 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py @@ -172,5 +172,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py index 30266722..fde8dd46 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py @@ -207,5 +207,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py index 03dbcbb3..d5dd4f79 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py @@ -173,5 +173,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py index 2e711475..9abcc56b 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py @@ -370,5 +370,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py index 3034c96c..b913699c 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py @@ -277,5 +277,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py index e087839a..f329f297 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py @@ -202,5 +202,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py index a9fe2e04..9e3df04a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py @@ -159,5 +159,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py index ada24a73..2faf542b 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py index ae9598b0..52658cdd 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py @@ -590,5 +590,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py index 97d5b2da..9ef0f390 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py index 7d5f70fc..faa9f00e 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py @@ -188,5 +188,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py index 77bd1b40..09856234 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py @@ -201,5 +201,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py index 8e6e00ad..0fdbf48b 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py index c6e46602..c4985e7d 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py index 10d8f9f6..8ef2f0f7 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py @@ -349,5 +349,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py index 9acb2f9f..44f4f336 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py @@ -255,5 +255,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py index 1ed7bc13..4c8ec9df 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py @@ -270,5 +270,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py index 917a777c..9e114fd5 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/expression.py b/spark_fhir_schemas/r4/complex_types/expression.py index f5dd2a98..4dca79cf 100644 --- a/spark_fhir_schemas/r4/complex_types/expression.py +++ b/spark_fhir_schemas/r4/complex_types/expression.py @@ -136,5 +136,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/extension.py b/spark_fhir_schemas/r4/complex_types/extension.py index fc277985..e1c0b31a 100644 --- a/spark_fhir_schemas/r4/complex_types/extension.py +++ b/spark_fhir_schemas/r4/complex_types/extension.py @@ -370,11 +370,17 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] if extension_fields: schema.fields = [ c for c in schema.fields - if c.name in extension_fields or c.name in ["id", "extension"] + if c.name in extension_fields or c.name in ["id", "extension", "url"] + ] + schema.names = [ + n + for n in schema.names + if n in extension_fields or n in ["id", "extension", "url"] ] return schema diff --git a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py index 5a270952..b15c1e97 100644 --- a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py @@ -233,5 +233,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/goal_target.py b/spark_fhir_schemas/r4/complex_types/goal_target.py index e972c2f9..308a8e58 100644 --- a/spark_fhir_schemas/r4/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4/complex_types/goal_target.py @@ -294,5 +294,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py index d04a954b..5b5b1ae9 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py index c2933d4a..467c17bb 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py index fcbfd435..192268d7 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py @@ -168,5 +168,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/group_characteristic.py b/spark_fhir_schemas/r4/complex_types/group_characteristic.py index 5d90319d..481bf5f7 100644 --- a/spark_fhir_schemas/r4/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/group_characteristic.py @@ -224,5 +224,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/group_member.py b/spark_fhir_schemas/r4/complex_types/group_member.py index 3857d79a..80b7bb76 100644 --- a/spark_fhir_schemas/r4/complex_types/group_member.py +++ b/spark_fhir_schemas/r4/complex_types/group_member.py @@ -139,5 +139,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py index 9a32ba31..e11b0f77 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py @@ -136,5 +136,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py index f3f72fe8..0092bc2b 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py @@ -119,5 +119,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py index b92e3e11..40591c6b 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py @@ -105,5 +105,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/humanname.py b/spark_fhir_schemas/r4/complex_types/humanname.py index 05541573..83fa7740 100644 --- a/spark_fhir_schemas/r4/complex_types/humanname.py +++ b/spark_fhir_schemas/r4/complex_types/humanname.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/identifier.py b/spark_fhir_schemas/r4/complex_types/identifier.py index ac948f32..bbecab66 100644 --- a/spark_fhir_schemas/r4/complex_types/identifier.py +++ b/spark_fhir_schemas/r4/complex_types/identifier.py @@ -170,5 +170,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py index 9b1c1755..ac253f83 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py index e7f9a981..5017bbbb 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py index f5c14890..c786b8b4 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py @@ -324,5 +324,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_education.py b/spark_fhir_schemas/r4/complex_types/immunization_education.py index fd4ee7fc..fa920cfc 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_education.py @@ -141,5 +141,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_performer.py b/spark_fhir_schemas/r4/complex_types/immunization_performer.py index a72d2651..dd6b91ab 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_performer.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py index 9448e6ba..79f8bfd5 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py @@ -154,5 +154,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py index 7852a529..d5d5b79f 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py @@ -129,5 +129,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py index bd4a7534..17f73253 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py @@ -125,5 +125,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py index 2e32e291..b6f7a232 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py @@ -289,5 +289,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py index 7a1db8f7..60fe6d33 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py @@ -203,5 +203,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py index d40fdc4a..22fc0bbf 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py @@ -129,5 +129,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py index f698ee98..724cddfd 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py index 7e0c3c2e..c578d373 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py @@ -97,5 +97,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py index d65d6a7b..b35f01be 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py @@ -169,5 +169,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py index 652f3a4c..dc60500c 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py @@ -137,5 +137,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py index 5ed249e6..941ef0fb 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py @@ -98,5 +98,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py index 991980a8..4d81a83f 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py @@ -99,5 +99,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py index a9423f67..52c8e7f0 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py @@ -165,5 +165,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py index f58fec32..f7718166 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py index 5d671b0f..627752b3 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py @@ -113,5 +113,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py index 5c4f2ec3..bc3fda0d 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py index 24614dbd..25990c46 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py index 39ebbd97..43427e17 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py index e65a9ba4..b1bf2c0e 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py @@ -160,5 +160,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py index e4ae7a3a..42fd486a 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py index d7bb455c..e6774953 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py index 158cf9ec..8f6d42ec 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py index 7b714d4f..59f5ebc6 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py @@ -205,5 +205,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py index a03e04c2..14b5325f 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py index 82bebb5e..292b489b 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py @@ -178,5 +178,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_participant.py b/spark_fhir_schemas/r4/complex_types/invoice_participant.py index d0e000ea..5fa59a58 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_participant.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py index 861e931c..6a294158 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/linkage_item.py b/spark_fhir_schemas/r4/complex_types/linkage_item.py index 5ab2405a..767838d1 100644 --- a/spark_fhir_schemas/r4/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4/complex_types/linkage_item.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/list_entry.py b/spark_fhir_schemas/r4/complex_types/list_entry.py index d4213ca3..7fc123e9 100644 --- a/spark_fhir_schemas/r4/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4/complex_types/list_entry.py @@ -149,5 +149,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py index 9542b450..7b75af55 100644 --- a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py @@ -152,5 +152,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/location_position.py b/spark_fhir_schemas/r4/complex_types/location_position.py index d2cfc6bf..223b1b76 100644 --- a/spark_fhir_schemas/r4/complex_types/location_position.py +++ b/spark_fhir_schemas/r4/complex_types/location_position.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/marketingstatus.py b/spark_fhir_schemas/r4/complex_types/marketingstatus.py index ab6d813d..e85d2f44 100644 --- a/spark_fhir_schemas/r4/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4/complex_types/marketingstatus.py @@ -202,5 +202,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_component.py b/spark_fhir_schemas/r4/complex_types/measure_component.py index df7423a3..696978aa 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4/complex_types/measure_component.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_group.py b/spark_fhir_schemas/r4/complex_types/measure_group.py index 2d2a6d32..8f3565e8 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4/complex_types/measure_group.py @@ -156,5 +156,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_population.py b/spark_fhir_schemas/r4/complex_types/measure_population.py index ab9e381e..88ec38e9 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4/complex_types/measure_population.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py index 9a9ac06f..036ed767 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py @@ -156,5 +156,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py index 3e0f8357..7a013770 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py @@ -161,5 +161,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_component.py b/spark_fhir_schemas/r4/complex_types/measurereport_component.py index 69290c82..5256ebf0 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_component.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_group.py b/spark_fhir_schemas/r4/complex_types/measurereport_group.py index b01ad33b..915477d4 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_group.py @@ -174,5 +174,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population.py b/spark_fhir_schemas/r4/complex_types/measurereport_population.py index 940bfbdf..f719c6f3 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py index 3c90a649..a039dffd 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py @@ -142,5 +142,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py index 22821a88..4b315b65 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py @@ -132,5 +132,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py index 766f7391..316ac0a5 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py @@ -174,5 +174,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medication_batch.py b/spark_fhir_schemas/r4/complex_types/medication_batch.py index 29412e22..af068619 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4/complex_types/medication_batch.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py index f38f5532..85f13713 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py @@ -161,5 +161,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py index f14a9fef..29c94840 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py @@ -238,5 +238,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py index d900d60e..f10d1a2f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py index d595a72c..b0431b6c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py index 63ccfff0..f7d2a184 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py index 8a9222f1..9ad06e27 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py index 774a5cc3..c62ca4b8 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py index c0d936ff..6951506f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py index 7283123a..6469be0b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py index 5a59297c..7cff7724 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py index 5042dd61..97dab2a0 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py index 75ad2ad9..d198e718 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py @@ -117,5 +117,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py index 0deeca5c..0694dbd4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py index 439c0721..277176c6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py @@ -107,5 +107,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py index fb57c17e..33320e14 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py index 176bc679..e3ded8cd 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py index b806cb77..e23143a9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py @@ -129,5 +129,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py index bcc5935b..e49695c2 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py index 47720d8e..1651a7cb 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py index c8d71eba..64acb088 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py @@ -101,5 +101,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py index 3b5c2a2e..d4cdf48a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py @@ -112,5 +112,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py index 275a5577..82a79a4b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py @@ -236,5 +236,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py index 7f898904..20cb0115 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py @@ -125,5 +125,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py index d8354362..b13c7e91 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py @@ -143,5 +143,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py index ac3e1177..c1b63970 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py @@ -137,5 +137,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py index ef6c2d47..2ccc93c6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py @@ -195,5 +195,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py index 33389c94..c50c5c29 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py index fa5a6ef2..17f83258 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py index e6b38db4..4f1e8ca6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py @@ -229,5 +229,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py index f27d7b51..fae4a789 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py @@ -179,5 +179,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py index 852a08c9..954e8aae 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py @@ -169,5 +169,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py index 5f0d7d6f..7ce51b30 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py @@ -146,5 +146,6 @@ class of products) as part of an indication or contraindication. else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py index 0224f6b6..40a6d4e0 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py @@ -144,5 +144,6 @@ class of products) as part of an indication or contraindication. else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py index d8ed219e..64981e43 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py @@ -161,5 +161,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py index fffce46e..13f9b006 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py @@ -161,5 +161,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py index f6acfd25..22fd4098 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py @@ -208,5 +208,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py index 1e2bdfe6..46fc338f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py index 79df8186..0c4bf6a1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py index 4f867ce4..c43b2317 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py @@ -118,5 +118,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py index 6e6f9925..06ea8b68 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py @@ -319,5 +319,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py index 1bc9a941..45ebae12 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py index aa9037dd..09757dc0 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py @@ -233,5 +233,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py index e061cd71..e6636c15 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py index 47f6f1aa..addc2e28 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py index 826bbbc9..0dca378b 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py index a3902aef..1b7bcbd9 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py index ae25b692..314e2d0f 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py @@ -149,5 +149,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_response.py b/spark_fhir_schemas/r4/complex_types/messageheader_response.py index 12af1ac1..0ac3cca0 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_response.py @@ -130,5 +130,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_source.py b/spark_fhir_schemas/r4/complex_types/messageheader_source.py index a873c92c..09d5827f 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_source.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/meta.py b/spark_fhir_schemas/r4/complex_types/meta.py index d430a51a..c94fd008 100644 --- a/spark_fhir_schemas/r4/complex_types/meta.py +++ b/spark_fhir_schemas/r4/complex_types/meta.py @@ -214,5 +214,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py index c1dc618a..b1ed866f 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py index c4de3f51..b5527e8c 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py index 2fc99d00..62356199 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py @@ -371,5 +371,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py index 8f0f8b0c..69b4d7ef 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py @@ -219,5 +219,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py index a75d9736..0e7ce8c0 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py index a7c404d5..01022df4 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py @@ -223,5 +223,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py index b12ac508..1ab7c207 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py @@ -174,5 +174,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py index c76c50c9..fa13def1 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py @@ -179,5 +179,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/money.py b/spark_fhir_schemas/r4/complex_types/money.py index 65288d6c..118438b6 100644 --- a/spark_fhir_schemas/r4/complex_types/money.py +++ b/spark_fhir_schemas/r4/complex_types/money.py @@ -115,5 +115,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py index 10e64321..9e27eed5 100644 --- a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py @@ -131,5 +131,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/narrative.py b/spark_fhir_schemas/r4/complex_types/narrative.py index 72c3f423..4856b59d 100644 --- a/spark_fhir_schemas/r4/complex_types/narrative.py +++ b/spark_fhir_schemas/r4/complex_types/narrative.py @@ -108,5 +108,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py index b0f02c59..ab08849a 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py @@ -162,5 +162,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py index d1e7f93c..5d248a7e 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py @@ -234,5 +234,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py index dae095b2..a314b286 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py index 334874d6..992e8570 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py @@ -205,5 +205,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py index d1fb0c83..6cc070f3 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py index a20f128d..7d3c9647 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/observation_component.py b/spark_fhir_schemas/r4/complex_types/observation_component.py index 75cf4489..d1081e4f 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4/complex_types/observation_component.py @@ -324,5 +324,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py index d2cf9a43..e3a47698 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py @@ -208,5 +208,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py index 1a0f7b9b..b87837f1 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py @@ -198,5 +198,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py index a8251512..944510f5 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py @@ -166,5 +166,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py index 933bc1f2..f8476e00 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py index c0d69a1d..9fbfcb6c 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py @@ -91,5 +91,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py index 51054e5a..04408a8a 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py @@ -257,5 +257,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py index b92d0aad..312f7619 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py @@ -99,5 +99,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py index ac31d12d..ff6d7afd 100644 --- a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/organization_contact.py b/spark_fhir_schemas/r4/complex_types/organization_contact.py index 131046a6..ed387f3f 100644 --- a/spark_fhir_schemas/r4/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4/complex_types/organization_contact.py @@ -164,5 +164,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py index 637365bd..caa192cb 100644 --- a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py @@ -190,5 +190,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py index 61ebb4e2..b6580ab8 100644 --- a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py @@ -782,5 +782,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_communication.py b/spark_fhir_schemas/r4/complex_types/patient_communication.py index 0bf5702d..236a0646 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4/complex_types/patient_communication.py @@ -121,5 +121,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_contact.py b/spark_fhir_schemas/r4/complex_types/patient_contact.py index 8f9fd3a6..9743d8c6 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4/complex_types/patient_contact.py @@ -206,5 +206,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/patient_link.py b/spark_fhir_schemas/r4/complex_types/patient_link.py index dfaf9afe..628ebc49 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4/complex_types/patient_link.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py index dd47d1f8..47d8d602 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py @@ -255,5 +255,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py index bafda4a4..eeb7ea9f 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py @@ -93,5 +93,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/period.py b/spark_fhir_schemas/r4/complex_types/period.py index 70af219b..773074d3 100644 --- a/spark_fhir_schemas/r4/complex_types/period.py +++ b/spark_fhir_schemas/r4/complex_types/period.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/person_link.py b/spark_fhir_schemas/r4/complex_types/person_link.py index 872ef403..5f52fca0 100644 --- a/spark_fhir_schemas/r4/complex_types/person_link.py +++ b/spark_fhir_schemas/r4/complex_types/person_link.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py index 869e7864..cd322c41 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py @@ -616,5 +616,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py index c45a4b1e..83d01b20 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py index 98ed8096..759a2410 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py index 6fb3aa47..a73235d6 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py @@ -232,5 +232,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py index 1ab38f36..9a8ad707 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py @@ -110,5 +110,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py index 6dee7254..06505dbf 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py @@ -149,5 +149,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py index 75ae9fd8..8cc94538 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py @@ -211,5 +211,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/population.py b/spark_fhir_schemas/r4/complex_types/population.py index 92f7c473..cb072502 100644 --- a/spark_fhir_schemas/r4/complex_types/population.py +++ b/spark_fhir_schemas/r4/complex_types/population.py @@ -171,5 +171,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py index 0e4ede1f..a595c36f 100644 --- a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py index 3fd74acb..23643b19 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py @@ -155,5 +155,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py index ce517555..b4c21e37 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py @@ -107,5 +107,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py index cd8557eb..3c3dc481 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/procedure_performer.py b/spark_fhir_schemas/r4/complex_types/procedure_performer.py index fdd067f4..2471f8c9 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_performer.py @@ -141,5 +141,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py index 244a38eb..368c832f 100644 --- a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py @@ -281,5 +281,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/productshelflife.py b/spark_fhir_schemas/r4/complex_types/productshelflife.py index edc1dcbc..163ede8e 100644 --- a/spark_fhir_schemas/r4/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4/complex_types/productshelflife.py @@ -177,5 +177,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/provenance_agent.py b/spark_fhir_schemas/r4/complex_types/provenance_agent.py index 7f2a7a1e..278265d3 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_agent.py @@ -172,5 +172,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/provenance_entity.py b/spark_fhir_schemas/r4/complex_types/provenance_entity.py index ed9e28ec..53e5338c 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_entity.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/quantity.py b/spark_fhir_schemas/r4/complex_types/quantity.py index f26188c7..5db873af 100644 --- a/spark_fhir_schemas/r4/complex_types/quantity.py +++ b/spark_fhir_schemas/r4/complex_types/quantity.py @@ -152,5 +152,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py index f4eeb46a..48002140 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py @@ -151,5 +151,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py index cec15134..ba19a285 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py @@ -207,5 +207,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py index 1c1e2c37..205ecae3 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py @@ -199,5 +199,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py index 42b826c9..9ab7d245 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py @@ -344,5 +344,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py index 47d14fbb..6caf6c82 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py @@ -222,5 +222,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py index 448deb1a..0faabbd9 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py @@ -157,5 +157,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/range.py b/spark_fhir_schemas/r4/complex_types/range.py index 5bea7886..df88dcbf 100644 --- a/spark_fhir_schemas/r4/complex_types/range.py +++ b/spark_fhir_schemas/r4/complex_types/range.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/ratio.py b/spark_fhir_schemas/r4/complex_types/ratio.py index ed252587..a9072910 100644 --- a/spark_fhir_schemas/r4/complex_types/ratio.py +++ b/spark_fhir_schemas/r4/complex_types/ratio.py @@ -116,5 +116,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/reference.py b/spark_fhir_schemas/r4/complex_types/reference.py index cda2eaf4..5e087f44 100644 --- a/spark_fhir_schemas/r4/complex_types/reference.py +++ b/spark_fhir_schemas/r4/complex_types/reference.py @@ -168,5 +168,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/relatedartifact.py b/spark_fhir_schemas/r4/complex_types/relatedartifact.py index 3c34a3a7..ceeeef12 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4/complex_types/relatedartifact.py @@ -176,5 +176,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py index 0ee4439b..2e7eab1d 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py index 7b8c5c78..7ef0d013 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py @@ -481,5 +481,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py index eb414367..2f3933cd 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py index c5250126..2725cf5e 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py @@ -158,5 +158,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py index 24ba21f7..e2691f8b 100644 --- a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py @@ -385,5 +385,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py index c4e10560..fd50c16f 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py index 0eecd0d8..5b669b9c 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py index a753625e..28d7aa2a 100644 --- a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py @@ -219,5 +219,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py index b1c238c3..a8da4695 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py @@ -149,5 +149,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py index 1e7c508c..08f0dfcb 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py index c9da3e42..1cd03ceb 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py @@ -159,5 +159,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py index d9dfcbc1..ba4c282a 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py @@ -203,5 +203,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py index b39f2623..522d3574 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/sampleddata.py b/spark_fhir_schemas/r4/complex_types/sampleddata.py index 52f86f87..518b9c0d 100644 --- a/spark_fhir_schemas/r4/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4/complex_types/sampleddata.py @@ -207,5 +207,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py index 44aeaa0a..b64f531c 100644 --- a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/signature.py b/spark_fhir_schemas/r4/complex_types/signature.py index 23ebe87a..f7e57dd3 100644 --- a/spark_fhir_schemas/r4/complex_types/signature.py +++ b/spark_fhir_schemas/r4/complex_types/signature.py @@ -230,5 +230,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_collection.py b/spark_fhir_schemas/r4/complex_types/specimen_collection.py index cf9ccd53..7fec210d 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_collection.py @@ -248,5 +248,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_container.py b/spark_fhir_schemas/r4/complex_types/specimen_container.py index b09c60a9..3112bee4 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_container.py @@ -206,5 +206,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimen_processing.py b/spark_fhir_schemas/r4/complex_types/specimen_processing.py index 95a11e75..c94c43e7 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_processing.py @@ -161,5 +161,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py index 0dc8cfe6..1239fefd 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py index 7f79602d..23a824a1 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py @@ -208,5 +208,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py index 5faddc9e..ba97ac4b 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py @@ -148,5 +148,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py index a391375e..4fcb3741 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py @@ -205,5 +205,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py index 0db9d9ce..5bbbce58 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py @@ -94,5 +94,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py index 9d4af89c..1822f7d7 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py @@ -107,5 +107,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py index fbb6dc37..65874d31 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py @@ -134,5 +134,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py index a2447135..ccaad38f 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py @@ -107,5 +107,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py index 15874efc..0cddb374 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_group.py b/spark_fhir_schemas/r4/complex_types/structuremap_group.py index 6b557d62..19d5b5fa 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_group.py @@ -175,5 +175,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_input.py b/spark_fhir_schemas/r4/complex_types/structuremap_input.py index 0df76a2f..3aac2d2d 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_input.py @@ -112,5 +112,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py index f060afbc..755ec836 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py @@ -111,5 +111,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py index 4c533579..da344a92 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py @@ -189,5 +189,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_source.py b/spark_fhir_schemas/r4/complex_types/structuremap_source.py index 4499aacc..78de9a96 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_source.py @@ -832,5 +832,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py index 0089370a..eb20381e 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py @@ -112,5 +112,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_target.py b/spark_fhir_schemas/r4/complex_types/structuremap_target.py index cec7d03c..871a017d 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_target.py @@ -171,5 +171,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/subscription_channel.py b/spark_fhir_schemas/r4/complex_types/subscription_channel.py index 40cf87b3..748e5c3a 100644 --- a/spark_fhir_schemas/r4/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4/complex_types/subscription_channel.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py index 4cc909c1..0faf8d25 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py @@ -136,5 +136,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substance_instance.py b/spark_fhir_schemas/r4/complex_types/substance_instance.py index 51c8d4b4..506d4d49 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4/complex_types/substance_instance.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount.py b/spark_fhir_schemas/r4/complex_types/substanceamount.py index b5544fd3..40c65856 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount.py @@ -198,5 +198,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py index 9a3c5e0f..e7c95148 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py index a322fc19..0d33a5a9 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py @@ -127,5 +127,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py index c569d96e..51ce35ab 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py @@ -245,5 +245,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py index 6b2e78b2..6a989049 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py @@ -118,5 +118,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py index be945550..f52ba734 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py index 4048d63a..cafeea35 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py index 4c19e43a..d6e46bc6 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py index 29ff7c9f..4110cbda 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py @@ -168,5 +168,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py index 2c1e5b25..dc88a9f6 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py @@ -151,5 +151,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py index 2dd7afab..de672c09 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py @@ -125,5 +125,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py index 24c2fd54..edfb5977 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py @@ -230,5 +230,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py index fa78f575..3b96e896 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py @@ -159,5 +159,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py index f0e1c0d4..1f35815b 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py index 496ad9b0..641dfb7e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py @@ -141,5 +141,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py index d9dc0f61..f53c1e9c 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py @@ -249,5 +249,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py index 0f359247..00a41895 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py @@ -145,5 +145,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py index a6b65673..16eac3ae 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py @@ -139,5 +139,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py index 71bb1304..15419a78 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py @@ -157,5 +157,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py index e8ac376e..536816c4 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py @@ -256,5 +256,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py index d3f8b847..93593f32 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py @@ -180,5 +180,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py index 6447994f..cd9cf4a7 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py @@ -150,5 +150,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py index 3bb5d54f..67213630 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py @@ -163,5 +163,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py index 239360d7..22597f88 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py @@ -178,5 +178,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py index 3a8c3b36..491be3fa 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py @@ -185,5 +185,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py index 0658ef06..06a4a2b1 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py index 2726291f..1c211e5e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py @@ -273,5 +273,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py index c460dfb7..e595b76b 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py index 5bb74b7c..0cca88c0 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py @@ -187,5 +187,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py index 9113f181..640f8161 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py @@ -284,5 +284,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py index 8acbe3a9..44148c93 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py @@ -129,5 +129,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py index 3e87770f..3883e60b 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py @@ -218,5 +218,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py index edfe6711..fc3ac2fe 100644 --- a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py @@ -144,5 +144,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py index 7075b411..aa2767b0 100644 --- a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py @@ -166,5 +166,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_input.py b/spark_fhir_schemas/r4/complex_types/task_input.py index 249494ef..67519c3d 100644 --- a/spark_fhir_schemas/r4/complex_types/task_input.py +++ b/spark_fhir_schemas/r4/complex_types/task_input.py @@ -756,5 +756,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_output.py b/spark_fhir_schemas/r4/complex_types/task_output.py index afc5bc3c..cea7e7e4 100644 --- a/spark_fhir_schemas/r4/complex_types/task_output.py +++ b/spark_fhir_schemas/r4/complex_types/task_output.py @@ -754,5 +754,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/task_restriction.py b/spark_fhir_schemas/r4/complex_types/task_restriction.py index 4b005541..0e9588ec 100644 --- a/spark_fhir_schemas/r4/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4/complex_types/task_restriction.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py index 25f809eb..ccd68acc 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py @@ -96,5 +96,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py index 01680976..701abacf 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py index a3a63b0d..d6277b34 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py @@ -146,5 +146,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py index e0ae9a0b..06338fa2 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py index e27fc1ff..a2e54b75 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py @@ -111,5 +111,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py index dc366424..c1854a80 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py @@ -109,5 +109,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py index 44165910..b52f58da 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py @@ -93,5 +93,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py index 42a01efc..b7dc8355 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py @@ -98,5 +98,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py index 6862469e..193f56f0 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py @@ -98,5 +98,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py index ef26e575..be92e1b5 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py @@ -167,5 +167,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action.py b/spark_fhir_schemas/r4/complex_types/testreport_action.py index 0e9c2761..0a2d9d19 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action1.py b/spark_fhir_schemas/r4/complex_types/testreport_action1.py index fa169be5..2976851a 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action1.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action2.py b/spark_fhir_schemas/r4/complex_types/testreport_action2.py index f1bb1b97..5482ddf5 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action2.py @@ -100,5 +100,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_assert.py b/spark_fhir_schemas/r4/complex_types/testreport_assert.py index 10e33876..c5f739de 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_assert.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_operation.py b/spark_fhir_schemas/r4/complex_types/testreport_operation.py index 2acbb700..13ac8edb 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_operation.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_participant.py b/spark_fhir_schemas/r4/complex_types/testreport_participant.py index 76d7f350..77dddce0 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_participant.py @@ -106,5 +106,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_setup.py b/spark_fhir_schemas/r4/complex_types/testreport_setup.py index 62ad1e1c..937d5df1 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_setup.py @@ -102,5 +102,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py index 85fb590d..1acda902 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py @@ -102,5 +102,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testreport_test.py b/spark_fhir_schemas/r4/complex_types/testreport_test.py index f47852f0..f770f2a8 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_test.py @@ -112,5 +112,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action.py b/spark_fhir_schemas/r4/complex_types/testscript_action.py index 681ac47e..d9159a7e 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action1.py b/spark_fhir_schemas/r4/complex_types/testscript_action1.py index eca08807..161a87b0 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action1.py @@ -124,5 +124,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action2.py b/spark_fhir_schemas/r4/complex_types/testscript_action2.py index d631f360..f4f6ef79 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action2.py @@ -102,5 +102,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_assert.py b/spark_fhir_schemas/r4/complex_types/testscript_assert.py index 0d969f4e..bf5c83c7 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_assert.py @@ -261,5 +261,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_capability.py b/spark_fhir_schemas/r4/complex_types/testscript_capability.py index 06bbe376..821b21b0 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_capability.py @@ -188,5 +188,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_destination.py b/spark_fhir_schemas/r4/complex_types/testscript_destination.py index 1d66ddf8..3701bfe6 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_destination.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py index 9692b905..6825ac3f 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py @@ -129,5 +129,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_link.py b/spark_fhir_schemas/r4/complex_types/testscript_link.py index 6b84b14b..44d7511d 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_link.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py index 61fe4664..1755c10c 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py @@ -128,5 +128,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_operation.py b/spark_fhir_schemas/r4/complex_types/testscript_operation.py index 4f02ea17..af8c03bf 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_operation.py @@ -325,5 +325,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_origin.py b/spark_fhir_schemas/r4/complex_types/testscript_origin.py index 6c9548f9..8d9d2896 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_origin.py @@ -120,5 +120,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py index d91e489b..b6e9a84a 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py @@ -90,5 +90,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_setup.py b/spark_fhir_schemas/r4/complex_types/testscript_setup.py index c6da80ae..1fb295f4 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_setup.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py index c8be2b6f..b5d49d59 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_test.py b/spark_fhir_schemas/r4/complex_types/testscript_test.py index 9491e651..94e48a01 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_test.py @@ -114,5 +114,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/testscript_variable.py b/spark_fhir_schemas/r4/complex_types/testscript_variable.py index 698c5ea9..4235ab8a 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_variable.py @@ -140,5 +140,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/timing.py b/spark_fhir_schemas/r4/complex_types/timing.py index ada33d0e..4b2dc1f4 100644 --- a/spark_fhir_schemas/r4/complex_types/timing.py +++ b/spark_fhir_schemas/r4/complex_types/timing.py @@ -157,5 +157,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/timing_repeat.py b/spark_fhir_schemas/r4/complex_types/timing_repeat.py index 34ffef89..85f2f4df 100644 --- a/spark_fhir_schemas/r4/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/timing_repeat.py @@ -387,5 +387,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py index 6dece24b..fd086f0b 100644 --- a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py @@ -190,5 +190,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/usagecontext.py b/spark_fhir_schemas/r4/complex_types/usagecontext.py index a964804a..f3be507c 100644 --- a/spark_fhir_schemas/r4/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4/complex_types/usagecontext.py @@ -188,5 +188,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_compose.py b/spark_fhir_schemas/r4/complex_types/valueset_compose.py index 5a1caab4..401f1578 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_compose.py @@ -159,5 +159,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_concept.py b/spark_fhir_schemas/r4/complex_types/valueset_concept.py index dae6b4ee..bb978cc8 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_concept.py @@ -138,5 +138,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_contains.py b/spark_fhir_schemas/r4/complex_types/valueset_contains.py index e3fc5c59..d8e2b9a9 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_contains.py @@ -214,5 +214,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_designation.py b/spark_fhir_schemas/r4/complex_types/valueset_designation.py index 58812470..6f67e238 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_designation.py @@ -126,5 +126,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py index 8546ef5f..ae465990 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py @@ -223,5 +223,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_filter.py b/spark_fhir_schemas/r4/complex_types/valueset_filter.py index 5922bbc6..d2b41a26 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_filter.py @@ -122,5 +122,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_include.py b/spark_fhir_schemas/r4/complex_types/valueset_include.py index 818458b7..0c26942d 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_include.py @@ -186,5 +186,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py index 9e0814ac..124288d2 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py @@ -132,5 +132,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py index 441caa61..6cebec51 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py @@ -200,5 +200,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py index fe1469be..b395e54c 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py @@ -221,5 +221,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py index ac0c4e07..689f2207 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py @@ -123,5 +123,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py index 5563f350..6fd4a8af 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py @@ -300,5 +300,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py index b195a109..533fd83c 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py @@ -104,5 +104,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/account.py b/spark_fhir_schemas/r4/resources/account.py index 5b44ba51..1a12ced3 100644 --- a/spark_fhir_schemas/r4/resources/account.py +++ b/spark_fhir_schemas/r4/resources/account.py @@ -397,5 +397,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/activitydefinition.py b/spark_fhir_schemas/r4/resources/activitydefinition.py index c97dbdda..e705e5db 100644 --- a/spark_fhir_schemas/r4/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4/resources/activitydefinition.py @@ -1186,5 +1186,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/adverseevent.py b/spark_fhir_schemas/r4/resources/adverseevent.py index 1d64149e..21311899 100644 --- a/spark_fhir_schemas/r4/resources/adverseevent.py +++ b/spark_fhir_schemas/r4/resources/adverseevent.py @@ -600,5 +600,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/allergyintolerance.py b/spark_fhir_schemas/r4/resources/allergyintolerance.py index 242b852b..5e01ccc9 100644 --- a/spark_fhir_schemas/r4/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4/resources/allergyintolerance.py @@ -572,5 +572,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/appointment.py b/spark_fhir_schemas/r4/resources/appointment.py index 277afcf2..2d46a50e 100644 --- a/spark_fhir_schemas/r4/resources/appointment.py +++ b/spark_fhir_schemas/r4/resources/appointment.py @@ -653,5 +653,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/appointmentresponse.py b/spark_fhir_schemas/r4/resources/appointmentresponse.py index f8b54018..370ee423 100644 --- a/spark_fhir_schemas/r4/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4/resources/appointmentresponse.py @@ -367,5 +367,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/auditevent.py b/spark_fhir_schemas/r4/resources/auditevent.py index b03574be..7e3f13f4 100644 --- a/spark_fhir_schemas/r4/resources/auditevent.py +++ b/spark_fhir_schemas/r4/resources/auditevent.py @@ -395,5 +395,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/basic.py b/spark_fhir_schemas/r4/resources/basic.py index 86680923..19c91a21 100644 --- a/spark_fhir_schemas/r4/resources/basic.py +++ b/spark_fhir_schemas/r4/resources/basic.py @@ -309,5 +309,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/binary.py b/spark_fhir_schemas/r4/resources/binary.py index 65e767fd..1bb5088b 100644 --- a/spark_fhir_schemas/r4/resources/binary.py +++ b/spark_fhir_schemas/r4/resources/binary.py @@ -208,5 +208,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py index 24baac84..4ab4d0de 100644 --- a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py @@ -423,5 +423,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/bodystructure.py b/spark_fhir_schemas/r4/resources/bodystructure.py index 6c2110fe..7cab736b 100644 --- a/spark_fhir_schemas/r4/resources/bodystructure.py +++ b/spark_fhir_schemas/r4/resources/bodystructure.py @@ -351,5 +351,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/bundle.py b/spark_fhir_schemas/r4/resources/bundle.py index 9b6c704f..5af94272 100644 --- a/spark_fhir_schemas/r4/resources/bundle.py +++ b/spark_fhir_schemas/r4/resources/bundle.py @@ -261,5 +261,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/capabilitystatement.py b/spark_fhir_schemas/r4/resources/capabilitystatement.py index 2275d505..32d5ba21 100644 --- a/spark_fhir_schemas/r4/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4/resources/capabilitystatement.py @@ -712,5 +712,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/careplan.py b/spark_fhir_schemas/r4/resources/careplan.py index db0302ed..b619f064 100644 --- a/spark_fhir_schemas/r4/resources/careplan.py +++ b/spark_fhir_schemas/r4/resources/careplan.py @@ -661,5 +661,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/careteam.py b/spark_fhir_schemas/r4/resources/careteam.py index e10d7452..134d7dc6 100644 --- a/spark_fhir_schemas/r4/resources/careteam.py +++ b/spark_fhir_schemas/r4/resources/careteam.py @@ -452,5 +452,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/catalogentry.py b/spark_fhir_schemas/r4/resources/catalogentry.py index 2c281448..b5c2dccd 100644 --- a/spark_fhir_schemas/r4/resources/catalogentry.py +++ b/spark_fhir_schemas/r4/resources/catalogentry.py @@ -446,5 +446,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/chargeitem.py b/spark_fhir_schemas/r4/resources/chargeitem.py index ca7f0ff7..11631105 100644 --- a/spark_fhir_schemas/r4/resources/chargeitem.py +++ b/spark_fhir_schemas/r4/resources/chargeitem.py @@ -733,5 +733,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py index 17de0101..b5932b31 100644 --- a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py @@ -653,5 +653,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/claim.py b/spark_fhir_schemas/r4/resources/claim.py index 549a4e66..018a4c8c 100644 --- a/spark_fhir_schemas/r4/resources/claim.py +++ b/spark_fhir_schemas/r4/resources/claim.py @@ -748,5 +748,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/claimresponse.py b/spark_fhir_schemas/r4/resources/claimresponse.py index f3dd9910..eca1b2d5 100644 --- a/spark_fhir_schemas/r4/resources/claimresponse.py +++ b/spark_fhir_schemas/r4/resources/claimresponse.py @@ -731,5 +731,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/clinicalimpression.py b/spark_fhir_schemas/r4/resources/clinicalimpression.py index 16c09557..eedaad97 100644 --- a/spark_fhir_schemas/r4/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4/resources/clinicalimpression.py @@ -613,5 +613,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/codesystem.py b/spark_fhir_schemas/r4/resources/codesystem.py index 0204e22b..e5678c41 100644 --- a/spark_fhir_schemas/r4/resources/codesystem.py +++ b/spark_fhir_schemas/r4/resources/codesystem.py @@ -643,5 +643,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/communication.py b/spark_fhir_schemas/r4/resources/communication.py index 62abc6c2..ad2868a2 100644 --- a/spark_fhir_schemas/r4/resources/communication.py +++ b/spark_fhir_schemas/r4/resources/communication.py @@ -680,5 +680,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/communicationrequest.py b/spark_fhir_schemas/r4/resources/communicationrequest.py index d0f75892..041fecfa 100644 --- a/spark_fhir_schemas/r4/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4/resources/communicationrequest.py @@ -654,5 +654,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/compartmentdefinition.py b/spark_fhir_schemas/r4/resources/compartmentdefinition.py index 07a6e3a2..db636933 100644 --- a/spark_fhir_schemas/r4/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4/resources/compartmentdefinition.py @@ -437,5 +437,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/composition.py b/spark_fhir_schemas/r4/resources/composition.py index 67260077..b1458a3c 100644 --- a/spark_fhir_schemas/r4/resources/composition.py +++ b/spark_fhir_schemas/r4/resources/composition.py @@ -519,5 +519,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/conceptmap.py b/spark_fhir_schemas/r4/resources/conceptmap.py index cc7293ec..13bf108b 100644 --- a/spark_fhir_schemas/r4/resources/conceptmap.py +++ b/spark_fhir_schemas/r4/resources/conceptmap.py @@ -526,5 +526,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/condition.py b/spark_fhir_schemas/r4/resources/condition.py index 44fb32f1..ee150059 100644 --- a/spark_fhir_schemas/r4/resources/condition.py +++ b/spark_fhir_schemas/r4/resources/condition.py @@ -680,5 +680,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/consent.py b/spark_fhir_schemas/r4/resources/consent.py index 5d96bdc7..586c7426 100644 --- a/spark_fhir_schemas/r4/resources/consent.py +++ b/spark_fhir_schemas/r4/resources/consent.py @@ -502,5 +502,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/contract.py b/spark_fhir_schemas/r4/resources/contract.py index d5128e52..bf7373de 100644 --- a/spark_fhir_schemas/r4/resources/contract.py +++ b/spark_fhir_schemas/r4/resources/contract.py @@ -914,5 +914,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/coverage.py b/spark_fhir_schemas/r4/resources/coverage.py index 804a391d..0348b0a8 100644 --- a/spark_fhir_schemas/r4/resources/coverage.py +++ b/spark_fhir_schemas/r4/resources/coverage.py @@ -511,5 +511,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py index 4466f3fa..8007bf54 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py @@ -503,5 +503,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py index 4ee82b95..ae88a271 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py @@ -468,5 +468,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/detectedissue.py b/spark_fhir_schemas/r4/resources/detectedissue.py index 1b4245c2..548e6354 100644 --- a/spark_fhir_schemas/r4/resources/detectedissue.py +++ b/spark_fhir_schemas/r4/resources/detectedissue.py @@ -443,5 +443,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/device.py b/spark_fhir_schemas/r4/resources/device.py index aaeba393..7d86d575 100644 --- a/spark_fhir_schemas/r4/resources/device.py +++ b/spark_fhir_schemas/r4/resources/device.py @@ -643,5 +643,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/devicedefinition.py b/spark_fhir_schemas/r4/resources/devicedefinition.py index 5eb981d0..bc61be2b 100644 --- a/spark_fhir_schemas/r4/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4/resources/devicedefinition.py @@ -648,5 +648,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/devicemetric.py b/spark_fhir_schemas/r4/resources/devicemetric.py index 2d29ab26..665849c4 100644 --- a/spark_fhir_schemas/r4/resources/devicemetric.py +++ b/spark_fhir_schemas/r4/resources/devicemetric.py @@ -408,5 +408,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/devicerequest.py b/spark_fhir_schemas/r4/resources/devicerequest.py index e1322fe0..54c764d1 100644 --- a/spark_fhir_schemas/r4/resources/devicerequest.py +++ b/spark_fhir_schemas/r4/resources/devicerequest.py @@ -746,5 +746,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/deviceusestatement.py b/spark_fhir_schemas/r4/resources/deviceusestatement.py index 3fb1eced..9951c810 100644 --- a/spark_fhir_schemas/r4/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4/resources/deviceusestatement.py @@ -489,5 +489,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/diagnosticreport.py b/spark_fhir_schemas/r4/resources/diagnosticreport.py index 030469f7..fd7fc82d 100644 --- a/spark_fhir_schemas/r4/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4/resources/diagnosticreport.py @@ -590,5 +590,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/documentmanifest.py b/spark_fhir_schemas/r4/resources/documentmanifest.py index b18d69de..4f3e93e1 100644 --- a/spark_fhir_schemas/r4/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4/resources/documentmanifest.py @@ -439,5 +439,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/documentreference.py b/spark_fhir_schemas/r4/resources/documentreference.py index 6766a26e..9f074e4b 100644 --- a/spark_fhir_schemas/r4/resources/documentreference.py +++ b/spark_fhir_schemas/r4/resources/documentreference.py @@ -529,5 +529,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py index 2391556a..e9d42199 100644 --- a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py @@ -839,5 +839,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/encounter.py b/spark_fhir_schemas/r4/resources/encounter.py index c7e1b130..93294fe1 100644 --- a/spark_fhir_schemas/r4/resources/encounter.py +++ b/spark_fhir_schemas/r4/resources/encounter.py @@ -700,5 +700,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/endpoint.py b/spark_fhir_schemas/r4/resources/endpoint.py index 4fe33281..4dce4003 100644 --- a/spark_fhir_schemas/r4/resources/endpoint.py +++ b/spark_fhir_schemas/r4/resources/endpoint.py @@ -401,5 +401,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/enrollmentrequest.py b/spark_fhir_schemas/r4/resources/enrollmentrequest.py index d96e2fdf..23a72b67 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4/resources/enrollmentrequest.py @@ -340,5 +340,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/enrollmentresponse.py b/spark_fhir_schemas/r4/resources/enrollmentresponse.py index f0f35b58..de3f9232 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4/resources/enrollmentresponse.py @@ -331,5 +331,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/episodeofcare.py b/spark_fhir_schemas/r4/resources/episodeofcare.py index eccf8638..1d006328 100644 --- a/spark_fhir_schemas/r4/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4/resources/episodeofcare.py @@ -451,5 +451,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/eventdefinition.py b/spark_fhir_schemas/r4/resources/eventdefinition.py index ee1adf8c..5a3dc83c 100644 --- a/spark_fhir_schemas/r4/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4/resources/eventdefinition.py @@ -721,5 +721,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/evidence.py b/spark_fhir_schemas/r4/resources/evidence.py index 3eb1bb1b..5bddc0b8 100644 --- a/spark_fhir_schemas/r4/resources/evidence.py +++ b/spark_fhir_schemas/r4/resources/evidence.py @@ -714,5 +714,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/evidencevariable.py b/spark_fhir_schemas/r4/resources/evidencevariable.py index 07420137..cf8bf0af 100644 --- a/spark_fhir_schemas/r4/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4/resources/evidencevariable.py @@ -686,5 +686,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/examplescenario.py b/spark_fhir_schemas/r4/resources/examplescenario.py index e543d401..4b172d52 100644 --- a/spark_fhir_schemas/r4/resources/examplescenario.py +++ b/spark_fhir_schemas/r4/resources/examplescenario.py @@ -547,5 +547,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/explanationofbenefit.py b/spark_fhir_schemas/r4/resources/explanationofbenefit.py index 5a835760..72ab2781 100644 --- a/spark_fhir_schemas/r4/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4/resources/explanationofbenefit.py @@ -1048,5 +1048,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/familymemberhistory.py b/spark_fhir_schemas/r4/resources/familymemberhistory.py index d8984810..1c662d91 100644 --- a/spark_fhir_schemas/r4/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4/resources/familymemberhistory.py @@ -617,5 +617,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/flag.py b/spark_fhir_schemas/r4/resources/flag.py index 65da048c..bc447bc3 100644 --- a/spark_fhir_schemas/r4/resources/flag.py +++ b/spark_fhir_schemas/r4/resources/flag.py @@ -358,5 +358,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/goal.py b/spark_fhir_schemas/r4/resources/goal.py index 84628166..dab73c46 100644 --- a/spark_fhir_schemas/r4/resources/goal.py +++ b/spark_fhir_schemas/r4/resources/goal.py @@ -502,5 +502,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/graphdefinition.py b/spark_fhir_schemas/r4/resources/graphdefinition.py index 25963b79..575167c4 100644 --- a/spark_fhir_schemas/r4/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4/resources/graphdefinition.py @@ -492,5 +492,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/group.py b/spark_fhir_schemas/r4/resources/group.py index d1f30956..fca0750c 100644 --- a/spark_fhir_schemas/r4/resources/group.py +++ b/spark_fhir_schemas/r4/resources/group.py @@ -370,5 +370,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/guidanceresponse.py b/spark_fhir_schemas/r4/resources/guidanceresponse.py index 8c7a5398..326796de 100644 --- a/spark_fhir_schemas/r4/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4/resources/guidanceresponse.py @@ -540,5 +540,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/healthcareservice.py b/spark_fhir_schemas/r4/resources/healthcareservice.py index 811ad355..0f6cbaa3 100644 --- a/spark_fhir_schemas/r4/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4/resources/healthcareservice.py @@ -653,5 +653,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/imagingstudy.py b/spark_fhir_schemas/r4/resources/imagingstudy.py index 9c0408f1..12a84b94 100644 --- a/spark_fhir_schemas/r4/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4/resources/imagingstudy.py @@ -606,5 +606,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/immunization.py b/spark_fhir_schemas/r4/resources/immunization.py index 48fe0848..687a3b54 100644 --- a/spark_fhir_schemas/r4/resources/immunization.py +++ b/spark_fhir_schemas/r4/resources/immunization.py @@ -708,5 +708,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/immunizationevaluation.py b/spark_fhir_schemas/r4/resources/immunizationevaluation.py index f1c23c87..201eb36b 100644 --- a/spark_fhir_schemas/r4/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4/resources/immunizationevaluation.py @@ -420,5 +420,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py index 1afc7dac..e6f13332 100644 --- a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py @@ -311,5 +311,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/implementationguide.py b/spark_fhir_schemas/r4/resources/implementationguide.py index 090ab74e..77f759ac 100644 --- a/spark_fhir_schemas/r4/resources/implementationguide.py +++ b/spark_fhir_schemas/r4/resources/implementationguide.py @@ -575,5 +575,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/insuranceplan.py b/spark_fhir_schemas/r4/resources/insuranceplan.py index 6ed6da3a..7dff581d 100644 --- a/spark_fhir_schemas/r4/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4/resources/insuranceplan.py @@ -458,5 +458,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/invoice.py b/spark_fhir_schemas/r4/resources/invoice.py index 75fc0fb7..90cba4b5 100644 --- a/spark_fhir_schemas/r4/resources/invoice.py +++ b/spark_fhir_schemas/r4/resources/invoice.py @@ -507,5 +507,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/library.py b/spark_fhir_schemas/r4/resources/library.py index b836fb0e..0f8a12f0 100644 --- a/spark_fhir_schemas/r4/resources/library.py +++ b/spark_fhir_schemas/r4/resources/library.py @@ -789,5 +789,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/linkage.py b/spark_fhir_schemas/r4/resources/linkage.py index b44306d4..1a32191b 100644 --- a/spark_fhir_schemas/r4/resources/linkage.py +++ b/spark_fhir_schemas/r4/resources/linkage.py @@ -274,5 +274,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/list.py b/spark_fhir_schemas/r4/resources/list.py index a0e28dbd..899a63cc 100644 --- a/spark_fhir_schemas/r4/resources/list.py +++ b/spark_fhir_schemas/r4/resources/list.py @@ -421,5 +421,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/location.py b/spark_fhir_schemas/r4/resources/location.py index 2162c341..395208d7 100644 --- a/spark_fhir_schemas/r4/resources/location.py +++ b/spark_fhir_schemas/r4/resources/location.py @@ -477,5 +477,6 @@ class of locations. else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/measure.py b/spark_fhir_schemas/r4/resources/measure.py index cff25e59..50ad28f5 100644 --- a/spark_fhir_schemas/r4/resources/measure.py +++ b/spark_fhir_schemas/r4/resources/measure.py @@ -957,5 +957,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/measurereport.py b/spark_fhir_schemas/r4/resources/measurereport.py index e2f20067..b4389c99 100644 --- a/spark_fhir_schemas/r4/resources/measurereport.py +++ b/spark_fhir_schemas/r4/resources/measurereport.py @@ -418,5 +418,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/media.py b/spark_fhir_schemas/r4/resources/media.py index 3361b3a5..02f7bf89 100644 --- a/spark_fhir_schemas/r4/resources/media.py +++ b/spark_fhir_schemas/r4/resources/media.py @@ -636,5 +636,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medication.py b/spark_fhir_schemas/r4/resources/medication.py index 47194dac..a5f333ce 100644 --- a/spark_fhir_schemas/r4/resources/medication.py +++ b/spark_fhir_schemas/r4/resources/medication.py @@ -386,5 +386,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicationadministration.py b/spark_fhir_schemas/r4/resources/medicationadministration.py index c240aff6..d65426d3 100644 --- a/spark_fhir_schemas/r4/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4/resources/medicationadministration.py @@ -662,5 +662,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicationdispense.py b/spark_fhir_schemas/r4/resources/medicationdispense.py index 8be3143a..d9a2ed87 100644 --- a/spark_fhir_schemas/r4/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4/resources/medicationdispense.py @@ -749,5 +749,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicationknowledge.py b/spark_fhir_schemas/r4/resources/medicationknowledge.py index 08b5da6e..4bc11591 100644 --- a/spark_fhir_schemas/r4/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4/resources/medicationknowledge.py @@ -678,5 +678,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicationrequest.py b/spark_fhir_schemas/r4/resources/medicationrequest.py index f2bf8e3b..7790b273 100644 --- a/spark_fhir_schemas/r4/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4/resources/medicationrequest.py @@ -916,5 +916,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicationstatement.py b/spark_fhir_schemas/r4/resources/medicationstatement.py index d5df77dd..be093288 100644 --- a/spark_fhir_schemas/r4/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4/resources/medicationstatement.py @@ -644,5 +644,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproduct.py b/spark_fhir_schemas/r4/resources/medicinalproduct.py index 221355a9..7ef9abfe 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproduct.py +++ b/spark_fhir_schemas/r4/resources/medicinalproduct.py @@ -605,5 +605,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py index 1af3fbf3..f59dadf6 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py @@ -522,5 +522,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py index 07b6975e..9c38ea7d 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py @@ -358,5 +358,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductindication.py b/spark_fhir_schemas/r4/resources/medicinalproductindication.py index dabaf171..a8ce1169 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductindication.py @@ -388,5 +388,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py index b145279b..4a7612f2 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py @@ -329,5 +329,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py index 1ca13c9c..896af314 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py @@ -337,5 +337,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py index 3ba0987d..f92f1017 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py @@ -354,5 +354,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py index 49ee4ed7..a7155f02 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py @@ -384,5 +384,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py index 0f9cf4a9..a60e3638 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py @@ -357,5 +357,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py index abbf688c..6f3b84f2 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py @@ -311,5 +311,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/messagedefinition.py b/spark_fhir_schemas/r4/resources/messagedefinition.py index a3b78e28..47d8b7a3 100644 --- a/spark_fhir_schemas/r4/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4/resources/messagedefinition.py @@ -639,5 +639,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/messageheader.py b/spark_fhir_schemas/r4/resources/messageheader.py index cdb06bdc..d12e76c6 100644 --- a/spark_fhir_schemas/r4/resources/messageheader.py +++ b/spark_fhir_schemas/r4/resources/messageheader.py @@ -462,5 +462,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/molecularsequence.py b/spark_fhir_schemas/r4/resources/molecularsequence.py index 00946077..9fd58f07 100644 --- a/spark_fhir_schemas/r4/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4/resources/molecularsequence.py @@ -519,5 +519,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/namingsystem.py b/spark_fhir_schemas/r4/resources/namingsystem.py index 5e16b67d..5439e9d5 100644 --- a/spark_fhir_schemas/r4/resources/namingsystem.py +++ b/spark_fhir_schemas/r4/resources/namingsystem.py @@ -419,5 +419,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/nutritionorder.py b/spark_fhir_schemas/r4/resources/nutritionorder.py index c528330f..fded2e62 100644 --- a/spark_fhir_schemas/r4/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4/resources/nutritionorder.py @@ -592,5 +592,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/observation.py b/spark_fhir_schemas/r4/resources/observation.py index fbe2e696..2909b05c 100644 --- a/spark_fhir_schemas/r4/resources/observation.py +++ b/spark_fhir_schemas/r4/resources/observation.py @@ -909,5 +909,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/observationdefinition.py b/spark_fhir_schemas/r4/resources/observationdefinition.py index 68caa683..6fa7e353 100644 --- a/spark_fhir_schemas/r4/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4/resources/observationdefinition.py @@ -439,5 +439,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/operationdefinition.py b/spark_fhir_schemas/r4/resources/operationdefinition.py index fa57d802..e0897999 100644 --- a/spark_fhir_schemas/r4/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4/resources/operationdefinition.py @@ -630,5 +630,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/operationoutcome.py b/spark_fhir_schemas/r4/resources/operationoutcome.py index ea223ec4..518e2e97 100644 --- a/spark_fhir_schemas/r4/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4/resources/operationoutcome.py @@ -238,5 +238,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/organization.py b/spark_fhir_schemas/r4/resources/organization.py index a8effa65..72d86fda 100644 --- a/spark_fhir_schemas/r4/resources/organization.py +++ b/spark_fhir_schemas/r4/resources/organization.py @@ -386,5 +386,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/organizationaffiliation.py b/spark_fhir_schemas/r4/resources/organizationaffiliation.py index d5cdb35d..b8dde3c0 100644 --- a/spark_fhir_schemas/r4/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4/resources/organizationaffiliation.py @@ -447,5 +447,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/parameters.py b/spark_fhir_schemas/r4/resources/parameters.py index 899933d4..f54c09eb 100644 --- a/spark_fhir_schemas/r4/resources/parameters.py +++ b/spark_fhir_schemas/r4/resources/parameters.py @@ -160,5 +160,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/patient.py b/spark_fhir_schemas/r4/resources/patient.py index 6e26e6d3..129df6ba 100644 --- a/spark_fhir_schemas/r4/resources/patient.py +++ b/spark_fhir_schemas/r4/resources/patient.py @@ -500,5 +500,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/paymentnotice.py b/spark_fhir_schemas/r4/resources/paymentnotice.py index 2ccaa7c5..69e46c9e 100644 --- a/spark_fhir_schemas/r4/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4/resources/paymentnotice.py @@ -425,5 +425,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/paymentreconciliation.py b/spark_fhir_schemas/r4/resources/paymentreconciliation.py index 2d969007..93a389b1 100644 --- a/spark_fhir_schemas/r4/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4/resources/paymentreconciliation.py @@ -463,5 +463,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/person.py b/spark_fhir_schemas/r4/resources/person.py index 0fe801fc..b493563b 100644 --- a/spark_fhir_schemas/r4/resources/person.py +++ b/spark_fhir_schemas/r4/resources/person.py @@ -373,5 +373,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/plandefinition.py b/spark_fhir_schemas/r4/resources/plandefinition.py index ad685060..abfe0691 100644 --- a/spark_fhir_schemas/r4/resources/plandefinition.py +++ b/spark_fhir_schemas/r4/resources/plandefinition.py @@ -798,5 +798,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/practitioner.py b/spark_fhir_schemas/r4/resources/practitioner.py index 8f1e92f5..39bfee51 100644 --- a/spark_fhir_schemas/r4/resources/practitioner.py +++ b/spark_fhir_schemas/r4/resources/practitioner.py @@ -396,5 +396,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/practitionerrole.py b/spark_fhir_schemas/r4/resources/practitionerrole.py index 68c5fa44..4c0482be 100644 --- a/spark_fhir_schemas/r4/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4/resources/practitionerrole.py @@ -482,5 +482,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/procedure.py b/spark_fhir_schemas/r4/resources/procedure.py index 9912cbf1..29ab90c4 100644 --- a/spark_fhir_schemas/r4/resources/procedure.py +++ b/spark_fhir_schemas/r4/resources/procedure.py @@ -857,5 +857,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/provenance.py b/spark_fhir_schemas/r4/resources/provenance.py index df916265..8a276dcf 100644 --- a/spark_fhir_schemas/r4/resources/provenance.py +++ b/spark_fhir_schemas/r4/resources/provenance.py @@ -452,5 +452,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/questionnaire.py b/spark_fhir_schemas/r4/resources/questionnaire.py index d78876b0..984bb4ba 100644 --- a/spark_fhir_schemas/r4/resources/questionnaire.py +++ b/spark_fhir_schemas/r4/resources/questionnaire.py @@ -602,5 +602,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/questionnaireresponse.py b/spark_fhir_schemas/r4/resources/questionnaireresponse.py index 8ae7d396..dac6b620 100644 --- a/spark_fhir_schemas/r4/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4/resources/questionnaireresponse.py @@ -429,5 +429,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/relatedperson.py b/spark_fhir_schemas/r4/resources/relatedperson.py index 507927a7..f798c981 100644 --- a/spark_fhir_schemas/r4/resources/relatedperson.py +++ b/spark_fhir_schemas/r4/resources/relatedperson.py @@ -422,5 +422,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/requestgroup.py b/spark_fhir_schemas/r4/resources/requestgroup.py index 69246c2a..22f90c44 100644 --- a/spark_fhir_schemas/r4/resources/requestgroup.py +++ b/spark_fhir_schemas/r4/resources/requestgroup.py @@ -569,5 +569,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/researchdefinition.py b/spark_fhir_schemas/r4/resources/researchdefinition.py index d772aa05..1b37e0f8 100644 --- a/spark_fhir_schemas/r4/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchdefinition.py @@ -821,5 +821,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/researchelementdefinition.py b/spark_fhir_schemas/r4/resources/researchelementdefinition.py index 739139d5..4f5882c0 100644 --- a/spark_fhir_schemas/r4/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchelementdefinition.py @@ -775,5 +775,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/researchstudy.py b/spark_fhir_schemas/r4/resources/researchstudy.py index 2bf765da..74422874 100644 --- a/spark_fhir_schemas/r4/resources/researchstudy.py +++ b/spark_fhir_schemas/r4/resources/researchstudy.py @@ -694,5 +694,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/researchsubject.py b/spark_fhir_schemas/r4/resources/researchsubject.py index 30a0d06f..320d6e1f 100644 --- a/spark_fhir_schemas/r4/resources/researchsubject.py +++ b/spark_fhir_schemas/r4/resources/researchsubject.py @@ -322,5 +322,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/riskassessment.py b/spark_fhir_schemas/r4/resources/riskassessment.py index 0e5f7d9c..67b3c7c8 100644 --- a/spark_fhir_schemas/r4/resources/riskassessment.py +++ b/spark_fhir_schemas/r4/resources/riskassessment.py @@ -533,5 +533,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py index 4cf1b2f9..f3309bda 100644 --- a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py @@ -794,5 +794,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/schedule.py b/spark_fhir_schemas/r4/resources/schedule.py index 68905f2c..919bd665 100644 --- a/spark_fhir_schemas/r4/resources/schedule.py +++ b/spark_fhir_schemas/r4/resources/schedule.py @@ -365,5 +365,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/searchparameter.py b/spark_fhir_schemas/r4/resources/searchparameter.py index 76346e44..ce9076fc 100644 --- a/spark_fhir_schemas/r4/resources/searchparameter.py +++ b/spark_fhir_schemas/r4/resources/searchparameter.py @@ -588,5 +588,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/servicerequest.py b/spark_fhir_schemas/r4/resources/servicerequest.py index 019878eb..28cdf695 100644 --- a/spark_fhir_schemas/r4/resources/servicerequest.py +++ b/spark_fhir_schemas/r4/resources/servicerequest.py @@ -953,5 +953,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/slot.py b/spark_fhir_schemas/r4/resources/slot.py index 1da21530..2bb3f3cf 100644 --- a/spark_fhir_schemas/r4/resources/slot.py +++ b/spark_fhir_schemas/r4/resources/slot.py @@ -400,5 +400,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/specimen.py b/spark_fhir_schemas/r4/resources/specimen.py index 5ec3999c..5a004a0d 100644 --- a/spark_fhir_schemas/r4/resources/specimen.py +++ b/spark_fhir_schemas/r4/resources/specimen.py @@ -466,5 +466,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/specimendefinition.py b/spark_fhir_schemas/r4/resources/specimendefinition.py index 1c159d29..7a251c27 100644 --- a/spark_fhir_schemas/r4/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4/resources/specimendefinition.py @@ -316,5 +316,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/structuredefinition.py b/spark_fhir_schemas/r4/resources/structuredefinition.py index 7478d53b..744b011b 100644 --- a/spark_fhir_schemas/r4/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4/resources/structuredefinition.py @@ -679,5 +679,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/structuremap.py b/spark_fhir_schemas/r4/resources/structuremap.py index 91165e8e..faf2d9ec 100644 --- a/spark_fhir_schemas/r4/resources/structuremap.py +++ b/spark_fhir_schemas/r4/resources/structuremap.py @@ -548,5 +548,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/subscription.py b/spark_fhir_schemas/r4/resources/subscription.py index 3d6dbf37..23f0283e 100644 --- a/spark_fhir_schemas/r4/resources/subscription.py +++ b/spark_fhir_schemas/r4/resources/subscription.py @@ -306,5 +306,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substance.py b/spark_fhir_schemas/r4/resources/substance.py index 98a32987..c9c739bb 100644 --- a/spark_fhir_schemas/r4/resources/substance.py +++ b/spark_fhir_schemas/r4/resources/substance.py @@ -331,5 +331,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substancenucleicacid.py b/spark_fhir_schemas/r4/resources/substancenucleicacid.py index c836ee15..2a7e3ec1 100644 --- a/spark_fhir_schemas/r4/resources/substancenucleicacid.py +++ b/spark_fhir_schemas/r4/resources/substancenucleicacid.py @@ -317,5 +317,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substancepolymer.py b/spark_fhir_schemas/r4/resources/substancepolymer.py index 0c746995..7883c37b 100644 --- a/spark_fhir_schemas/r4/resources/substancepolymer.py +++ b/spark_fhir_schemas/r4/resources/substancepolymer.py @@ -318,5 +318,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substanceprotein.py b/spark_fhir_schemas/r4/resources/substanceprotein.py index 740744d1..8fcb00ed 100644 --- a/spark_fhir_schemas/r4/resources/substanceprotein.py +++ b/spark_fhir_schemas/r4/resources/substanceprotein.py @@ -324,5 +324,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py index 8c3e6a7f..ad5477ab 100644 --- a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py +++ b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py @@ -307,5 +307,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substancesourcematerial.py b/spark_fhir_schemas/r4/resources/substancesourcematerial.py index 6a00508e..03cfc50a 100644 --- a/spark_fhir_schemas/r4/resources/substancesourcematerial.py +++ b/spark_fhir_schemas/r4/resources/substancesourcematerial.py @@ -489,5 +489,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/substancespecification.py b/spark_fhir_schemas/r4/resources/substancespecification.py index 38624708..9a306f38 100644 --- a/spark_fhir_schemas/r4/resources/substancespecification.py +++ b/spark_fhir_schemas/r4/resources/substancespecification.py @@ -557,5 +557,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/supplydelivery.py b/spark_fhir_schemas/r4/resources/supplydelivery.py index c685bb42..5eccdbd2 100644 --- a/spark_fhir_schemas/r4/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4/resources/supplydelivery.py @@ -440,5 +440,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/supplyrequest.py b/spark_fhir_schemas/r4/resources/supplyrequest.py index 2414d1b7..b5ff0a4d 100644 --- a/spark_fhir_schemas/r4/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4/resources/supplyrequest.py @@ -543,5 +543,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/task.py b/spark_fhir_schemas/r4/resources/task.py index 60fb81c0..7004dd67 100644 --- a/spark_fhir_schemas/r4/resources/task.py +++ b/spark_fhir_schemas/r4/resources/task.py @@ -773,5 +773,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/terminologycapabilities.py b/spark_fhir_schemas/r4/resources/terminologycapabilities.py index 0cc20ed1..bb29b8de 100644 --- a/spark_fhir_schemas/r4/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4/resources/terminologycapabilities.py @@ -655,5 +655,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/testreport.py b/spark_fhir_schemas/r4/resources/testreport.py index da96c9c3..c4583cc2 100644 --- a/spark_fhir_schemas/r4/resources/testreport.py +++ b/spark_fhir_schemas/r4/resources/testreport.py @@ -398,5 +398,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/testscript.py b/spark_fhir_schemas/r4/resources/testscript.py index 5b8a2e27..e80dfb1e 100644 --- a/spark_fhir_schemas/r4/resources/testscript.py +++ b/spark_fhir_schemas/r4/resources/testscript.py @@ -676,5 +676,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/valueset.py b/spark_fhir_schemas/r4/resources/valueset.py index ccdbb541..93ecd027 100644 --- a/spark_fhir_schemas/r4/resources/valueset.py +++ b/spark_fhir_schemas/r4/resources/valueset.py @@ -538,5 +538,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/verificationresult.py b/spark_fhir_schemas/r4/resources/verificationresult.py index 3389d7aa..f5bda422 100644 --- a/spark_fhir_schemas/r4/resources/verificationresult.py +++ b/spark_fhir_schemas/r4/resources/verificationresult.py @@ -466,5 +466,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/resources/visionprescription.py b/spark_fhir_schemas/r4/resources/visionprescription.py index 4f2e660a..85b7d538 100644 --- a/spark_fhir_schemas/r4/resources/visionprescription.py +++ b/spark_fhir_schemas/r4/resources/visionprescription.py @@ -368,5 +368,6 @@ def get_schema( else StructField("extension", StringType(), True) for c in schema.fields ] + schema.names = [n for n in schema.names if n != "extension"] return schema diff --git a/spark_fhir_schemas/r4/template.jinja2 b/spark_fhir_schemas/r4/template.jinja2 index e2012a91..83ffacc1 100644 --- a/spark_fhir_schemas/r4/template.jinja2 +++ b/spark_fhir_schemas/r4/template.jinja2 @@ -127,13 +127,19 @@ class {{resource.Name}}Schema: ) if not include_extension: schema.fields = [c if c.name != "extension" else StructField("extension", StringType(), True) for c in schema.fields] + schema.names = [n for n in schema.names if n != "extension"] {% if resource.Name == "Extension" %} if extension_fields: schema.fields = [ c for c in schema.fields - if c.name in extension_fields or c.name in ["id", "extension"] + if c.name in extension_fields or c.name in ["id", "extension", "url"] + ] + schema.names = [ + n + for n in schema.names + if n in extension_fields or n in ["id", "extension", "url"] ] {% endif %} return schema diff --git a/tests/control_extensions/__init__.py b/tests/control_extensions/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tests/control_extensions/test_control_extensions.py b/tests/control_extensions/test_control_extensions.py new file mode 100644 index 00000000..398817d0 --- /dev/null +++ b/tests/control_extensions/test_control_extensions.py @@ -0,0 +1,19 @@ +from spark_fhir_schemas.r4.resources.patient import PatientSchema + + +def test_control_extensions() -> None: + # schema = PatientSchema.get_schema() + # assert schema["extension"].dataType == StringType() + # schema_extensions = PatientSchema.get_schema(include_extension=True) + # assert schema_extensions["extension"].dataType != StringType() + # schema_with_extensions_nested_2 = PatientSchema.get_schema( + # include_extension=True, max_extension_depth=2 + # ) + # assert schema_with_extensions_nested_2.fields[7].dataType.elementType.fields[1].dataType.elementType.fields[ + # 1].dataType.elementType.fields[0].dataType == StringType() + schema_with_extensions_subset = PatientSchema.get_schema( + include_extension=True, + max_extension_depth=2, + extension_fields=["valueString", "valueCode"], + ) + print("ff") From 371857b8bc63d0cdbe3e1431a8bc9b8a59c39927 Mon Sep 17 00:00:00 2001 From: imranq2 Date: Wed, 16 Jun 2021 16:42:17 -0700 Subject: [PATCH 4/4] fix tests --- .../test_control_extensions.py | 31 +++++++++++++------ 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/tests/control_extensions/test_control_extensions.py b/tests/control_extensions/test_control_extensions.py index 398817d0..f95d2621 100644 --- a/tests/control_extensions/test_control_extensions.py +++ b/tests/control_extensions/test_control_extensions.py @@ -1,19 +1,30 @@ +from pyspark.sql.types import StringType + from spark_fhir_schemas.r4.resources.patient import PatientSchema def test_control_extensions() -> None: - # schema = PatientSchema.get_schema() - # assert schema["extension"].dataType == StringType() - # schema_extensions = PatientSchema.get_schema(include_extension=True) - # assert schema_extensions["extension"].dataType != StringType() - # schema_with_extensions_nested_2 = PatientSchema.get_schema( - # include_extension=True, max_extension_depth=2 - # ) - # assert schema_with_extensions_nested_2.fields[7].dataType.elementType.fields[1].dataType.elementType.fields[ - # 1].dataType.elementType.fields[0].dataType == StringType() + schema = PatientSchema.get_schema() + assert schema["extension"].dataType == StringType() # type: ignore + schema_extensions = PatientSchema.get_schema(include_extension=True) + assert schema_extensions["extension"].dataType != StringType() # type: ignore + schema_with_extensions_nested_2 = PatientSchema.get_schema( + include_extension=True, max_extension_depth=2 + ) + assert ( + schema_with_extensions_nested_2.fields[7] # type: ignore + .dataType.elementType.fields[1] + .dataType.elementType.fields[1] + .dataType.elementType.fields[0] + .dataType + == StringType() + ) schema_with_extensions_subset = PatientSchema.get_schema( include_extension=True, max_extension_depth=2, extension_fields=["valueString", "valueCode"], ) - print("ff") + assert [ + c.name + for c in schema_with_extensions_subset.fields[7].dataType.elementType.fields # type: ignore + ] == ["id", "extension", "url", "valueCode", "valueString"]