diff --git a/spark_fhir_schemas/r4/complex_types/account_coverage.py b/spark_fhir_schemas/r4/complex_types/account_coverage.py index 43aee858..c7a643fd 100644 --- a/spark_fhir_schemas/r4/complex_types/account_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/account_coverage.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/account_guarantor.py b/spark_fhir_schemas/r4/complex_types/account_guarantor.py index bb8f2515..c8d3ebc8 100644 --- a/spark_fhir_schemas/r4/complex_types/account_guarantor.py +++ b/spark_fhir_schemas/r4/complex_types/account_guarantor.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py index 5ed4a614..4d175c7c 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_dynamicvalue.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py index 17cb3af5..1c8a9ce6 100644 --- a/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/activitydefinition_participant.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/address.py b/spark_fhir_schemas/r4/complex_types/address.py index aa8142e4..abf71678 100644 --- a/spark_fhir_schemas/r4/complex_types/address.py +++ b/spark_fhir_schemas/r4/complex_types/address.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py index 1c96a235..7424f3af 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_causality.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py index 50bb2442..08b13762 100644 --- a/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py +++ b/spark_fhir_schemas/r4/complex_types/adverseevent_suspectentity.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/age.py b/spark_fhir_schemas/r4/complex_types/age.py index 71ed66cc..d05053c6 100644 --- a/spark_fhir_schemas/r4/complex_types/age.py +++ b/spark_fhir_schemas/r4/complex_types/age.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py index c46121d6..6cce4704 100644 --- a/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/allergyintolerance_reaction.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/annotation.py b/spark_fhir_schemas/r4/complex_types/annotation.py index 68426953..fe25e8ea 100644 --- a/spark_fhir_schemas/r4/complex_types/annotation.py +++ b/spark_fhir_schemas/r4/complex_types/annotation.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/appointment_participant.py b/spark_fhir_schemas/r4/complex_types/appointment_participant.py index da87d601..7ee330b6 100644 --- a/spark_fhir_schemas/r4/complex_types/appointment_participant.py +++ b/spark_fhir_schemas/r4/complex_types/appointment_participant.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/attachment.py b/spark_fhir_schemas/r4/complex_types/attachment.py index 0b1bcc3f..fd9ca4f0 100644 --- a/spark_fhir_schemas/r4/complex_types/attachment.py +++ b/spark_fhir_schemas/r4/complex_types/attachment.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py index c696f321..7aec6637 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_agent.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_agent.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py index 882bb9d4..84b7ccea 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_detail.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_detail.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py index c81b500c..1c60ace2 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_entity.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_entity.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_network.py b/spark_fhir_schemas/r4/complex_types/auditevent_network.py index e390b97a..fe00a24a 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_network.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_network.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/auditevent_source.py b/spark_fhir_schemas/r4/complex_types/auditevent_source.py index e7eef6be..f28c48b0 100644 --- a/spark_fhir_schemas/r4/complex_types/auditevent_source.py +++ b/spark_fhir_schemas/r4/complex_types/auditevent_source.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py index bf7c2bf5..68b66968 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_collection.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py index 7f2555f3..6755c01a 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_manipulation.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py index 759bb05a..d1f6733c 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_processing.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py index c51d1b9b..c808cb1d 100644 --- a/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py +++ b/spark_fhir_schemas/r4/complex_types/biologicallyderivedproduct_storage.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/bundle_entry.py b/spark_fhir_schemas/r4/complex_types/bundle_entry.py index 1c7c7930..bc397cf8 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_entry.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_entry.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/bundle_link.py b/spark_fhir_schemas/r4/complex_types/bundle_link.py index 4b076002..a4e743f6 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_link.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_link.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/bundle_request.py b/spark_fhir_schemas/r4/complex_types/bundle_request.py index 097fc053..6ec8c773 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_request.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_request.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/bundle_response.py b/spark_fhir_schemas/r4/complex_types/bundle_response.py index c7c1ec0e..b29f3c5a 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_response.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_response.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/bundle_search.py b/spark_fhir_schemas/r4/complex_types/bundle_search.py index 9dd70b57..84369966 100644 --- a/spark_fhir_schemas/r4/complex_types/bundle_search.py +++ b/spark_fhir_schemas/r4/complex_types/bundle_search.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py index c54219d4..589fb202 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_document.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py index c32c8b2a..e245404c 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_endpoint.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py index 6994c6c0..e856654e 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_implementation.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py index a80953ac..c50b320d 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py index 3d7aec50..8206fd9b 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_interaction1.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py index 29e6265b..0f3e5dd2 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_messaging.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py index 3cdcfe68..5cc97373 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_operation.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py index a44d7653..534f62f3 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_resource.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py index f4b1356f..156ea600 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_rest.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py index 5d378144..5fd41d9c 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_searchparam.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py index ad41625d..194341e8 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_security.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py index 2bb6d4de..4e87dfa5 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_software.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py index cd8b7764..896ec09c 100644 --- a/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py +++ b/spark_fhir_schemas/r4/complex_types/capabilitystatement_supportedmessage.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/careplan_activity.py b/spark_fhir_schemas/r4/complex_types/careplan_activity.py index 7fbd1726..555f5b83 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_activity.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_activity.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/careplan_detail.py b/spark_fhir_schemas/r4/complex_types/careplan_detail.py index d25c4cae..21b8eb4a 100644 --- a/spark_fhir_schemas/r4/complex_types/careplan_detail.py +++ b/spark_fhir_schemas/r4/complex_types/careplan_detail.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/careteam_participant.py b/spark_fhir_schemas/r4/complex_types/careteam_participant.py index f457b38f..112c894e 100644 --- a/spark_fhir_schemas/r4/complex_types/careteam_participant.py +++ b/spark_fhir_schemas/r4/complex_types/careteam_participant.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py index 5f014074..eaec84f3 100644 --- a/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py +++ b/spark_fhir_schemas/r4/complex_types/catalogentry_relatedentry.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py index f80ba319..a2201f66 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitem_performer.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py index 34ea664a..b89832dd 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_applicability.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py index 66450405..65de1d3a 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_pricecomponent.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py index ee51a758..9e0df6dc 100644 --- a/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py +++ b/spark_fhir_schemas/r4/complex_types/chargeitemdefinition_propertygroup.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_accident.py b/spark_fhir_schemas/r4/complex_types/claim_accident.py index 003d853f..df4c6545 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_accident.py +++ b/spark_fhir_schemas/r4/complex_types/claim_accident.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_careteam.py b/spark_fhir_schemas/r4/complex_types/claim_careteam.py index 06c6260f..5d7c8a18 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/claim_careteam.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_detail.py b/spark_fhir_schemas/r4/complex_types/claim_detail.py index cff40f5c..9453632f 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_detail.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py index 7492aa13..accfd52d 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/claim_diagnosis.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_insurance.py b/spark_fhir_schemas/r4/complex_types/claim_insurance.py index 5d8fbcfd..6ff23a6c 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claim_insurance.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_item.py b/spark_fhir_schemas/r4/complex_types/claim_item.py index 1be3b240..5d57597d 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_item.py +++ b/spark_fhir_schemas/r4/complex_types/claim_item.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_payee.py b/spark_fhir_schemas/r4/complex_types/claim_payee.py index eb6e845a..91821a24 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_payee.py +++ b/spark_fhir_schemas/r4/complex_types/claim_payee.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_procedure.py b/spark_fhir_schemas/r4/complex_types/claim_procedure.py index 76f0d462..ea1982ad 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/claim_procedure.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_related.py b/spark_fhir_schemas/r4/complex_types/claim_related.py index b5a8c1a2..f7c54474 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_related.py +++ b/spark_fhir_schemas/r4/complex_types/claim_related.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py index 9095e870..75b0be7f 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claim_subdetail.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py index 048033c8..c3f7c665 100644 --- a/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/claim_supportinginfo.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py index 32dfdc0c..74325de8 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_additem.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py index 33191f12..1a7d5913 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_adjudication.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py index 899bcedd..a9367660 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py index a8718181..73482a4a 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_detail1.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py index 307beab1..8deaae82 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_error.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py index 68b1bff0..ce578d02 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_insurance.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py index a74af5a3..d4224169 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_item.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py index 7e9572dd..b08980ef 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_payment.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py index 607cbdef..7c75d66a 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_processnote.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py index 7300b1ea..ec5e208b 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py index c8a5d295..b6101732 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_subdetail1.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py index f8eb80f9..86d73801 100644 --- a/spark_fhir_schemas/r4/complex_types/claimresponse_total.py +++ b/spark_fhir_schemas/r4/complex_types/claimresponse_total.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py index df04d0ee..ba4430b8 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_finding.py @@ -24,7 +24,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py index 50ea3b9c..476e50b5 100644 --- a/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py +++ b/spark_fhir_schemas/r4/complex_types/clinicalimpression_investigation.py @@ -24,7 +24,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codeableconcept.py b/spark_fhir_schemas/r4/complex_types/codeableconcept.py index e7fe9673..0fd627b3 100644 --- a/spark_fhir_schemas/r4/complex_types/codeableconcept.py +++ b/spark_fhir_schemas/r4/complex_types/codeableconcept.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py index 39f7b354..88893286 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_concept.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_concept.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py index 8e767d4d..596f28b3 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_designation.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_designation.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py index 72968b60..a8b8ed6e 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_filter.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_filter.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property.py b/spark_fhir_schemas/r4/complex_types/codesystem_property.py index 8c11fc94..75075c54 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py index 758a865b..65bf2dab 100644 --- a/spark_fhir_schemas/r4/complex_types/codesystem_property1.py +++ b/spark_fhir_schemas/r4/complex_types/codesystem_property1.py @@ -30,7 +30,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coding.py b/spark_fhir_schemas/r4/complex_types/coding.py index 5f003695..724edf32 100644 --- a/spark_fhir_schemas/r4/complex_types/coding.py +++ b/spark_fhir_schemas/r4/complex_types/coding.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/communication_payload.py b/spark_fhir_schemas/r4/complex_types/communication_payload.py index 38bc5505..fe0f8607 100644 --- a/spark_fhir_schemas/r4/complex_types/communication_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communication_payload.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py index ee27fd0b..b80aeaa4 100644 --- a/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py +++ b/spark_fhir_schemas/r4/complex_types/communicationrequest_payload.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py index 842e56cf..d96dd22a 100644 --- a/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py +++ b/spark_fhir_schemas/r4/complex_types/compartmentdefinition_resource.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/composition_attester.py b/spark_fhir_schemas/r4/complex_types/composition_attester.py index 90ec4eaf..f99b7049 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_attester.py +++ b/spark_fhir_schemas/r4/complex_types/composition_attester.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/composition_event.py b/spark_fhir_schemas/r4/complex_types/composition_event.py index eef284de..816f54b8 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_event.py +++ b/spark_fhir_schemas/r4/complex_types/composition_event.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py index b109e9ab..f662e129 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/composition_relatesto.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/composition_section.py b/spark_fhir_schemas/r4/complex_types/composition_section.py index 55e7937e..8b9c0ee9 100644 --- a/spark_fhir_schemas/r4/complex_types/composition_section.py +++ b/spark_fhir_schemas/r4/complex_types/composition_section.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py index 0a1fceb4..524c828a 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_dependson.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py index 53d9e5ce..5e04435b 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_element.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_element.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py index b65055b3..cf0d1e4b 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_group.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_group.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py index d96c224f..0f2bdb58 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_target.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_target.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py index acebb851..eecbd23c 100644 --- a/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py +++ b/spark_fhir_schemas/r4/complex_types/conceptmap_unmapped.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/condition_evidence.py b/spark_fhir_schemas/r4/complex_types/condition_evidence.py index 440ff572..a95ecb2c 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/condition_evidence.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/condition_stage.py b/spark_fhir_schemas/r4/complex_types/condition_stage.py index 881b5f7f..49711730 100644 --- a/spark_fhir_schemas/r4/complex_types/condition_stage.py +++ b/spark_fhir_schemas/r4/complex_types/condition_stage.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/consent_actor.py b/spark_fhir_schemas/r4/complex_types/consent_actor.py index 53dde2a4..34432e4f 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_actor.py +++ b/spark_fhir_schemas/r4/complex_types/consent_actor.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/consent_data.py b/spark_fhir_schemas/r4/complex_types/consent_data.py index 3f81e985..7dca14e1 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_data.py +++ b/spark_fhir_schemas/r4/complex_types/consent_data.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/consent_policy.py b/spark_fhir_schemas/r4/complex_types/consent_policy.py index a457452b..fb3bd3b3 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_policy.py +++ b/spark_fhir_schemas/r4/complex_types/consent_policy.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/consent_provision.py b/spark_fhir_schemas/r4/complex_types/consent_provision.py index d1cae2e7..f3267428 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_provision.py +++ b/spark_fhir_schemas/r4/complex_types/consent_provision.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/consent_verification.py b/spark_fhir_schemas/r4/complex_types/consent_verification.py index fb0e9c0b..5c808ad1 100644 --- a/spark_fhir_schemas/r4/complex_types/consent_verification.py +++ b/spark_fhir_schemas/r4/complex_types/consent_verification.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contactdetail.py b/spark_fhir_schemas/r4/complex_types/contactdetail.py index cf8e255a..8f585470 100644 --- a/spark_fhir_schemas/r4/complex_types/contactdetail.py +++ b/spark_fhir_schemas/r4/complex_types/contactdetail.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contactpoint.py b/spark_fhir_schemas/r4/complex_types/contactpoint.py index 17db1b46..d97bbaec 100644 --- a/spark_fhir_schemas/r4/complex_types/contactpoint.py +++ b/spark_fhir_schemas/r4/complex_types/contactpoint.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_action.py b/spark_fhir_schemas/r4/complex_types/contract_action.py index 1c2b0a97..40016e1b 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_action.py +++ b/spark_fhir_schemas/r4/complex_types/contract_action.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_answer.py b/spark_fhir_schemas/r4/complex_types/contract_answer.py index ba470c5d..29e339e5 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_answer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_answer.py @@ -30,7 +30,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_asset.py b/spark_fhir_schemas/r4/complex_types/contract_asset.py index 5bf07519..bf224a02 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_asset.py +++ b/spark_fhir_schemas/r4/complex_types/contract_asset.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py index 82a2b850..8626de85 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/contract_contentdefinition.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_context.py b/spark_fhir_schemas/r4/complex_types/contract_context.py index 0a88797f..a8f040e4 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_context.py +++ b/spark_fhir_schemas/r4/complex_types/contract_context.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_friendly.py b/spark_fhir_schemas/r4/complex_types/contract_friendly.py index c4eba75f..bce913d6 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_friendly.py +++ b/spark_fhir_schemas/r4/complex_types/contract_friendly.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_legal.py b/spark_fhir_schemas/r4/complex_types/contract_legal.py index a51ea6e9..ab130c03 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_legal.py +++ b/spark_fhir_schemas/r4/complex_types/contract_legal.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_offer.py b/spark_fhir_schemas/r4/complex_types/contract_offer.py index 88e2f65d..937c468d 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_offer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_offer.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_party.py b/spark_fhir_schemas/r4/complex_types/contract_party.py index 7da79f30..4881eb97 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_party.py +++ b/spark_fhir_schemas/r4/complex_types/contract_party.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_rule.py b/spark_fhir_schemas/r4/complex_types/contract_rule.py index ca8cdad5..9c8ba108 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_rule.py +++ b/spark_fhir_schemas/r4/complex_types/contract_rule.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py index c8160aca..5fb421c3 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py +++ b/spark_fhir_schemas/r4/complex_types/contract_securitylabel.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_signer.py b/spark_fhir_schemas/r4/complex_types/contract_signer.py index 545217d5..36029955 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_signer.py +++ b/spark_fhir_schemas/r4/complex_types/contract_signer.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_subject.py b/spark_fhir_schemas/r4/complex_types/contract_subject.py index 947f871f..98efdd67 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_subject.py +++ b/spark_fhir_schemas/r4/complex_types/contract_subject.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_term.py b/spark_fhir_schemas/r4/complex_types/contract_term.py index 014c6f1f..02fed178 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_term.py +++ b/spark_fhir_schemas/r4/complex_types/contract_term.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py index bb845674..a7d0c4fe 100644 --- a/spark_fhir_schemas/r4/complex_types/contract_valueditem.py +++ b/spark_fhir_schemas/r4/complex_types/contract_valueditem.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/contributor.py b/spark_fhir_schemas/r4/complex_types/contributor.py index e7212d1a..d7143064 100644 --- a/spark_fhir_schemas/r4/complex_types/contributor.py +++ b/spark_fhir_schemas/r4/complex_types/contributor.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/count.py b/spark_fhir_schemas/r4/complex_types/count.py index 7483ed2b..27db335b 100644 --- a/spark_fhir_schemas/r4/complex_types/count.py +++ b/spark_fhir_schemas/r4/complex_types/count.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverage_class.py b/spark_fhir_schemas/r4/complex_types/coverage_class.py index bfc93ccb..29fff705 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_class.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_class.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py index f6202066..b11d8149 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_costtobeneficiary.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverage_exception.py b/spark_fhir_schemas/r4/complex_types/coverage_exception.py index a39a64e9..c4c0f68e 100644 --- a/spark_fhir_schemas/r4/complex_types/coverage_exception.py +++ b/spark_fhir_schemas/r4/complex_types/coverage_exception.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py index 89bf8f04..34fa6c82 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_diagnosis.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py index 79a83b28..9ed15860 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_insurance.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py index abe99315..3b7656a7 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_item.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py index 4c21e4d9..6b73a042 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityrequest_supportinginfo.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py index 2d7b6e69..b6462936 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_benefit.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py index edacc1b3..83093884 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_error.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py index 36ee0e17..b28534ad 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_insurance.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py index 67ae7b9c..d405f19f 100644 --- a/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/coverageeligibilityresponse_item.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement.py b/spark_fhir_schemas/r4/complex_types/datarequirement.py index 9887a1d9..183d2725 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py index 11d8ab3e..b50fc8f0 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_codefilter.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py index 3920deb6..5c3c0856 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_datefilter.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py index e1f88992..11b8bc8e 100644 --- a/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py +++ b/spark_fhir_schemas/r4/complex_types/datarequirement_sort.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py index 0a266460..236700b8 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_evidence.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py index 5ee46d53..101b33ab 100644 --- a/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py +++ b/spark_fhir_schemas/r4/complex_types/detectedissue_mitigation.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/device_devicename.py b/spark_fhir_schemas/r4/complex_types/device_devicename.py index 2f055588..c64ab12c 100644 --- a/spark_fhir_schemas/r4/complex_types/device_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/device_devicename.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/device_property.py b/spark_fhir_schemas/r4/complex_types/device_property.py index 33c44145..3e87bb5d 100644 --- a/spark_fhir_schemas/r4/complex_types/device_property.py +++ b/spark_fhir_schemas/r4/complex_types/device_property.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/device_specialization.py b/spark_fhir_schemas/r4/complex_types/device_specialization.py index fcd13b29..21e59b78 100644 --- a/spark_fhir_schemas/r4/complex_types/device_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/device_specialization.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py index ab4cc216..ce0519b0 100644 --- a/spark_fhir_schemas/r4/complex_types/device_udicarrier.py +++ b/spark_fhir_schemas/r4/complex_types/device_udicarrier.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/device_version.py b/spark_fhir_schemas/r4/complex_types/device_version.py index f720d63a..574100e3 100644 --- a/spark_fhir_schemas/r4/complex_types/device_version.py +++ b/spark_fhir_schemas/r4/complex_types/device_version.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py index 7d012f18..15e08f77 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_capability.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py index 0d23528d..e49dde94 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_devicename.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py index 934076fd..5cabffd0 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_material.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py index 23170804..c3634535 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_property.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py index 3a8ab988..d443fb6b 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_specialization.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py index 2551f31b..10d11bc3 100644 --- a/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/devicedefinition_udideviceidentifier.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py index db497c13..12b0525f 100644 --- a/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py +++ b/spark_fhir_schemas/r4/complex_types/devicemetric_calibration.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py index 8e8bf639..ff82e050 100644 --- a/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/devicerequest_parameter.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py index 72ec264e..64effd23 100644 --- a/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py +++ b/spark_fhir_schemas/r4/complex_types/diagnosticreport_media.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/distance.py b/spark_fhir_schemas/r4/complex_types/distance.py index 04aa28e2..2af5d632 100644 --- a/spark_fhir_schemas/r4/complex_types/distance.py +++ b/spark_fhir_schemas/r4/complex_types/distance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py index 3104610c..0cc7218b 100644 --- a/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py +++ b/spark_fhir_schemas/r4/complex_types/documentmanifest_related.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_content.py b/spark_fhir_schemas/r4/complex_types/documentreference_content.py index 753a584d..c75b1f56 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_content.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_content.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_context.py b/spark_fhir_schemas/r4/complex_types/documentreference_context.py index 58cea6bf..1f8c03f7 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_context.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_context.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py index a937698b..61d10a02 100644 --- a/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py +++ b/spark_fhir_schemas/r4/complex_types/documentreference_relatesto.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/dosage.py b/spark_fhir_schemas/r4/complex_types/dosage.py index 9fa7e3e7..574b6533 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage.py +++ b/spark_fhir_schemas/r4/complex_types/dosage.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py index 395e9f11..dc3490a7 100644 --- a/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py +++ b/spark_fhir_schemas/r4/complex_types/dosage_doseandrate.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/duration.py b/spark_fhir_schemas/r4/complex_types/duration.py index 089b2d0a..24823d10 100644 --- a/spark_fhir_schemas/r4/complex_types/duration.py +++ b/spark_fhir_schemas/r4/complex_types/duration.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py index d5a97c50..e8d74ef9 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certainty.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py index ada85d9c..6fdb6be1 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_certaintysubcomponent.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py index ef9495c6..7e73ed57 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_effectestimate.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py index f4047b01..e76058c3 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_precisionestimate.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py index 570dc31e..6701e261 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_resultsbyexposure.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py index 3f6c453b..757500a7 100644 --- a/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/effectevidencesynthesis_samplesize.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/element.py b/spark_fhir_schemas/r4/complex_types/element.py index 781c60f8..b4ad7f59 100644 --- a/spark_fhir_schemas/r4/complex_types/element.py +++ b/spark_fhir_schemas/r4/complex_types/element.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition.py b/spark_fhir_schemas/r4/complex_types/elementdefinition.py index 1d542a8c..e7829d0d 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition.py @@ -30,7 +30,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py index ea1bfd2f..a9ec4a7a 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_base.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py index 82c79c67..12fc223d 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_binding.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py index ed7b30e0..c16b43ec 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_constraint.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py index e96bf2b4..47165788 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_discriminator.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py index 332ef222..efc2d787 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_example.py @@ -30,7 +30,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py index 6581ebbf..1068574c 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_mapping.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py index 96874728..6f033d32 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_slicing.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py index a4daf8de..1bf09d60 100644 --- a/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py +++ b/spark_fhir_schemas/r4/complex_types/elementdefinition_type.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py index 825982c8..4f6c06df 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_classhistory.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py index 0569b9c2..288c93b7 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_diagnosis.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py index bf5e06c4..b84f0515 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_hospitalization.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_location.py b/spark_fhir_schemas/r4/complex_types/encounter_location.py index 92a10ef9..d6582891 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_location.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_location.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_participant.py b/spark_fhir_schemas/r4/complex_types/encounter_participant.py index ed3d9dcf..65048632 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_participant.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_participant.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py index 9a0417fb..8cc17ae2 100644 --- a/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/encounter_statushistory.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py index e3c7804f..129f6333 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_diagnosis.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py index 5f70fd17..f1b9dc4d 100644 --- a/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py +++ b/spark_fhir_schemas/r4/complex_types/episodeofcare_statushistory.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py index 7ccc201a..a9433617 100644 --- a/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/evidencevariable_characteristic.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py index d983b640..0702d87e 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_actor.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py index e20b82c5..4c7725fd 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_alternative.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py index 3b3a009d..e3cb56c0 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_containedinstance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py index 5b03e230..49d69dba 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_instance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py index fef90397..4951c602 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_operation.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py index 90b7c0f4..3c4fe86f 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_process.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_process.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py index 37471996..ca94e894 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_step.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_step.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py index b4cd9035..0dc4a440 100644 --- a/spark_fhir_schemas/r4/complex_types/examplescenario_version.py +++ b/spark_fhir_schemas/r4/complex_types/examplescenario_version.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py index 0cbf47f2..9e477dd7 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_accident.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py index af68a3d4..d9fc87c2 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_additem.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py index 3bca0e82..9204f11a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_adjudication.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py index fde8dd46..0f8b3493 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_benefitbalance.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py index d5dd4f79..f7835e99 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_careteam.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py index 9abcc56b..165ba517 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py index b913699c..9f3eac70 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_detail1.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py index f329f297..b0dc0b2d 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_diagnosis.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py index 9e3df04a..699aaec3 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_financial.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py index 2faf542b..02cd2769 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_insurance.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py index 52658cdd..898ffe96 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_item.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py index 9ef0f390..39cb1b87 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payee.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py index faa9f00e..0ff72681 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_payment.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py index 09856234..9c54bfb8 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_procedure.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py index 0fdbf48b..3e138f60 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_processnote.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py index c4985e7d..270bc15e 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_related.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py index 8ef2f0f7..4e821fd8 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py index 44f4f336..0ef60c4d 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_subdetail1.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py index 4c8ec9df..2e279320 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_supportinginfo.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py index 9e114fd5..c325ec4a 100644 --- a/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py +++ b/spark_fhir_schemas/r4/complex_types/explanationofbenefit_total.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/expression.py b/spark_fhir_schemas/r4/complex_types/expression.py index 4dca79cf..9b89d32f 100644 --- a/spark_fhir_schemas/r4/complex_types/expression.py +++ b/spark_fhir_schemas/r4/complex_types/expression.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/extension.py b/spark_fhir_schemas/r4/complex_types/extension.py index e1c0b31a..62f0c71e 100644 --- a/spark_fhir_schemas/r4/complex_types/extension.py +++ b/spark_fhir_schemas/r4/complex_types/extension.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py index b15c1e97..f29f5dba 100644 --- a/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py +++ b/spark_fhir_schemas/r4/complex_types/familymemberhistory_condition.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/goal_target.py b/spark_fhir_schemas/r4/complex_types/goal_target.py index 308a8e58..825d531d 100644 --- a/spark_fhir_schemas/r4/complex_types/goal_target.py +++ b/spark_fhir_schemas/r4/complex_types/goal_target.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py index 5b5b1ae9..910299c7 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_compartment.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py index 467c17bb..04d0eda0 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_link.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py index 192268d7..c72c20ae 100644 --- a/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/graphdefinition_target.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/group_characteristic.py b/spark_fhir_schemas/r4/complex_types/group_characteristic.py index 481bf5f7..54f56dc9 100644 --- a/spark_fhir_schemas/r4/complex_types/group_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/group_characteristic.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/group_member.py b/spark_fhir_schemas/r4/complex_types/group_member.py index 80b7bb76..0e1e25fd 100644 --- a/spark_fhir_schemas/r4/complex_types/group_member.py +++ b/spark_fhir_schemas/r4/complex_types/group_member.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py index e11b0f77..d4ed1b54 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_availabletime.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py index 0092bc2b..dab0a21a 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_eligibility.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py index 40591c6b..5a0ae866 100644 --- a/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/healthcareservice_notavailable.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/humanname.py b/spark_fhir_schemas/r4/complex_types/humanname.py index 83fa7740..96c4cbe7 100644 --- a/spark_fhir_schemas/r4/complex_types/humanname.py +++ b/spark_fhir_schemas/r4/complex_types/humanname.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/identifier.py b/spark_fhir_schemas/r4/complex_types/identifier.py index bbecab66..f72673e4 100644 --- a/spark_fhir_schemas/r4/complex_types/identifier.py +++ b/spark_fhir_schemas/r4/complex_types/identifier.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py index ac253f83..077e4b49 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_instance.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py index 5017bbbb..37664b48 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_performer.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py index c786b8b4..842eadd1 100644 --- a/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py +++ b/spark_fhir_schemas/r4/complex_types/imagingstudy_series.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunization_education.py b/spark_fhir_schemas/r4/complex_types/immunization_education.py index fa920cfc..b2f97869 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_education.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_education.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunization_performer.py b/spark_fhir_schemas/r4/complex_types/immunization_performer.py index dd6b91ab..2cf43eaa 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_performer.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_performer.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py index 79f8bfd5..bc9316c0 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_protocolapplied.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py index d5d5b79f..998f6e12 100644 --- a/spark_fhir_schemas/r4/complex_types/immunization_reaction.py +++ b/spark_fhir_schemas/r4/complex_types/immunization_reaction.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py index 17f73253..b8fbb78e 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_datecriterion.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py index b6f7a232..9d9c51f6 100644 --- a/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py +++ b/spark_fhir_schemas/r4/complex_types/immunizationrecommendation_recommendation.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py index 60fe6d33..06a2ac07 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_definition.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py index 22fc0bbf..637b2d24 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_dependson.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py index 724cddfd..5879294e 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_global.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_global.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py index c578d373..f46ee9d0 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_grouping.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py index b35f01be..0cfa00e0 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_manifest.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py index dc60500c..9c59c340 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py index 941ef0fb..0e2ffac4 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_page1.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py index 4d81a83f..d2ef7304 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_parameter.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py index 52c8e7f0..6425b417 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py index f7718166..4a1912fa 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_resource1.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py index 627752b3..257279d9 100644 --- a/spark_fhir_schemas/r4/complex_types/implementationguide_template.py +++ b/spark_fhir_schemas/r4/complex_types/implementationguide_template.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py index bc3fda0d..b674d239 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py index 25990c46..30e3b4f7 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_benefit1.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py index 43427e17..60006817 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_contact.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py index b1bf2c0e..8620312e 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_cost.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py index 42fd486a..c355f1b0 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_coverage.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py index e6774953..1408b4c9 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_generalcost.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py index 8f6d42ec..98e44f5d 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_limit.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py index 59f5ebc6..60da8e85 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_plan.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py index 14b5325f..9d015b46 100644 --- a/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py +++ b/spark_fhir_schemas/r4/complex_types/insuranceplan_specificcost.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py index 292b489b..ffef6ae7 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_lineitem.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/invoice_participant.py b/spark_fhir_schemas/r4/complex_types/invoice_participant.py index 5fa59a58..f707f0a1 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_participant.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_participant.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py index 6a294158..33415287 100644 --- a/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py +++ b/spark_fhir_schemas/r4/complex_types/invoice_pricecomponent.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/linkage_item.py b/spark_fhir_schemas/r4/complex_types/linkage_item.py index 767838d1..225cb0a1 100644 --- a/spark_fhir_schemas/r4/complex_types/linkage_item.py +++ b/spark_fhir_schemas/r4/complex_types/linkage_item.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/list_entry.py b/spark_fhir_schemas/r4/complex_types/list_entry.py index 7fc123e9..cd4dc95b 100644 --- a/spark_fhir_schemas/r4/complex_types/list_entry.py +++ b/spark_fhir_schemas/r4/complex_types/list_entry.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py index 7b75af55..9abd7100 100644 --- a/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py +++ b/spark_fhir_schemas/r4/complex_types/location_hoursofoperation.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/location_position.py b/spark_fhir_schemas/r4/complex_types/location_position.py index 223b1b76..a3dfbf5a 100644 --- a/spark_fhir_schemas/r4/complex_types/location_position.py +++ b/spark_fhir_schemas/r4/complex_types/location_position.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/marketingstatus.py b/spark_fhir_schemas/r4/complex_types/marketingstatus.py index e85d2f44..e50cbce1 100644 --- a/spark_fhir_schemas/r4/complex_types/marketingstatus.py +++ b/spark_fhir_schemas/r4/complex_types/marketingstatus.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measure_component.py b/spark_fhir_schemas/r4/complex_types/measure_component.py index 696978aa..ad7b2ac3 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_component.py +++ b/spark_fhir_schemas/r4/complex_types/measure_component.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measure_group.py b/spark_fhir_schemas/r4/complex_types/measure_group.py index 8f3565e8..52aeb458 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_group.py +++ b/spark_fhir_schemas/r4/complex_types/measure_group.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measure_population.py b/spark_fhir_schemas/r4/complex_types/measure_population.py index 88ec38e9..79ed97f6 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_population.py +++ b/spark_fhir_schemas/r4/complex_types/measure_population.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py index 036ed767..78524f7a 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measure_stratifier.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py index 7a013770..45264d36 100644 --- a/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py +++ b/spark_fhir_schemas/r4/complex_types/measure_supplementaldata.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_component.py b/spark_fhir_schemas/r4/complex_types/measurereport_component.py index 5256ebf0..ac071b48 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_component.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_component.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_group.py b/spark_fhir_schemas/r4/complex_types/measurereport_group.py index 915477d4..9ed9c81c 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_group.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_group.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population.py b/spark_fhir_schemas/r4/complex_types/measurereport_population.py index f719c6f3..3b8f3523 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py index a039dffd..56887819 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_population1.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_population1.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py index 4b315b65..19f4a0d6 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratifier.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py index 316ac0a5..60bb3761 100644 --- a/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py +++ b/spark_fhir_schemas/r4/complex_types/measurereport_stratum.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medication_batch.py b/spark_fhir_schemas/r4/complex_types/medication_batch.py index af068619..793a3938 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_batch.py +++ b/spark_fhir_schemas/r4/complex_types/medication_batch.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py index 85f13713..a3d7c325 100644 --- a/spark_fhir_schemas/r4/complex_types/medication_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medication_ingredient.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py index 29c94840..2878f61e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_dosage.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py index f10d1a2f..8d4e5a76 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationadministration_performer.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py index b0431b6c..c5a9ffb5 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_performer.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py index f7d2a184..5f6456a4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationdispense_substitution.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py index 9ad06e27..ce118fab 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_administrationguidelines.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py index c62ca4b8..011617d6 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_cost.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py index 6951506f..acc9a517 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_dosage.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py index 6469be0b..9de405f5 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_drugcharacteristic.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py index 7cff7724..88d8b36f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_ingredient.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py index 97dab2a0..f1fe6bb4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_kinetics.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py index d198e718..c4feb79d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_maxdispense.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py index 0694dbd4..725d25d9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_medicineclassification.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py index 277176c6..0486ef9e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monitoringprogram.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py index 33320e14..91cd4a86 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_monograph.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py index e3ded8cd..2fd2d65f 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_packaging.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py index e23143a9..4a581657 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_patientcharacteristics.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py index e49695c2..17711102 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_regulatory.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py index 1651a7cb..b87d6833 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_relatedmedicationknowledge.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py index 64acb088..e73da92d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_schedule.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py index d4cdf48a..a22e2e24 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationknowledge_substitution.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py index 82a79a4b..28bdff60 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_dispenserequest.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py index 20cb0115..9b851af8 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_initialfill.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py index b13c7e91..265dc5ac 100644 --- a/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py +++ b/spark_fhir_schemas/r4/complex_types/medicationrequest_substitution.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py index c1b63970..ad6b47c9 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_countrylanguage.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py index 2ccc93c6..a102402e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_manufacturingbusinessoperation.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py index c50c5c29..0ed19d9a 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_name.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py index 17f83258..e105aa4d 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_namepart.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py index 4f1e8ca6..86e5ab9e 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproduct_specialdesignation.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py index fae4a789..1d41ef50 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_jurisdictionalauthorization.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py index 954e8aae..f0c0088b 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductauthorization_procedure.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py index 7ce51b30..29dbc1f1 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductcontraindication_othertherapy.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py index 40a6d4e0..20a1e660 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductindication_othertherapy.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py index 64981e43..35ee1446 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_referencestrength.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py index 13f9b006..c76587cc 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_specifiedsubstance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py index 22fd4098..26286998 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_strength.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py index 46fc338f..737b130c 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductingredient_substance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py index 0c4bf6a1..fe413c54 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductinteraction_interactant.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py index c43b2317..0e1d7c32 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_batchidentifier.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py index 06ea8b68..a58a3ce4 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpackaged_packageitem.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py index 45ebae12..cad442ac 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_characteristics.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py index 09757dc0..1f1f4a44 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_routeofadministration.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py index e6636c15..638a7422 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_targetspecies.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py index addc2e28..c489a710 100644 --- a/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py +++ b/spark_fhir_schemas/r4/complex_types/medicinalproductpharmaceutical_withdrawalperiod.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py index 0dca378b..e87da4d0 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_allowedresponse.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py index 1b7bcbd9..820d66cc 100644 --- a/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py +++ b/spark_fhir_schemas/r4/complex_types/messagedefinition_focus.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py index 314e2d0f..f3f7f58c 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_destination.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_destination.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_response.py b/spark_fhir_schemas/r4/complex_types/messageheader_response.py index 0ac3cca0..59fc0747 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_response.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_response.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/messageheader_source.py b/spark_fhir_schemas/r4/complex_types/messageheader_source.py index 09d5827f..d98930c8 100644 --- a/spark_fhir_schemas/r4/complex_types/messageheader_source.py +++ b/spark_fhir_schemas/r4/complex_types/messageheader_source.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/meta.py b/spark_fhir_schemas/r4/complex_types/meta.py index c94fd008..f728e501 100644 --- a/spark_fhir_schemas/r4/complex_types/meta.py +++ b/spark_fhir_schemas/r4/complex_types/meta.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py index b1ed866f..027c88af 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_inner.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py index b5527e8c..3d6262d4 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_outer.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py index 62356199..93e78182 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_quality.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py index 69b4d7ef..a22d6f0b 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_referenceseq.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py index 0e7ce8c0..0afbd67a 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_repository.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py index 01022df4..53a8f254 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_roc.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py index 1ab7c207..c73c643f 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_structurevariant.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py index fa13def1..c38c6616 100644 --- a/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py +++ b/spark_fhir_schemas/r4/complex_types/molecularsequence_variant.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/money.py b/spark_fhir_schemas/r4/complex_types/money.py index 118438b6..32ed034c 100644 --- a/spark_fhir_schemas/r4/complex_types/money.py +++ b/spark_fhir_schemas/r4/complex_types/money.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py index 9e27eed5..859044f0 100644 --- a/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py +++ b/spark_fhir_schemas/r4/complex_types/namingsystem_uniqueid.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/narrative.py b/spark_fhir_schemas/r4/complex_types/narrative.py index 4856b59d..92da6005 100644 --- a/spark_fhir_schemas/r4/complex_types/narrative.py +++ b/spark_fhir_schemas/r4/complex_types/narrative.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py index ab08849a..6daaa1bc 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_administration.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py index 5d248a7e..6fac319f 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_enteralformula.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py index a314b286..bf018f5d 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_nutrient.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py index 992e8570..a94cf5c2 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_oraldiet.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py index 6cc070f3..42252ab4 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_supplement.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py index 7d3c9647..16273670 100644 --- a/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py +++ b/spark_fhir_schemas/r4/complex_types/nutritionorder_texture.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/observation_component.py b/spark_fhir_schemas/r4/complex_types/observation_component.py index d1081e4f..c50dbda5 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_component.py +++ b/spark_fhir_schemas/r4/complex_types/observation_component.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py index e3a47698..94bbc20e 100644 --- a/spark_fhir_schemas/r4/complex_types/observation_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/observation_referencerange.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py index b87837f1..46e9e754 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_qualifiedinterval.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py index 944510f5..ae27b82c 100644 --- a/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py +++ b/spark_fhir_schemas/r4/complex_types/observationdefinition_quantitativedetails.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py index f8476e00..a0e9fe9a 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_binding.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py index 9fbfcb6c..fa0f4266 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_overload.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py index 04408a8a..021a8229 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_parameter.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py index 312f7619..39e47235 100644 --- a/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py +++ b/spark_fhir_schemas/r4/complex_types/operationdefinition_referencedfrom.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py index ff6d7afd..b1c2c791 100644 --- a/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py +++ b/spark_fhir_schemas/r4/complex_types/operationoutcome_issue.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/organization_contact.py b/spark_fhir_schemas/r4/complex_types/organization_contact.py index ed387f3f..57e4fa99 100644 --- a/spark_fhir_schemas/r4/complex_types/organization_contact.py +++ b/spark_fhir_schemas/r4/complex_types/organization_contact.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py index caa192cb..6d0dfe10 100644 --- a/spark_fhir_schemas/r4/complex_types/parameterdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/parameterdefinition.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py index b6580ab8..95e7e387 100644 --- a/spark_fhir_schemas/r4/complex_types/parameters_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/parameters_parameter.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/patient_communication.py b/spark_fhir_schemas/r4/complex_types/patient_communication.py index 236a0646..2c65ad6c 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_communication.py +++ b/spark_fhir_schemas/r4/complex_types/patient_communication.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/patient_contact.py b/spark_fhir_schemas/r4/complex_types/patient_contact.py index 9743d8c6..afbe2319 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_contact.py +++ b/spark_fhir_schemas/r4/complex_types/patient_contact.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/patient_link.py b/spark_fhir_schemas/r4/complex_types/patient_link.py index 628ebc49..457ffad9 100644 --- a/spark_fhir_schemas/r4/complex_types/patient_link.py +++ b/spark_fhir_schemas/r4/complex_types/patient_link.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py index 47d8d602..ec2d4611 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_detail.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py index eeb7ea9f..91f00c06 100644 --- a/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py +++ b/spark_fhir_schemas/r4/complex_types/paymentreconciliation_processnote.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/period.py b/spark_fhir_schemas/r4/complex_types/period.py index 773074d3..f5298cc7 100644 --- a/spark_fhir_schemas/r4/complex_types/period.py +++ b/spark_fhir_schemas/r4/complex_types/period.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/person_link.py b/spark_fhir_schemas/r4/complex_types/person_link.py index 5f52fca0..f7f3b048 100644 --- a/spark_fhir_schemas/r4/complex_types/person_link.py +++ b/spark_fhir_schemas/r4/complex_types/person_link.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py index cd322c41..371b1a58 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_action.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_action.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py index 83d01b20..c5a6578c 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_condition.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py index 759a2410..fb4f84a0 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_dynamicvalue.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py index a73235d6..4105219b 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_goal.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py index 9a8ad707..5bb5c355 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_participant.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py index 06505dbf..06e96e0a 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_relatedaction.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py index 8cc94538..5de152e9 100644 --- a/spark_fhir_schemas/r4/complex_types/plandefinition_target.py +++ b/spark_fhir_schemas/r4/complex_types/plandefinition_target.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/population.py b/spark_fhir_schemas/r4/complex_types/population.py index cb072502..180c7fba 100644 --- a/spark_fhir_schemas/r4/complex_types/population.py +++ b/spark_fhir_schemas/r4/complex_types/population.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py index a595c36f..bbb7c191 100644 --- a/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py +++ b/spark_fhir_schemas/r4/complex_types/practitioner_qualification.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py index 23643b19..855e1a2c 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_availabletime.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py index b4c21e37..2c410be7 100644 --- a/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py +++ b/spark_fhir_schemas/r4/complex_types/practitionerrole_notavailable.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py index 3c3dc481..44857ceb 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_focaldevice.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/procedure_performer.py b/spark_fhir_schemas/r4/complex_types/procedure_performer.py index 2471f8c9..406d5a4b 100644 --- a/spark_fhir_schemas/r4/complex_types/procedure_performer.py +++ b/spark_fhir_schemas/r4/complex_types/procedure_performer.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py index 368c832f..e0c7e025 100644 --- a/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py +++ b/spark_fhir_schemas/r4/complex_types/prodcharacteristic.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/productshelflife.py b/spark_fhir_schemas/r4/complex_types/productshelflife.py index 163ede8e..51ed3dcb 100644 --- a/spark_fhir_schemas/r4/complex_types/productshelflife.py +++ b/spark_fhir_schemas/r4/complex_types/productshelflife.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/provenance_agent.py b/spark_fhir_schemas/r4/complex_types/provenance_agent.py index 278265d3..05d01e92 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_agent.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_agent.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/provenance_entity.py b/spark_fhir_schemas/r4/complex_types/provenance_entity.py index 53e5338c..a72cc688 100644 --- a/spark_fhir_schemas/r4/complex_types/provenance_entity.py +++ b/spark_fhir_schemas/r4/complex_types/provenance_entity.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/quantity.py b/spark_fhir_schemas/r4/complex_types/quantity.py index 5db873af..8615cd0e 100644 --- a/spark_fhir_schemas/r4/complex_types/quantity.py +++ b/spark_fhir_schemas/r4/complex_types/quantity.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py index 48002140..31141e41 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_answeroption.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py index ba19a285..1f367e0c 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_enablewhen.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py index 205ecae3..6bb68a92 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_initial.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py index 9ab7d245..c95c81b5 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaire_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaire_item.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py index 6caf6c82..8b9097e4 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_answer.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py index 0faabbd9..5c4b6956 100644 --- a/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py +++ b/spark_fhir_schemas/r4/complex_types/questionnaireresponse_item.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/range.py b/spark_fhir_schemas/r4/complex_types/range.py index df88dcbf..5b46d578 100644 --- a/spark_fhir_schemas/r4/complex_types/range.py +++ b/spark_fhir_schemas/r4/complex_types/range.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/ratio.py b/spark_fhir_schemas/r4/complex_types/ratio.py index a9072910..522370be 100644 --- a/spark_fhir_schemas/r4/complex_types/ratio.py +++ b/spark_fhir_schemas/r4/complex_types/ratio.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/reference.py b/spark_fhir_schemas/r4/complex_types/reference.py index 5e087f44..be0aec03 100644 --- a/spark_fhir_schemas/r4/complex_types/reference.py +++ b/spark_fhir_schemas/r4/complex_types/reference.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/relatedartifact.py b/spark_fhir_schemas/r4/complex_types/relatedartifact.py index ceeeef12..3a91fc2c 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedartifact.py +++ b/spark_fhir_schemas/r4/complex_types/relatedartifact.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py index 2e7eab1d..e5e0b892 100644 --- a/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py +++ b/spark_fhir_schemas/r4/complex_types/relatedperson_communication.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py index 7ef0d013..ebb490bb 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_action.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_action.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py index 2f3933cd..a2c9e89b 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_condition.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py index 2725cf5e..6aa3e492 100644 --- a/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py +++ b/spark_fhir_schemas/r4/complex_types/requestgroup_relatedaction.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py index e2691f8b..e6e71ada 100644 --- a/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py +++ b/spark_fhir_schemas/r4/complex_types/researchelementdefinition_characteristic.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py index fd50c16f..ba833707 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_arm.py @@ -23,7 +23,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py index 5b669b9c..3a5fb7c1 100644 --- a/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py +++ b/spark_fhir_schemas/r4/complex_types/researchstudy_objective.py @@ -23,7 +23,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/resourcelist.py b/spark_fhir_schemas/r4/complex_types/resourcelist.py index e6cae67a..18115ba2 100644 --- a/spark_fhir_schemas/r4/complex_types/resourcelist.py +++ b/spark_fhir_schemas/r4/complex_types/resourcelist.py @@ -16,7 +16,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py index 28d7aa2a..dbbb64ae 100644 --- a/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py +++ b/spark_fhir_schemas/r4/complex_types/riskassessment_prediction.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py index a8da4695..259b812c 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certainty.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py index 08f0dfcb..29075882 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_certaintysubcomponent.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py index 1cd03ceb..f4e6f9b4 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_precisionestimate.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py index ba4c282a..4dd5bced 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_riskestimate.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py index 522d3574..586074a9 100644 --- a/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py +++ b/spark_fhir_schemas/r4/complex_types/riskevidencesynthesis_samplesize.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/sampleddata.py b/spark_fhir_schemas/r4/complex_types/sampleddata.py index 518b9c0d..2213a50c 100644 --- a/spark_fhir_schemas/r4/complex_types/sampleddata.py +++ b/spark_fhir_schemas/r4/complex_types/sampleddata.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py index b64f531c..25522e73 100644 --- a/spark_fhir_schemas/r4/complex_types/searchparameter_component.py +++ b/spark_fhir_schemas/r4/complex_types/searchparameter_component.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/signature.py b/spark_fhir_schemas/r4/complex_types/signature.py index f7e57dd3..44ea3e30 100644 --- a/spark_fhir_schemas/r4/complex_types/signature.py +++ b/spark_fhir_schemas/r4/complex_types/signature.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimen_collection.py b/spark_fhir_schemas/r4/complex_types/specimen_collection.py index 7fec210d..8d34005e 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_collection.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_collection.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimen_container.py b/spark_fhir_schemas/r4/complex_types/specimen_container.py index 3112bee4..a4162f8a 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_container.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimen_processing.py b/spark_fhir_schemas/r4/complex_types/specimen_processing.py index c94c43e7..b2dc4673 100644 --- a/spark_fhir_schemas/r4/complex_types/specimen_processing.py +++ b/spark_fhir_schemas/r4/complex_types/specimen_processing.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py index 1239fefd..d1c6a9cb 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_additive.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py index 23a824a1..c6630433 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_container.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py index ba97ac4b..604daa23 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_handling.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py index 4fcb3741..dafb5a99 100644 --- a/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py +++ b/spark_fhir_schemas/r4/complex_types/specimendefinition_typetested.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py index 5bbbce58..831b3495 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_context.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py index 1822f7d7..62155ae6 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_differential.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py index 65874d31..a5924167 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_mapping.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py index ccaad38f..378fc8ca 100644 --- a/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py +++ b/spark_fhir_schemas/r4/complex_types/structuredefinition_snapshot.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py index 0cddb374..695914fa 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_dependent.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_group.py b/spark_fhir_schemas/r4/complex_types/structuremap_group.py index 19d5b5fa..aecabd50 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_group.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_group.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_input.py b/spark_fhir_schemas/r4/complex_types/structuremap_input.py index 3aac2d2d..9fc05d59 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_input.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_input.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py index 755ec836..15d12541 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_parameter.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py index da344a92..0ecef8a2 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_rule.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_rule.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_source.py b/spark_fhir_schemas/r4/complex_types/structuremap_source.py index 78de9a96..722784c9 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_source.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_source.py @@ -30,7 +30,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py index eb20381e..044c8ee2 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_structure.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_structure.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/structuremap_target.py b/spark_fhir_schemas/r4/complex_types/structuremap_target.py index 871a017d..2f27e5ec 100644 --- a/spark_fhir_schemas/r4/complex_types/structuremap_target.py +++ b/spark_fhir_schemas/r4/complex_types/structuremap_target.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/subscription_channel.py b/spark_fhir_schemas/r4/complex_types/subscription_channel.py index 748e5c3a..72f97de9 100644 --- a/spark_fhir_schemas/r4/complex_types/subscription_channel.py +++ b/spark_fhir_schemas/r4/complex_types/subscription_channel.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py index 0faf8d25..91d155a8 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_ingredient.py +++ b/spark_fhir_schemas/r4/complex_types/substance_ingredient.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substance_instance.py b/spark_fhir_schemas/r4/complex_types/substance_instance.py index 506d4d49..161e0525 100644 --- a/spark_fhir_schemas/r4/complex_types/substance_instance.py +++ b/spark_fhir_schemas/r4/complex_types/substance_instance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount.py b/spark_fhir_schemas/r4/complex_types/substanceamount.py index 40c65856..3b972bc8 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount.py @@ -23,7 +23,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py index e7c95148..771ea8d5 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py +++ b/spark_fhir_schemas/r4/complex_types/substanceamount_referencerange.py @@ -23,7 +23,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py index 0d33a5a9..cc7d7e2e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_linkage.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py index 51ce35ab..2c682dc8 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_subunit.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py index 6a989049..8cf26f2d 100644 --- a/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py +++ b/spark_fhir_schemas/r4/complex_types/substancenucleicacid_sugar.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py index f52ba734..66a720df 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_degreeofpolymerisation.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py index cafeea35..ede53cc4 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_monomerset.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py index d6e46bc6..a37e373f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeat.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py index 4110cbda..5a08b218 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_repeatunit.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py index dc88a9f6..3687a3cf 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_startingmaterial.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py index de672c09..1ea79c87 100644 --- a/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py +++ b/spark_fhir_schemas/r4/complex_types/substancepolymer_structuralrepresentation.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py index edfb5977..1d18fb89 100644 --- a/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py +++ b/spark_fhir_schemas/r4/complex_types/substanceprotein_subunit.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py index 3b96e896..ea858878 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_classification.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py index 1f35815b..7ccb482f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_gene.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py index 641dfb7e..cf3c4622 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_geneelement.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py index f53c1e9c..e5e5b7bb 100644 --- a/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py +++ b/spark_fhir_schemas/r4/complex_types/substancereferenceinformation_target.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py index 00a41895..690c464f 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_author.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py index 16eac3ae..00d04ec1 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_fractiondescription.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py index 15419a78..95359af3 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_hybrid.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py index 536816c4..273fb6dd 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organism.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py index 93593f32..7303fe84 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_organismgeneral.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py index cd9cf4a7..b1ead79e 100644 --- a/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py +++ b/spark_fhir_schemas/r4/complex_types/substancesourcematerial_partdescription.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py index 67213630..f927baf6 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_code.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_code.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py index 22597f88..2198f531 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_isotope.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py index 491be3fa..f1c0d625 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_moiety.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py index 06a4a2b1..5979b65d 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_molecularweight.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py index 1c211e5e..24e85237 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_name.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_name.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py index e595b76b..1afa65ba 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_official.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_official.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py index 0cca88c0..e737e1d2 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_property.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_property.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py index 640f8161..19eb920a 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_relationship.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py index 44148c93..3d04f30b 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_representation.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py index 3883e60b..ec858773 100644 --- a/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py +++ b/spark_fhir_schemas/r4/complex_types/substancespecification_structure.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py index fc3ac2fe..300f53a7 100644 --- a/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py +++ b/spark_fhir_schemas/r4/complex_types/supplydelivery_supplieditem.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py index aa2767b0..4cad7add 100644 --- a/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/supplyrequest_parameter.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/task_input.py b/spark_fhir_schemas/r4/complex_types/task_input.py index 67519c3d..aa903f14 100644 --- a/spark_fhir_schemas/r4/complex_types/task_input.py +++ b/spark_fhir_schemas/r4/complex_types/task_input.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/task_output.py b/spark_fhir_schemas/r4/complex_types/task_output.py index cea7e7e4..a1ba7789 100644 --- a/spark_fhir_schemas/r4/complex_types/task_output.py +++ b/spark_fhir_schemas/r4/complex_types/task_output.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/task_restriction.py b/spark_fhir_schemas/r4/complex_types/task_restriction.py index 0e9588ec..cb487318 100644 --- a/spark_fhir_schemas/r4/complex_types/task_restriction.py +++ b/spark_fhir_schemas/r4/complex_types/task_restriction.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py index ccd68acc..18c388ca 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_closure.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py index 701abacf..7dd96c73 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_codesystem.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py index d6277b34..cd1f8e0e 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_expansion.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py index 06338fa2..5013fc11 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_filter.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py index a2e54b75..35314ea6 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_implementation.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py index c1854a80..b921742d 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_parameter.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py index b52f58da..cb3fbd3c 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_software.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py index b7dc8355..f40cf3bb 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_translation.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py index 193f56f0..3c3610c6 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_validatecode.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py index be92e1b5..094b6983 100644 --- a/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py +++ b/spark_fhir_schemas/r4/complex_types/terminologycapabilities_version.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action.py b/spark_fhir_schemas/r4/complex_types/testreport_action.py index 0a2d9d19..d7255b2e 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action1.py b/spark_fhir_schemas/r4/complex_types/testreport_action1.py index 2976851a..c9f03c2e 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action1.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_action2.py b/spark_fhir_schemas/r4/complex_types/testreport_action2.py index 5482ddf5..eba59b08 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_action2.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_assert.py b/spark_fhir_schemas/r4/complex_types/testreport_assert.py index c5f739de..2d39efe6 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_assert.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_operation.py b/spark_fhir_schemas/r4/complex_types/testreport_operation.py index 13ac8edb..8a2568c3 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_operation.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_participant.py b/spark_fhir_schemas/r4/complex_types/testreport_participant.py index 77dddce0..038a7ab7 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_participant.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_participant.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_setup.py b/spark_fhir_schemas/r4/complex_types/testreport_setup.py index 937d5df1..0c79306d 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_setup.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py index 1acda902..e24a8e8c 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_teardown.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testreport_test.py b/spark_fhir_schemas/r4/complex_types/testreport_test.py index f770f2a8..f9427cd0 100644 --- a/spark_fhir_schemas/r4/complex_types/testreport_test.py +++ b/spark_fhir_schemas/r4/complex_types/testreport_test.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action.py b/spark_fhir_schemas/r4/complex_types/testscript_action.py index d9159a7e..3b6c5dd0 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action1.py b/spark_fhir_schemas/r4/complex_types/testscript_action1.py index 161a87b0..919fdbc5 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action1.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action1.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_action2.py b/spark_fhir_schemas/r4/complex_types/testscript_action2.py index f4f6ef79..e413ed1e 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_action2.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_action2.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_assert.py b/spark_fhir_schemas/r4/complex_types/testscript_assert.py index bf5c83c7..8bd44eae 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_assert.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_assert.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_capability.py b/spark_fhir_schemas/r4/complex_types/testscript_capability.py index 821b21b0..e8119d29 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_capability.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_capability.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_destination.py b/spark_fhir_schemas/r4/complex_types/testscript_destination.py index 3701bfe6..13e08620 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_destination.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_destination.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py index 6825ac3f..f6c0fefc 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_fixture.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_fixture.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_link.py b/spark_fhir_schemas/r4/complex_types/testscript_link.py index 44d7511d..489b3a7f 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_link.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_link.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py index 1755c10c..9543cbf4 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_metadata.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_metadata.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_operation.py b/spark_fhir_schemas/r4/complex_types/testscript_operation.py index af8c03bf..ecc74609 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_operation.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_operation.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_origin.py b/spark_fhir_schemas/r4/complex_types/testscript_origin.py index 8d9d2896..29d98de5 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_origin.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_origin.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py index b6e9a84a..d3342833 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_requestheader.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_setup.py b/spark_fhir_schemas/r4/complex_types/testscript_setup.py index 1fb295f4..7ed56c33 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_setup.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_setup.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py index b5d49d59..17c9918e 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_teardown.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_teardown.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_test.py b/spark_fhir_schemas/r4/complex_types/testscript_test.py index 94e48a01..1c4b3bf2 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_test.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_test.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/testscript_variable.py b/spark_fhir_schemas/r4/complex_types/testscript_variable.py index 4235ab8a..42511540 100644 --- a/spark_fhir_schemas/r4/complex_types/testscript_variable.py +++ b/spark_fhir_schemas/r4/complex_types/testscript_variable.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/timing.py b/spark_fhir_schemas/r4/complex_types/timing.py index 4b2dc1f4..8c187912 100644 --- a/spark_fhir_schemas/r4/complex_types/timing.py +++ b/spark_fhir_schemas/r4/complex_types/timing.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/timing_repeat.py b/spark_fhir_schemas/r4/complex_types/timing_repeat.py index 85f2f4df..f97c071a 100644 --- a/spark_fhir_schemas/r4/complex_types/timing_repeat.py +++ b/spark_fhir_schemas/r4/complex_types/timing_repeat.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py index fd086f0b..36d5e23a 100644 --- a/spark_fhir_schemas/r4/complex_types/triggerdefinition.py +++ b/spark_fhir_schemas/r4/complex_types/triggerdefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/usagecontext.py b/spark_fhir_schemas/r4/complex_types/usagecontext.py index f3be507c..c27f3fef 100644 --- a/spark_fhir_schemas/r4/complex_types/usagecontext.py +++ b/spark_fhir_schemas/r4/complex_types/usagecontext.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_compose.py b/spark_fhir_schemas/r4/complex_types/valueset_compose.py index 401f1578..1c96d985 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_compose.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_compose.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_concept.py b/spark_fhir_schemas/r4/complex_types/valueset_concept.py index bb978cc8..895318c2 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_concept.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_concept.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_contains.py b/spark_fhir_schemas/r4/complex_types/valueset_contains.py index d8e2b9a9..82942aff 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_contains.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_contains.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_designation.py b/spark_fhir_schemas/r4/complex_types/valueset_designation.py index 6f67e238..b1449591 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_designation.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_designation.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py index ae465990..ab252486 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_expansion.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_expansion.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_filter.py b/spark_fhir_schemas/r4/complex_types/valueset_filter.py index d2b41a26..698bb7da 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_filter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_filter.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_include.py b/spark_fhir_schemas/r4/complex_types/valueset_include.py index 0c26942d..5089c356 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_include.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_include.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py index 124288d2..de90314e 100644 --- a/spark_fhir_schemas/r4/complex_types/valueset_parameter.py +++ b/spark_fhir_schemas/r4/complex_types/valueset_parameter.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py index 6cebec51..f9cb3ff6 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_attestation.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py index b395e54c..3cf5b158 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_primarysource.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py index 689f2207..87e743da 100644 --- a/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py +++ b/spark_fhir_schemas/r4/complex_types/verificationresult_validator.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py index 6fd4a8af..b4f1190c 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_lensspecification.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py index 533fd83c..bc40598e 100644 --- a/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py +++ b/spark_fhir_schemas/r4/complex_types/visionprescription_prism.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/account.py b/spark_fhir_schemas/r4/resources/account.py index 1a12ced3..c33818e2 100644 --- a/spark_fhir_schemas/r4/resources/account.py +++ b/spark_fhir_schemas/r4/resources/account.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/activitydefinition.py b/spark_fhir_schemas/r4/resources/activitydefinition.py index e705e5db..b4b3719d 100644 --- a/spark_fhir_schemas/r4/resources/activitydefinition.py +++ b/spark_fhir_schemas/r4/resources/activitydefinition.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/adverseevent.py b/spark_fhir_schemas/r4/resources/adverseevent.py index 21311899..b6940d58 100644 --- a/spark_fhir_schemas/r4/resources/adverseevent.py +++ b/spark_fhir_schemas/r4/resources/adverseevent.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/allergyintolerance.py b/spark_fhir_schemas/r4/resources/allergyintolerance.py index 5e01ccc9..54dad863 100644 --- a/spark_fhir_schemas/r4/resources/allergyintolerance.py +++ b/spark_fhir_schemas/r4/resources/allergyintolerance.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/appointment.py b/spark_fhir_schemas/r4/resources/appointment.py index 2d46a50e..10dc9c4f 100644 --- a/spark_fhir_schemas/r4/resources/appointment.py +++ b/spark_fhir_schemas/r4/resources/appointment.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/appointmentresponse.py b/spark_fhir_schemas/r4/resources/appointmentresponse.py index 370ee423..18ce3f50 100644 --- a/spark_fhir_schemas/r4/resources/appointmentresponse.py +++ b/spark_fhir_schemas/r4/resources/appointmentresponse.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/auditevent.py b/spark_fhir_schemas/r4/resources/auditevent.py index 7e3f13f4..3e05b43e 100644 --- a/spark_fhir_schemas/r4/resources/auditevent.py +++ b/spark_fhir_schemas/r4/resources/auditevent.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/basic.py b/spark_fhir_schemas/r4/resources/basic.py index 19c91a21..42e55a90 100644 --- a/spark_fhir_schemas/r4/resources/basic.py +++ b/spark_fhir_schemas/r4/resources/basic.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/binary.py b/spark_fhir_schemas/r4/resources/binary.py index 1bb5088b..eab7e657 100644 --- a/spark_fhir_schemas/r4/resources/binary.py +++ b/spark_fhir_schemas/r4/resources/binary.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py index 4ab4d0de..90714b46 100644 --- a/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py +++ b/spark_fhir_schemas/r4/resources/biologicallyderivedproduct.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/bodystructure.py b/spark_fhir_schemas/r4/resources/bodystructure.py index 7cab736b..499730b0 100644 --- a/spark_fhir_schemas/r4/resources/bodystructure.py +++ b/spark_fhir_schemas/r4/resources/bodystructure.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/bundle.py b/spark_fhir_schemas/r4/resources/bundle.py index 5af94272..ea3bb2eb 100644 --- a/spark_fhir_schemas/r4/resources/bundle.py +++ b/spark_fhir_schemas/r4/resources/bundle.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/capabilitystatement.py b/spark_fhir_schemas/r4/resources/capabilitystatement.py index 32d5ba21..3a6469d6 100644 --- a/spark_fhir_schemas/r4/resources/capabilitystatement.py +++ b/spark_fhir_schemas/r4/resources/capabilitystatement.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/careplan.py b/spark_fhir_schemas/r4/resources/careplan.py index b619f064..a7c86ef3 100644 --- a/spark_fhir_schemas/r4/resources/careplan.py +++ b/spark_fhir_schemas/r4/resources/careplan.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/careteam.py b/spark_fhir_schemas/r4/resources/careteam.py index 134d7dc6..7e0bd345 100644 --- a/spark_fhir_schemas/r4/resources/careteam.py +++ b/spark_fhir_schemas/r4/resources/careteam.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/catalogentry.py b/spark_fhir_schemas/r4/resources/catalogentry.py index b5c2dccd..242872a9 100644 --- a/spark_fhir_schemas/r4/resources/catalogentry.py +++ b/spark_fhir_schemas/r4/resources/catalogentry.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/chargeitem.py b/spark_fhir_schemas/r4/resources/chargeitem.py index 11631105..f126c81e 100644 --- a/spark_fhir_schemas/r4/resources/chargeitem.py +++ b/spark_fhir_schemas/r4/resources/chargeitem.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py index b5932b31..5c4a32f7 100644 --- a/spark_fhir_schemas/r4/resources/chargeitemdefinition.py +++ b/spark_fhir_schemas/r4/resources/chargeitemdefinition.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/claim.py b/spark_fhir_schemas/r4/resources/claim.py index 018a4c8c..dd5b185f 100644 --- a/spark_fhir_schemas/r4/resources/claim.py +++ b/spark_fhir_schemas/r4/resources/claim.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/claimresponse.py b/spark_fhir_schemas/r4/resources/claimresponse.py index eca1b2d5..9f4b43a2 100644 --- a/spark_fhir_schemas/r4/resources/claimresponse.py +++ b/spark_fhir_schemas/r4/resources/claimresponse.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/clinicalimpression.py b/spark_fhir_schemas/r4/resources/clinicalimpression.py index eedaad97..2b7ab8a5 100644 --- a/spark_fhir_schemas/r4/resources/clinicalimpression.py +++ b/spark_fhir_schemas/r4/resources/clinicalimpression.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/codesystem.py b/spark_fhir_schemas/r4/resources/codesystem.py index e5678c41..cc17b164 100644 --- a/spark_fhir_schemas/r4/resources/codesystem.py +++ b/spark_fhir_schemas/r4/resources/codesystem.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/communication.py b/spark_fhir_schemas/r4/resources/communication.py index ad2868a2..ed66ed64 100644 --- a/spark_fhir_schemas/r4/resources/communication.py +++ b/spark_fhir_schemas/r4/resources/communication.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/communicationrequest.py b/spark_fhir_schemas/r4/resources/communicationrequest.py index 041fecfa..c819bac0 100644 --- a/spark_fhir_schemas/r4/resources/communicationrequest.py +++ b/spark_fhir_schemas/r4/resources/communicationrequest.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/compartmentdefinition.py b/spark_fhir_schemas/r4/resources/compartmentdefinition.py index db636933..9cf3eb04 100644 --- a/spark_fhir_schemas/r4/resources/compartmentdefinition.py +++ b/spark_fhir_schemas/r4/resources/compartmentdefinition.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/composition.py b/spark_fhir_schemas/r4/resources/composition.py index b1458a3c..e4fe69cd 100644 --- a/spark_fhir_schemas/r4/resources/composition.py +++ b/spark_fhir_schemas/r4/resources/composition.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/conceptmap.py b/spark_fhir_schemas/r4/resources/conceptmap.py index 13bf108b..72a45de4 100644 --- a/spark_fhir_schemas/r4/resources/conceptmap.py +++ b/spark_fhir_schemas/r4/resources/conceptmap.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/condition.py b/spark_fhir_schemas/r4/resources/condition.py index ee150059..43ac1b91 100644 --- a/spark_fhir_schemas/r4/resources/condition.py +++ b/spark_fhir_schemas/r4/resources/condition.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/consent.py b/spark_fhir_schemas/r4/resources/consent.py index 586c7426..fa529285 100644 --- a/spark_fhir_schemas/r4/resources/consent.py +++ b/spark_fhir_schemas/r4/resources/consent.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/contract.py b/spark_fhir_schemas/r4/resources/contract.py index bf7373de..7b712347 100644 --- a/spark_fhir_schemas/r4/resources/contract.py +++ b/spark_fhir_schemas/r4/resources/contract.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/coverage.py b/spark_fhir_schemas/r4/resources/coverage.py index 0348b0a8..8a75e4b0 100644 --- a/spark_fhir_schemas/r4/resources/coverage.py +++ b/spark_fhir_schemas/r4/resources/coverage.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py index 8007bf54..4dc65368 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityrequest.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py index ae88a271..6107255d 100644 --- a/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py +++ b/spark_fhir_schemas/r4/resources/coverageeligibilityresponse.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/detectedissue.py b/spark_fhir_schemas/r4/resources/detectedissue.py index 548e6354..45993c8f 100644 --- a/spark_fhir_schemas/r4/resources/detectedissue.py +++ b/spark_fhir_schemas/r4/resources/detectedissue.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/device.py b/spark_fhir_schemas/r4/resources/device.py index 7d86d575..96ad7ac3 100644 --- a/spark_fhir_schemas/r4/resources/device.py +++ b/spark_fhir_schemas/r4/resources/device.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/devicedefinition.py b/spark_fhir_schemas/r4/resources/devicedefinition.py index bc61be2b..01a8bb35 100644 --- a/spark_fhir_schemas/r4/resources/devicedefinition.py +++ b/spark_fhir_schemas/r4/resources/devicedefinition.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/devicemetric.py b/spark_fhir_schemas/r4/resources/devicemetric.py index 665849c4..dcb433e1 100644 --- a/spark_fhir_schemas/r4/resources/devicemetric.py +++ b/spark_fhir_schemas/r4/resources/devicemetric.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/devicerequest.py b/spark_fhir_schemas/r4/resources/devicerequest.py index 54c764d1..fe1d7f72 100644 --- a/spark_fhir_schemas/r4/resources/devicerequest.py +++ b/spark_fhir_schemas/r4/resources/devicerequest.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/deviceusestatement.py b/spark_fhir_schemas/r4/resources/deviceusestatement.py index 9951c810..5dea8d36 100644 --- a/spark_fhir_schemas/r4/resources/deviceusestatement.py +++ b/spark_fhir_schemas/r4/resources/deviceusestatement.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/diagnosticreport.py b/spark_fhir_schemas/r4/resources/diagnosticreport.py index fd7fc82d..e75051a0 100644 --- a/spark_fhir_schemas/r4/resources/diagnosticreport.py +++ b/spark_fhir_schemas/r4/resources/diagnosticreport.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/documentmanifest.py b/spark_fhir_schemas/r4/resources/documentmanifest.py index 4f3e93e1..ba061300 100644 --- a/spark_fhir_schemas/r4/resources/documentmanifest.py +++ b/spark_fhir_schemas/r4/resources/documentmanifest.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/documentreference.py b/spark_fhir_schemas/r4/resources/documentreference.py index 9f074e4b..0ca21023 100644 --- a/spark_fhir_schemas/r4/resources/documentreference.py +++ b/spark_fhir_schemas/r4/resources/documentreference.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py index e9d42199..1a0ff343 100644 --- a/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/effectevidencesynthesis.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/encounter.py b/spark_fhir_schemas/r4/resources/encounter.py index 93294fe1..3ffd3963 100644 --- a/spark_fhir_schemas/r4/resources/encounter.py +++ b/spark_fhir_schemas/r4/resources/encounter.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/endpoint.py b/spark_fhir_schemas/r4/resources/endpoint.py index 4dce4003..bc5be20d 100644 --- a/spark_fhir_schemas/r4/resources/endpoint.py +++ b/spark_fhir_schemas/r4/resources/endpoint.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/enrollmentrequest.py b/spark_fhir_schemas/r4/resources/enrollmentrequest.py index 23a72b67..a8f9dfc0 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentrequest.py +++ b/spark_fhir_schemas/r4/resources/enrollmentrequest.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/enrollmentresponse.py b/spark_fhir_schemas/r4/resources/enrollmentresponse.py index de3f9232..b7f9a466 100644 --- a/spark_fhir_schemas/r4/resources/enrollmentresponse.py +++ b/spark_fhir_schemas/r4/resources/enrollmentresponse.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/episodeofcare.py b/spark_fhir_schemas/r4/resources/episodeofcare.py index 1d006328..34f7fa81 100644 --- a/spark_fhir_schemas/r4/resources/episodeofcare.py +++ b/spark_fhir_schemas/r4/resources/episodeofcare.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/eventdefinition.py b/spark_fhir_schemas/r4/resources/eventdefinition.py index 5a3dc83c..be6ed2ef 100644 --- a/spark_fhir_schemas/r4/resources/eventdefinition.py +++ b/spark_fhir_schemas/r4/resources/eventdefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/evidence.py b/spark_fhir_schemas/r4/resources/evidence.py index 5bddc0b8..b0317ba6 100644 --- a/spark_fhir_schemas/r4/resources/evidence.py +++ b/spark_fhir_schemas/r4/resources/evidence.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/evidencevariable.py b/spark_fhir_schemas/r4/resources/evidencevariable.py index cf8bf0af..30031e86 100644 --- a/spark_fhir_schemas/r4/resources/evidencevariable.py +++ b/spark_fhir_schemas/r4/resources/evidencevariable.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/examplescenario.py b/spark_fhir_schemas/r4/resources/examplescenario.py index 4b172d52..06a05391 100644 --- a/spark_fhir_schemas/r4/resources/examplescenario.py +++ b/spark_fhir_schemas/r4/resources/examplescenario.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/explanationofbenefit.py b/spark_fhir_schemas/r4/resources/explanationofbenefit.py index 72ab2781..3667b3d4 100644 --- a/spark_fhir_schemas/r4/resources/explanationofbenefit.py +++ b/spark_fhir_schemas/r4/resources/explanationofbenefit.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/familymemberhistory.py b/spark_fhir_schemas/r4/resources/familymemberhistory.py index 1c662d91..fdf04667 100644 --- a/spark_fhir_schemas/r4/resources/familymemberhistory.py +++ b/spark_fhir_schemas/r4/resources/familymemberhistory.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/flag.py b/spark_fhir_schemas/r4/resources/flag.py index bc447bc3..dd831c22 100644 --- a/spark_fhir_schemas/r4/resources/flag.py +++ b/spark_fhir_schemas/r4/resources/flag.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/goal.py b/spark_fhir_schemas/r4/resources/goal.py index dab73c46..39f8777e 100644 --- a/spark_fhir_schemas/r4/resources/goal.py +++ b/spark_fhir_schemas/r4/resources/goal.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/graphdefinition.py b/spark_fhir_schemas/r4/resources/graphdefinition.py index 575167c4..8983db79 100644 --- a/spark_fhir_schemas/r4/resources/graphdefinition.py +++ b/spark_fhir_schemas/r4/resources/graphdefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/group.py b/spark_fhir_schemas/r4/resources/group.py index fca0750c..823e9d4d 100644 --- a/spark_fhir_schemas/r4/resources/group.py +++ b/spark_fhir_schemas/r4/resources/group.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/guidanceresponse.py b/spark_fhir_schemas/r4/resources/guidanceresponse.py index 326796de..44705dfb 100644 --- a/spark_fhir_schemas/r4/resources/guidanceresponse.py +++ b/spark_fhir_schemas/r4/resources/guidanceresponse.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/healthcareservice.py b/spark_fhir_schemas/r4/resources/healthcareservice.py index 0f6cbaa3..d1f63ed6 100644 --- a/spark_fhir_schemas/r4/resources/healthcareservice.py +++ b/spark_fhir_schemas/r4/resources/healthcareservice.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/imagingstudy.py b/spark_fhir_schemas/r4/resources/imagingstudy.py index 12a84b94..948c9771 100644 --- a/spark_fhir_schemas/r4/resources/imagingstudy.py +++ b/spark_fhir_schemas/r4/resources/imagingstudy.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/immunization.py b/spark_fhir_schemas/r4/resources/immunization.py index 687a3b54..71e94729 100644 --- a/spark_fhir_schemas/r4/resources/immunization.py +++ b/spark_fhir_schemas/r4/resources/immunization.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/immunizationevaluation.py b/spark_fhir_schemas/r4/resources/immunizationevaluation.py index 201eb36b..57d53360 100644 --- a/spark_fhir_schemas/r4/resources/immunizationevaluation.py +++ b/spark_fhir_schemas/r4/resources/immunizationevaluation.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py index e6f13332..71ba599c 100644 --- a/spark_fhir_schemas/r4/resources/immunizationrecommendation.py +++ b/spark_fhir_schemas/r4/resources/immunizationrecommendation.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/implementationguide.py b/spark_fhir_schemas/r4/resources/implementationguide.py index 77f759ac..f994a655 100644 --- a/spark_fhir_schemas/r4/resources/implementationguide.py +++ b/spark_fhir_schemas/r4/resources/implementationguide.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/insuranceplan.py b/spark_fhir_schemas/r4/resources/insuranceplan.py index 7dff581d..5f0c0bd2 100644 --- a/spark_fhir_schemas/r4/resources/insuranceplan.py +++ b/spark_fhir_schemas/r4/resources/insuranceplan.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/invoice.py b/spark_fhir_schemas/r4/resources/invoice.py index 90cba4b5..e59afb2b 100644 --- a/spark_fhir_schemas/r4/resources/invoice.py +++ b/spark_fhir_schemas/r4/resources/invoice.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/library.py b/spark_fhir_schemas/r4/resources/library.py index 0f8a12f0..de20e25f 100644 --- a/spark_fhir_schemas/r4/resources/library.py +++ b/spark_fhir_schemas/r4/resources/library.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/linkage.py b/spark_fhir_schemas/r4/resources/linkage.py index 1a32191b..c0d720d6 100644 --- a/spark_fhir_schemas/r4/resources/linkage.py +++ b/spark_fhir_schemas/r4/resources/linkage.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/list.py b/spark_fhir_schemas/r4/resources/list.py index 899a63cc..7c7cf47e 100644 --- a/spark_fhir_schemas/r4/resources/list.py +++ b/spark_fhir_schemas/r4/resources/list.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/location.py b/spark_fhir_schemas/r4/resources/location.py index 395208d7..9dcb0f0c 100644 --- a/spark_fhir_schemas/r4/resources/location.py +++ b/spark_fhir_schemas/r4/resources/location.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/measure.py b/spark_fhir_schemas/r4/resources/measure.py index 50ad28f5..481595ea 100644 --- a/spark_fhir_schemas/r4/resources/measure.py +++ b/spark_fhir_schemas/r4/resources/measure.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/measurereport.py b/spark_fhir_schemas/r4/resources/measurereport.py index b4389c99..4d37e156 100644 --- a/spark_fhir_schemas/r4/resources/measurereport.py +++ b/spark_fhir_schemas/r4/resources/measurereport.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/media.py b/spark_fhir_schemas/r4/resources/media.py index 02f7bf89..c5caaaa9 100644 --- a/spark_fhir_schemas/r4/resources/media.py +++ b/spark_fhir_schemas/r4/resources/media.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medication.py b/spark_fhir_schemas/r4/resources/medication.py index a5f333ce..e3db4530 100644 --- a/spark_fhir_schemas/r4/resources/medication.py +++ b/spark_fhir_schemas/r4/resources/medication.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicationadministration.py b/spark_fhir_schemas/r4/resources/medicationadministration.py index d65426d3..4b194257 100644 --- a/spark_fhir_schemas/r4/resources/medicationadministration.py +++ b/spark_fhir_schemas/r4/resources/medicationadministration.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicationdispense.py b/spark_fhir_schemas/r4/resources/medicationdispense.py index d9a2ed87..4ef92bef 100644 --- a/spark_fhir_schemas/r4/resources/medicationdispense.py +++ b/spark_fhir_schemas/r4/resources/medicationdispense.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicationknowledge.py b/spark_fhir_schemas/r4/resources/medicationknowledge.py index 4bc11591..5b7de24a 100644 --- a/spark_fhir_schemas/r4/resources/medicationknowledge.py +++ b/spark_fhir_schemas/r4/resources/medicationknowledge.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicationrequest.py b/spark_fhir_schemas/r4/resources/medicationrequest.py index 7790b273..009dacc4 100644 --- a/spark_fhir_schemas/r4/resources/medicationrequest.py +++ b/spark_fhir_schemas/r4/resources/medicationrequest.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicationstatement.py b/spark_fhir_schemas/r4/resources/medicationstatement.py index be093288..d3d1dd1b 100644 --- a/spark_fhir_schemas/r4/resources/medicationstatement.py +++ b/spark_fhir_schemas/r4/resources/medicationstatement.py @@ -46,7 +46,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproduct.py b/spark_fhir_schemas/r4/resources/medicinalproduct.py index 7ef9abfe..1751d1d4 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproduct.py +++ b/spark_fhir_schemas/r4/resources/medicinalproduct.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py index f59dadf6..c59d1d29 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductauthorization.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py index 9c38ea7d..15c02c11 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductcontraindication.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductindication.py b/spark_fhir_schemas/r4/resources/medicinalproductindication.py index a8ce1169..74bfb487 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductindication.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductindication.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py index 4a7612f2..b6c2764c 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductingredient.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductingredient.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py index 896af314..b3fbb9df 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductinteraction.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py index f92f1017..7f62ec51 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductmanufactured.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py index a7155f02..8f3c3667 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpackaged.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py index a60e3638..eb305470 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductpharmaceutical.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py index 6f3b84f2..d0aaf8dd 100644 --- a/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py +++ b/spark_fhir_schemas/r4/resources/medicinalproductundesirableeffect.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/messagedefinition.py b/spark_fhir_schemas/r4/resources/messagedefinition.py index 47d8b7a3..584466f5 100644 --- a/spark_fhir_schemas/r4/resources/messagedefinition.py +++ b/spark_fhir_schemas/r4/resources/messagedefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/messageheader.py b/spark_fhir_schemas/r4/resources/messageheader.py index d12e76c6..16e1f2a4 100644 --- a/spark_fhir_schemas/r4/resources/messageheader.py +++ b/spark_fhir_schemas/r4/resources/messageheader.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/molecularsequence.py b/spark_fhir_schemas/r4/resources/molecularsequence.py index 9fd58f07..29d3f594 100644 --- a/spark_fhir_schemas/r4/resources/molecularsequence.py +++ b/spark_fhir_schemas/r4/resources/molecularsequence.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/namingsystem.py b/spark_fhir_schemas/r4/resources/namingsystem.py index 5439e9d5..6276e8b0 100644 --- a/spark_fhir_schemas/r4/resources/namingsystem.py +++ b/spark_fhir_schemas/r4/resources/namingsystem.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/nutritionorder.py b/spark_fhir_schemas/r4/resources/nutritionorder.py index fded2e62..5bde3905 100644 --- a/spark_fhir_schemas/r4/resources/nutritionorder.py +++ b/spark_fhir_schemas/r4/resources/nutritionorder.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/observation.py b/spark_fhir_schemas/r4/resources/observation.py index 2909b05c..8b78a382 100644 --- a/spark_fhir_schemas/r4/resources/observation.py +++ b/spark_fhir_schemas/r4/resources/observation.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/observationdefinition.py b/spark_fhir_schemas/r4/resources/observationdefinition.py index 6fa7e353..a51a61e4 100644 --- a/spark_fhir_schemas/r4/resources/observationdefinition.py +++ b/spark_fhir_schemas/r4/resources/observationdefinition.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/operationdefinition.py b/spark_fhir_schemas/r4/resources/operationdefinition.py index e0897999..08cafd09 100644 --- a/spark_fhir_schemas/r4/resources/operationdefinition.py +++ b/spark_fhir_schemas/r4/resources/operationdefinition.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/operationoutcome.py b/spark_fhir_schemas/r4/resources/operationoutcome.py index 518e2e97..a8280c69 100644 --- a/spark_fhir_schemas/r4/resources/operationoutcome.py +++ b/spark_fhir_schemas/r4/resources/operationoutcome.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/organization.py b/spark_fhir_schemas/r4/resources/organization.py index 72d86fda..c8bd7e40 100644 --- a/spark_fhir_schemas/r4/resources/organization.py +++ b/spark_fhir_schemas/r4/resources/organization.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/organizationaffiliation.py b/spark_fhir_schemas/r4/resources/organizationaffiliation.py index b8dde3c0..dc1325d1 100644 --- a/spark_fhir_schemas/r4/resources/organizationaffiliation.py +++ b/spark_fhir_schemas/r4/resources/organizationaffiliation.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/parameters.py b/spark_fhir_schemas/r4/resources/parameters.py index f54c09eb..f0d9842b 100644 --- a/spark_fhir_schemas/r4/resources/parameters.py +++ b/spark_fhir_schemas/r4/resources/parameters.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/patient.py b/spark_fhir_schemas/r4/resources/patient.py index 129df6ba..ff38b32d 100644 --- a/spark_fhir_schemas/r4/resources/patient.py +++ b/spark_fhir_schemas/r4/resources/patient.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/paymentnotice.py b/spark_fhir_schemas/r4/resources/paymentnotice.py index 69e46c9e..3e481aa3 100644 --- a/spark_fhir_schemas/r4/resources/paymentnotice.py +++ b/spark_fhir_schemas/r4/resources/paymentnotice.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/paymentreconciliation.py b/spark_fhir_schemas/r4/resources/paymentreconciliation.py index 93a389b1..b0609468 100644 --- a/spark_fhir_schemas/r4/resources/paymentreconciliation.py +++ b/spark_fhir_schemas/r4/resources/paymentreconciliation.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/person.py b/spark_fhir_schemas/r4/resources/person.py index b493563b..10ac5d89 100644 --- a/spark_fhir_schemas/r4/resources/person.py +++ b/spark_fhir_schemas/r4/resources/person.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/plandefinition.py b/spark_fhir_schemas/r4/resources/plandefinition.py index abfe0691..bf35fb01 100644 --- a/spark_fhir_schemas/r4/resources/plandefinition.py +++ b/spark_fhir_schemas/r4/resources/plandefinition.py @@ -29,7 +29,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/practitioner.py b/spark_fhir_schemas/r4/resources/practitioner.py index 39bfee51..0fbe66b0 100644 --- a/spark_fhir_schemas/r4/resources/practitioner.py +++ b/spark_fhir_schemas/r4/resources/practitioner.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/practitionerrole.py b/spark_fhir_schemas/r4/resources/practitionerrole.py index 4c0482be..1de47590 100644 --- a/spark_fhir_schemas/r4/resources/practitionerrole.py +++ b/spark_fhir_schemas/r4/resources/practitionerrole.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/procedure.py b/spark_fhir_schemas/r4/resources/procedure.py index 29ab90c4..7bc3c02e 100644 --- a/spark_fhir_schemas/r4/resources/procedure.py +++ b/spark_fhir_schemas/r4/resources/procedure.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/provenance.py b/spark_fhir_schemas/r4/resources/provenance.py index 8a276dcf..76d57c99 100644 --- a/spark_fhir_schemas/r4/resources/provenance.py +++ b/spark_fhir_schemas/r4/resources/provenance.py @@ -33,7 +33,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/questionnaire.py b/spark_fhir_schemas/r4/resources/questionnaire.py index 984bb4ba..3d0ce435 100644 --- a/spark_fhir_schemas/r4/resources/questionnaire.py +++ b/spark_fhir_schemas/r4/resources/questionnaire.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/questionnaireresponse.py b/spark_fhir_schemas/r4/resources/questionnaireresponse.py index dac6b620..08d6f3e9 100644 --- a/spark_fhir_schemas/r4/resources/questionnaireresponse.py +++ b/spark_fhir_schemas/r4/resources/questionnaireresponse.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/relatedperson.py b/spark_fhir_schemas/r4/resources/relatedperson.py index f798c981..92c59515 100644 --- a/spark_fhir_schemas/r4/resources/relatedperson.py +++ b/spark_fhir_schemas/r4/resources/relatedperson.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/requestgroup.py b/spark_fhir_schemas/r4/resources/requestgroup.py index 22f90c44..07e887e3 100644 --- a/spark_fhir_schemas/r4/resources/requestgroup.py +++ b/spark_fhir_schemas/r4/resources/requestgroup.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/researchdefinition.py b/spark_fhir_schemas/r4/resources/researchdefinition.py index 1b37e0f8..b69dcae2 100644 --- a/spark_fhir_schemas/r4/resources/researchdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchdefinition.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/researchelementdefinition.py b/spark_fhir_schemas/r4/resources/researchelementdefinition.py index 4f5882c0..0047798a 100644 --- a/spark_fhir_schemas/r4/resources/researchelementdefinition.py +++ b/spark_fhir_schemas/r4/resources/researchelementdefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/researchstudy.py b/spark_fhir_schemas/r4/resources/researchstudy.py index 74422874..815b4d7a 100644 --- a/spark_fhir_schemas/r4/resources/researchstudy.py +++ b/spark_fhir_schemas/r4/resources/researchstudy.py @@ -23,7 +23,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/researchsubject.py b/spark_fhir_schemas/r4/resources/researchsubject.py index 320d6e1f..b628cb87 100644 --- a/spark_fhir_schemas/r4/resources/researchsubject.py +++ b/spark_fhir_schemas/r4/resources/researchsubject.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/riskassessment.py b/spark_fhir_schemas/r4/resources/riskassessment.py index 67b3c7c8..b491ac43 100644 --- a/spark_fhir_schemas/r4/resources/riskassessment.py +++ b/spark_fhir_schemas/r4/resources/riskassessment.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py index f3309bda..fa9edd37 100644 --- a/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py +++ b/spark_fhir_schemas/r4/resources/riskevidencesynthesis.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/schedule.py b/spark_fhir_schemas/r4/resources/schedule.py index 919bd665..5107215c 100644 --- a/spark_fhir_schemas/r4/resources/schedule.py +++ b/spark_fhir_schemas/r4/resources/schedule.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/searchparameter.py b/spark_fhir_schemas/r4/resources/searchparameter.py index ce9076fc..3b14369d 100644 --- a/spark_fhir_schemas/r4/resources/searchparameter.py +++ b/spark_fhir_schemas/r4/resources/searchparameter.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/servicerequest.py b/spark_fhir_schemas/r4/resources/servicerequest.py index 28cdf695..56eed1e3 100644 --- a/spark_fhir_schemas/r4/resources/servicerequest.py +++ b/spark_fhir_schemas/r4/resources/servicerequest.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/slot.py b/spark_fhir_schemas/r4/resources/slot.py index 2bb3f3cf..42fd034b 100644 --- a/spark_fhir_schemas/r4/resources/slot.py +++ b/spark_fhir_schemas/r4/resources/slot.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/specimen.py b/spark_fhir_schemas/r4/resources/specimen.py index 5a004a0d..7f8bb04e 100644 --- a/spark_fhir_schemas/r4/resources/specimen.py +++ b/spark_fhir_schemas/r4/resources/specimen.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/specimendefinition.py b/spark_fhir_schemas/r4/resources/specimendefinition.py index 7a251c27..c7a0cbd6 100644 --- a/spark_fhir_schemas/r4/resources/specimendefinition.py +++ b/spark_fhir_schemas/r4/resources/specimendefinition.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/structuredefinition.py b/spark_fhir_schemas/r4/resources/structuredefinition.py index 744b011b..37ed463e 100644 --- a/spark_fhir_schemas/r4/resources/structuredefinition.py +++ b/spark_fhir_schemas/r4/resources/structuredefinition.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/structuremap.py b/spark_fhir_schemas/r4/resources/structuremap.py index faf2d9ec..1fdee78a 100644 --- a/spark_fhir_schemas/r4/resources/structuremap.py +++ b/spark_fhir_schemas/r4/resources/structuremap.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/subscription.py b/spark_fhir_schemas/r4/resources/subscription.py index 23f0283e..affca7f7 100644 --- a/spark_fhir_schemas/r4/resources/subscription.py +++ b/spark_fhir_schemas/r4/resources/subscription.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substance.py b/spark_fhir_schemas/r4/resources/substance.py index c9c739bb..d6a85062 100644 --- a/spark_fhir_schemas/r4/resources/substance.py +++ b/spark_fhir_schemas/r4/resources/substance.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substancenucleicacid.py b/spark_fhir_schemas/r4/resources/substancenucleicacid.py index 2a7e3ec1..ea0a16bd 100644 --- a/spark_fhir_schemas/r4/resources/substancenucleicacid.py +++ b/spark_fhir_schemas/r4/resources/substancenucleicacid.py @@ -21,7 +21,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substancepolymer.py b/spark_fhir_schemas/r4/resources/substancepolymer.py index 7883c37b..c11752aa 100644 --- a/spark_fhir_schemas/r4/resources/substancepolymer.py +++ b/spark_fhir_schemas/r4/resources/substancepolymer.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substanceprotein.py b/spark_fhir_schemas/r4/resources/substanceprotein.py index 8fcb00ed..3e8dea56 100644 --- a/spark_fhir_schemas/r4/resources/substanceprotein.py +++ b/spark_fhir_schemas/r4/resources/substanceprotein.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py index ad5477ab..d5270f04 100644 --- a/spark_fhir_schemas/r4/resources/substancereferenceinformation.py +++ b/spark_fhir_schemas/r4/resources/substancereferenceinformation.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substancesourcematerial.py b/spark_fhir_schemas/r4/resources/substancesourcematerial.py index 03cfc50a..a27fda35 100644 --- a/spark_fhir_schemas/r4/resources/substancesourcematerial.py +++ b/spark_fhir_schemas/r4/resources/substancesourcematerial.py @@ -31,7 +31,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/substancespecification.py b/spark_fhir_schemas/r4/resources/substancespecification.py index 9a306f38..61450e96 100644 --- a/spark_fhir_schemas/r4/resources/substancespecification.py +++ b/spark_fhir_schemas/r4/resources/substancespecification.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/supplydelivery.py b/spark_fhir_schemas/r4/resources/supplydelivery.py index 5eccdbd2..23a7c836 100644 --- a/spark_fhir_schemas/r4/resources/supplydelivery.py +++ b/spark_fhir_schemas/r4/resources/supplydelivery.py @@ -25,7 +25,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/supplyrequest.py b/spark_fhir_schemas/r4/resources/supplyrequest.py index b5ff0a4d..631e2581 100644 --- a/spark_fhir_schemas/r4/resources/supplyrequest.py +++ b/spark_fhir_schemas/r4/resources/supplyrequest.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/task.py b/spark_fhir_schemas/r4/resources/task.py index 7004dd67..e9fe3e65 100644 --- a/spark_fhir_schemas/r4/resources/task.py +++ b/spark_fhir_schemas/r4/resources/task.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/terminologycapabilities.py b/spark_fhir_schemas/r4/resources/terminologycapabilities.py index bb29b8de..97acaee8 100644 --- a/spark_fhir_schemas/r4/resources/terminologycapabilities.py +++ b/spark_fhir_schemas/r4/resources/terminologycapabilities.py @@ -27,7 +27,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/testreport.py b/spark_fhir_schemas/r4/resources/testreport.py index c4583cc2..98624a01 100644 --- a/spark_fhir_schemas/r4/resources/testreport.py +++ b/spark_fhir_schemas/r4/resources/testreport.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/testscript.py b/spark_fhir_schemas/r4/resources/testscript.py index e80dfb1e..72c95b8a 100644 --- a/spark_fhir_schemas/r4/resources/testscript.py +++ b/spark_fhir_schemas/r4/resources/testscript.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/valueset.py b/spark_fhir_schemas/r4/resources/valueset.py index 93ecd027..b15c0414 100644 --- a/spark_fhir_schemas/r4/resources/valueset.py +++ b/spark_fhir_schemas/r4/resources/valueset.py @@ -28,7 +28,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/verificationresult.py b/spark_fhir_schemas/r4/resources/verificationresult.py index f5bda422..a434c7ce 100644 --- a/spark_fhir_schemas/r4/resources/verificationresult.py +++ b/spark_fhir_schemas/r4/resources/verificationresult.py @@ -26,7 +26,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/resources/visionprescription.py b/spark_fhir_schemas/r4/resources/visionprescription.py index 85b7d538..aa00a001 100644 --- a/spark_fhir_schemas/r4/resources/visionprescription.py +++ b/spark_fhir_schemas/r4/resources/visionprescription.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/base64binary.py b/spark_fhir_schemas/r4/simple_types/base64binary.py index b77aedab..b34b0baf 100644 --- a/spark_fhir_schemas/r4/simple_types/base64binary.py +++ b/spark_fhir_schemas/r4/simple_types/base64binary.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/boolean.py b/spark_fhir_schemas/r4/simple_types/boolean.py index 5b9351b3..5c082094 100644 --- a/spark_fhir_schemas/r4/simple_types/boolean.py +++ b/spark_fhir_schemas/r4/simple_types/boolean.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/canonical.py b/spark_fhir_schemas/r4/simple_types/canonical.py index e2410f5b..ddcca450 100644 --- a/spark_fhir_schemas/r4/simple_types/canonical.py +++ b/spark_fhir_schemas/r4/simple_types/canonical.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/code.py b/spark_fhir_schemas/r4/simple_types/code.py index 5dcee280..2a3aa7eb 100644 --- a/spark_fhir_schemas/r4/simple_types/code.py +++ b/spark_fhir_schemas/r4/simple_types/code.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/date.py b/spark_fhir_schemas/r4/simple_types/date.py index 19500e74..ea24a404 100644 --- a/spark_fhir_schemas/r4/simple_types/date.py +++ b/spark_fhir_schemas/r4/simple_types/date.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/datetime.py b/spark_fhir_schemas/r4/simple_types/datetime.py index 19058c5d..da4ae491 100644 --- a/spark_fhir_schemas/r4/simple_types/datetime.py +++ b/spark_fhir_schemas/r4/simple_types/datetime.py @@ -22,7 +22,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/decimal.py b/spark_fhir_schemas/r4/simple_types/decimal.py index fdbd592d..475f9f12 100644 --- a/spark_fhir_schemas/r4/simple_types/decimal.py +++ b/spark_fhir_schemas/r4/simple_types/decimal.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/id.py b/spark_fhir_schemas/r4/simple_types/id.py index 4544a8b4..5882b72b 100644 --- a/spark_fhir_schemas/r4/simple_types/id.py +++ b/spark_fhir_schemas/r4/simple_types/id.py @@ -20,7 +20,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/instant.py b/spark_fhir_schemas/r4/simple_types/instant.py index 47e6b8de..fdfb5f25 100644 --- a/spark_fhir_schemas/r4/simple_types/instant.py +++ b/spark_fhir_schemas/r4/simple_types/instant.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/integer.py b/spark_fhir_schemas/r4/simple_types/integer.py index b7b5fd71..10bf2b52 100644 --- a/spark_fhir_schemas/r4/simple_types/integer.py +++ b/spark_fhir_schemas/r4/simple_types/integer.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/markdown.py b/spark_fhir_schemas/r4/simple_types/markdown.py index bfc16429..43779052 100644 --- a/spark_fhir_schemas/r4/simple_types/markdown.py +++ b/spark_fhir_schemas/r4/simple_types/markdown.py @@ -19,7 +19,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/oid.py b/spark_fhir_schemas/r4/simple_types/oid.py index c048d1f0..212b07d4 100644 --- a/spark_fhir_schemas/r4/simple_types/oid.py +++ b/spark_fhir_schemas/r4/simple_types/oid.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/positiveint.py b/spark_fhir_schemas/r4/simple_types/positiveint.py index 1a96b355..2918880f 100644 --- a/spark_fhir_schemas/r4/simple_types/positiveint.py +++ b/spark_fhir_schemas/r4/simple_types/positiveint.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/string.py b/spark_fhir_schemas/r4/simple_types/string.py index 2ad2b5fb..9db4c0a1 100644 --- a/spark_fhir_schemas/r4/simple_types/string.py +++ b/spark_fhir_schemas/r4/simple_types/string.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/time.py b/spark_fhir_schemas/r4/simple_types/time.py index fd3d16c2..e88c2b01 100644 --- a/spark_fhir_schemas/r4/simple_types/time.py +++ b/spark_fhir_schemas/r4/simple_types/time.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/unsignedint.py b/spark_fhir_schemas/r4/simple_types/unsignedint.py index a9aa0a07..f980cd18 100644 --- a/spark_fhir_schemas/r4/simple_types/unsignedint.py +++ b/spark_fhir_schemas/r4/simple_types/unsignedint.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/uri.py b/spark_fhir_schemas/r4/simple_types/uri.py index 17adde11..6533869e 100644 --- a/spark_fhir_schemas/r4/simple_types/uri.py +++ b/spark_fhir_schemas/r4/simple_types/uri.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/url.py b/spark_fhir_schemas/r4/simple_types/url.py index e29a9aeb..06f807de 100644 --- a/spark_fhir_schemas/r4/simple_types/url.py +++ b/spark_fhir_schemas/r4/simple_types/url.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/uuid.py b/spark_fhir_schemas/r4/simple_types/uuid.py index 379810a4..13fc33d8 100644 --- a/spark_fhir_schemas/r4/simple_types/uuid.py +++ b/spark_fhir_schemas/r4/simple_types/uuid.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/simple_types/xhtml.py b/spark_fhir_schemas/r4/simple_types/xhtml.py index 054366d5..b45a4095 100644 --- a/spark_fhir_schemas/r4/simple_types/xhtml.py +++ b/spark_fhir_schemas/r4/simple_types/xhtml.py @@ -18,7 +18,21 @@ def get_schema( nesting_list: List[str] = [], max_recursion_limit: Optional[int] = 2, include_extension: Optional[bool] = False, - extension_fields: Optional[List[str]] = None, + extension_fields: Optional[List[str]] = [ + "valueBoolean", + "valueCode", + "valueDate", + "valueDateTime", + "valueDecimal", + "valueId", + "valueInteger", + "valuePositiveInt", + "valueString", + "valueTime", + "valueUnsignedInt", + "valueUri", + "valueUrl", + ], extension_depth: int = 0, max_extension_depth: Optional[int] = 2, ) -> Union[StructType, DataType]: diff --git a/spark_fhir_schemas/r4/template.jinja2 b/spark_fhir_schemas/r4/template.jinja2 index 83ffacc1..beb4f710 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, extension_fields: Optional[List[str]] = None, extension_depth: int = 0, max_extension_depth: Optional[int] = 2) -> 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]] = ["valueBoolean","valueCode","valueDate","valueDateTime","valueDecimal","valueId","valueInteger","valuePositiveInt","valueString","valueTime","valueUnsignedInt","valueUri","valueUrl"], extension_depth: int = 0, max_extension_depth: Optional[int] = 2) -> Union[StructType, DataType]: """ {% if resource.Description %} {{ resource.Description | wordwrap(78) | replace('\n', '\n ') }}