diff --git a/src/aidbox_sdk/generator/helpers.clj b/src/aidbox_sdk/generator/helpers.clj index 943a0ab..e3b0634 100644 --- a/src/aidbox_sdk/generator/helpers.clj +++ b/src/aidbox_sdk/generator/helpers.clj @@ -3,6 +3,8 @@ [clojure.data.json :as json] [clojure.string :as str])) +(set! *warn-on-reflection* true) + (defn words "Takes a string and makes collection of words. @@ -25,6 +27,9 @@ [string] (str (str/upper-case (first string)) (subs string 1))) +(defn starts-with-capital? [^String s] + (Character/isUpperCase (.charAt s 0))) + (defn vector->map [v] (update-vals (group-by :url v) first)) diff --git a/src/aidbox_sdk/generator/python.clj b/src/aidbox_sdk/generator/python.clj index 5a89328..682c415 100644 --- a/src/aidbox_sdk/generator/python.clj +++ b/src/aidbox_sdk/generator/python.clj @@ -2,8 +2,10 @@ (:require [aidbox-sdk.generator :as generator] [aidbox-sdk.generator.helpers :refer [->pascal-case ->snake-case - uppercase-first-letter]] + uppercase-first-letter + starts-with-capital?]] [aidbox-sdk.generator.utils :as u] + [clojure.set :as set] [clojure.java.io :as io] [clojure.string :as str]) (:import @@ -70,10 +72,8 @@ [x] (str/replace x #"[\.#]" "-")) -(defn datatypes-file-path [ir-schema] - (io/file "base/" - (str (->pascal-case (or (:name ir-schema) - (url->resource-name (:url ir-schema)))) ".py"))) +(defn datatypes-file-path [] + (io/file "base/__init__.py")) (defn resource-file-path [ir-schema] (io/file (package->directory (:package ir-schema)) @@ -86,7 +86,7 @@ (defn search-param-filepath [ir-schema] (io/file "search" (str (:name ir-schema) "SearchParameters.py"))) -(defn generate-polymorphic-property [element] +(defn generate-polymorphic-property [_element] nil) (defn ->backbone-type [element] @@ -109,12 +109,25 @@ class-name)) (defn generate-property - "Generates class property from schema element." - [element] + "Generates class property from schema element. + + Use string instead of classname if `forward-reference?` is true: + class Element: + extension: Optional['Extension']" + [element forward-reference?] (let [name (guard-python-property-name (->snake-case (:name element))) lang-type (if (= "BackboneElement" (:type element)) - (remove-guard-from-class-name (->backbone-type element)) - (remove-guard-from-class-name (->lang-type (:type element)))) + (->backbone-type element) + (->lang-type (:type element))) + lang-type + (cond->> lang-type + + :always + remove-guard-from-class-name + + (and forward-reference? (starts-with-capital? lang-type)) + (format "'%s'")) + type (cond ;; required and array (and (:required element) @@ -153,29 +166,34 @@ (generate-polymorphic-property element) (str name ": " type (when default-value (str " = " default-value)))))) +(def special-classes #{"Element" "Resource"}) + (defn generate-class "Generates Python class from IR (intermediate representation) schema." [ir-schema & [inner-classes]] (let [base-class (url->resource-name (:base ir-schema)) schema-name (or (:url ir-schema) (:name ir-schema)) class-name' (class-name schema-name) + special-class? (special-classes class-name') elements (->> (:elements ir-schema) (map #(if (and (= (:base %) "Bundle_Entry") (= (:name %) "resource")) (assoc % :value "T") %))) properties (->> elements - (map generate-property) + (map #(generate-property % special-class?)) (remove nil?) (map u/add-indent) (str/join "\n")) - base-class-name (when-not (str/blank? base-class) - (uppercase-first-letter base-class))] + base-class-name (some-> (when-not (str/blank? base-class) + (uppercase-first-letter base-class))) + base-class-name (when base-class-name + (str "(" base-class-name ")"))] (str (when (seq inner-classes) (str (str/join "\n\n" inner-classes) "\n\n")) - "class " class-name' "(" base-class-name "):" + "class " class-name' base-class-name ":" "\n" properties (when-not (seq properties) @@ -190,6 +208,61 @@ (flatten) (str/join "\n\n"))) +(defn gen [ir-schema] + (generate-class ir-schema (map generate-class (:backbone-elements ir-schema)))) + +(defn generate-datatypes-python-classes* [ir-schemas classes already-generated deferred-schemas] + (if-let [ir-schema (first ir-schemas)] + (cond + + (already-generated (class-name (or (:url ir-schema) (:name ir-schema)))) + (recur (rest ir-schemas) classes already-generated deferred-schemas) + + ;; no deps and base => we can easily generate + (or (and (empty? (:deps ir-schema)) + (not (:base ir-schema))) + + ;; deps are generated => generate + (and (seq (:deps ir-schema)) + (clojure.set/subset? (:deps ir-schema) already-generated)) + + (special-classes (class-name (or (:url ir-schema) (:name ir-schema))))) + (recur + (rest ir-schemas) + (conj classes (gen ir-schema)) + (conj already-generated (class-name (or (:url ir-schema) (:name ir-schema)))) + deferred-schemas) + + ;; no deps but extends => skipping, we need to generate base first + (or (and (empty? (:deps ir-schema)) + (:base ir-schema)) + + ;; not all deps are generated => skip + (and (seq (:deps ir-schema)) + (not (clojure.set/subset? (:deps ir-schema) already-generated)))) + (recur (rest ir-schemas) + classes + already-generated + (conj deferred-schemas ir-schema)) + + :else + (throw (Exception. (str "Can't generate " + (class-name (or (:url ir-schema) (:name ir-schema))))))) + (cond + (seq deferred-schemas) + (->> deferred-schemas + (mapv gen) + (concat classes) + (into [])) + :else + classes))) + +(defn generate-datatypes-python-classes [ir-schemas] + (generate-datatypes-python-classes* (->> ir-schemas (sort-by + (fn [{:keys [base deps]}] + (+ (count deps) (if base 500 0)))) vec) + [] #{} [])) + ;; ;; Main ;; @@ -197,32 +270,30 @@ (defrecord PythonCodeGenerator [] CodeGenerator (generate-datatypes [_ ir-schemas] - (let [ir-schemas (sort-by :base ir-schemas)] - (map (fn [ir-schema] - {:path (datatypes-file-path ir-schema) - :content (generate-module - :deps (concat - [{:module "__future__" :members ["annotations"]} - {:module "typing" :members ["Optional" "List"]} - #_{:module "pydantic" :members ["*"]}] - (map (fn [d] {:module (str "." d) :members [d]}) (:deps ir-schema))) - :classes [(generate-class ir-schema (map generate-class (:backbone-elements ir-schema)))])}) - ir-schemas))) + [{:path (datatypes-file-path) + :content (generate-module + :deps [{:module "__future__" :members ["annotations"]} + {:module "typing" :members ["Optional" "List"]}] + :classes + (generate-datatypes-python-classes ir-schemas))}]) (generate-resource-module [_ ir-schema] {:path (resource-file-path ir-schema) :content (generate-module - :deps (concat [{:module "typing" :members ["Optional" "List"]} - #_{:module "pydantic" :members ["*"]}] - (map (fn [d] {:module (str "..base." d) :members [d]}) (:deps ir-schema))) - :classes [(generate-class ir-schema - (map generate-class (:backbone-elements ir-schema)))])}) + :deps (concat [{:module "typing" :members ["Optional" "List"]}] + (map (fn [d] {:module "base" :members [d]}) + (:deps ir-schema))) + :classes [(generate-class ir-schema + (map generate-class (:backbone-elements ir-schema)))])}) (generate-search-params [_ ir-schemas] (map (fn [ir-schema] {:path (search-param-filepath ir-schema) :content (generate-module - :deps [{:module "typing" :members ["Optional"]}] + :deps (cond-> [{:module "typing" :members ["Optional"]}] + (:base ir-schema) + (conj {:module (str "." (format "%sSearchParameters" (:base ir-schema))) + :members [(format "%sSearchParameters" (:base ir-schema))]})) :classes [(generate-class {:name (format "%sSearchParameters" (:name ir-schema)) :base (when (:base ir-schema) diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Account.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Account.py index 5388316..d26e204 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Account.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Account.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Account_Coverage(BackboneElement): coverage: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ActivityDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ActivityDefinition.py index 10378cb..772cd6c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ActivityDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ActivityDefinition.py @@ -1,21 +1,20 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Age import Age -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Expression import Expression -from ..base.Dosage import Dosage -from ..base.Range import Range -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Age +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import Expression +from base import Dosage +from base import Range +from base import RelatedArtifact +from base import Timing +from base import Quantity +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ActivityDefinition_Participant(BackboneElement): role: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AdverseEvent.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AdverseEvent.py index 41b1363..8337801 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AdverseEvent.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AdverseEvent.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class AdverseEvent_SuspectEntity_Causality(BackboneElement): author: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AllergyIntolerance.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AllergyIntolerance.py index af76dab..92980b6 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AllergyIntolerance.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AllergyIntolerance.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Age +from base import Period +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class AllergyIntolerance_Reaction(BackboneElement): note: Optional[List[Annotation]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Appointment.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Appointment.py index 6a7f583..d16576a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Appointment.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Appointment.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Appointment_Participant(BackboneElement): type: Optional[List[CodeableConcept]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AppointmentResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AppointmentResponse.py index 7a4bd8e..59e17cc 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AppointmentResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AppointmentResponse.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class AppointmentResponse(DomainResource): end: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AuditEvent.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AuditEvent.py index 0d69f2c..cfb6d85 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AuditEvent.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/AuditEvent.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import BackboneElement class AuditEvent_Source(BackboneElement): site: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Basic.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Basic.py index f266096..44a9971 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Basic.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Basic.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class Basic(DomainResource): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BiologicallyDerivedProduct.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BiologicallyDerivedProduct.py index fa3ea4c..093cc94 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BiologicallyDerivedProduct.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BiologicallyDerivedProduct.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class BiologicallyDerivedProduct_Processing(BackboneElement): additive: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BodyStructure.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BodyStructure.py index 0c2289a..74c755d 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BodyStructure.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/BodyStructure.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Attachment +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class BodyStructure(DomainResource): image: Optional[List[Attachment]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CapabilityStatement.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CapabilityStatement.py index 3510d84..7829f33 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CapabilityStatement.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CapabilityStatement.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import BackboneElement class CapabilityStatement_Document(BackboneElement): mode: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CarePlan.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CarePlan.py index db74dd2..53c66e5 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CarePlan.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CarePlan.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Timing +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class CarePlan_Activity_Detail(BackboneElement): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CareTeam.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CareTeam.py index 8649a89..00d986a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CareTeam.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CareTeam.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class CareTeam_Participant(BackboneElement): role: Optional[List[CodeableConcept]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CatalogEntry.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CatalogEntry.py index 6c11b9c..7f3cc05 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CatalogEntry.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CatalogEntry.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class CatalogEntry_RelatedEntry(BackboneElement): item: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItem.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItem.py index 50f353e..dae4a8e 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItem.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItem.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Timing +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class ChargeItem_Performer(BackboneElement): actor: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItemDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItemDefinition.py index 7491505..57d9b29 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItemDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ChargeItemDefinition.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class ChargeItemDefinition_PropertyGroup_PriceComponent(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Claim.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Claim.py index 9aba9c1..571df0f 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Claim.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Claim.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class Claim_Insurance(BackboneElement): focal: bool diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClaimResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClaimResponse.py index 5df9a01..89415d1 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClaimResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClaimResponse.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class ClaimResponse_Insurance(BackboneElement): focal: bool diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClinicalImpression.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClinicalImpression.py index c49c613..38127b6 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClinicalImpression.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ClinicalImpression.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ClinicalImpression_Investigation(BackboneElement): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CodeSystem.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CodeSystem.py index 3450b02..624cfe8 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CodeSystem.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CodeSystem.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class CodeSystem_Property(BackboneElement): uri: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Communication.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Communication.py index 320e04f..3a7a86f 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Communication.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Communication.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Attachment +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Communication_Payload(BackboneElement): content_string: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CommunicationRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CommunicationRequest.py index ec64293..2ba8bfe 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CommunicationRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CommunicationRequest.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Attachment +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class CommunicationRequest_Payload(BackboneElement): content_string: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CompartmentDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CompartmentDefinition.py index 1614ddf..af0b7e3 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CompartmentDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CompartmentDefinition.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import DomainResource +from base import BackboneElement class CompartmentDefinition_Resource(BackboneElement): code: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Composition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Composition.py index 75b25a8..6e7e827 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Composition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Composition.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement -from ..base.Narrative import Narrative +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement +from base import Narrative class Composition_Section(BackboneElement): ordered_by: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ConceptMap.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ConceptMap.py index 1555aef..477994b 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ConceptMap.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ConceptMap.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ConceptMap_Group_Element_Target_DependsOn(BackboneElement): value: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Condition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Condition.py index 6cbda7a..78f723f 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Condition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Condition.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Age +from base import Period +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Condition_Stage(BackboneElement): type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Consent.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Consent.py index 6029f66..56731f4 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Consent.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Consent.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Consent_Provision_Actor(BackboneElement): role: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Contract.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Contract.py index 123d1a8..cdb0fc2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Contract.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Contract.py @@ -1,18 +1,17 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.Signature import Signature -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Coding +from base import Signature +from base import Timing +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class Contract_Rule(BackboneElement): content_reference: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Coverage.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Coverage.py index 07d9920..15a0028 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Coverage.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Coverage.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class Coverage_CostToBeneficiary_Exception(BackboneElement): type: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityRequest.py index 5536854..b0318a7 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityRequest.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class CoverageEligibilityRequest_Insurance(BackboneElement): focal: Optional[bool] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityResponse.py index e0e10d6..706a8e9 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/CoverageEligibilityResponse.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class CoverageEligibilityResponse_Insurance_Item_Benefit(BackboneElement): used_string: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DetectedIssue.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DetectedIssue.py index 0af471f..0a39403 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DetectedIssue.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DetectedIssue.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DetectedIssue_Evidence(BackboneElement): code: Optional[List[CodeableConcept]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Device.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Device.py index 79e3e5f..3711326 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Device.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Device.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import ContactPoint +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Device_DeviceName(BackboneElement): name: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceDefinition.py index a59911a..938a4a8 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceDefinition.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.ProdCharacteristic import ProdCharacteristic -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.ProductShelfLife import ProductShelfLife -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import ContactPoint +from base import ProdCharacteristic +from base import Quantity +from base import DomainResource +from base import ProductShelfLife +from base import Reference +from base import Identifier +from base import BackboneElement class DeviceDefinition_DeviceName(BackboneElement): name: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceMetric.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceMetric.py index b7e0fb2..c18a10a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceMetric.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceMetric.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Timing +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DeviceMetric_Calibration(BackboneElement): time: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceRequest.py index 996814e..b9a0701 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceRequest.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Range +from base import Timing +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DeviceRequest_Parameter(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceUseStatement.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceUseStatement.py index 655ee29..bbb122e 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceUseStatement.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DeviceUseStatement.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Timing +from base import DomainResource +from base import Reference +from base import Identifier class DeviceUseStatement(DomainResource): derived_from: Optional[List[Reference]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DiagnosticReport.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DiagnosticReport.py index 19ba89b..108fff7 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DiagnosticReport.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DiagnosticReport.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DiagnosticReport_Media(BackboneElement): link: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentManifest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentManifest.py index 9bd147f..b9817bd 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentManifest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentManifest.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DocumentManifest_Related(BackboneElement): ref: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentReference.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentReference.py index aa131d4..af25ded 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentReference.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/DocumentReference.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class DocumentReference_Content(BackboneElement): format: Optional[Coding] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EffectEvidenceSynthesis.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EffectEvidenceSynthesis.py index a548585..932613a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EffectEvidenceSynthesis.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EffectEvidenceSynthesis.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Annotation +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class EffectEvidenceSynthesis_EffectEstimate_PrecisionEstimate(BackboneElement): to: Optional[float] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Encounter.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Encounter.py index cd5f6ec..deb06b9 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Encounter.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Encounter.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Coding +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Encounter_Diagnosis(BackboneElement): use: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Endpoint.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Endpoint.py index 944f517..ac5e0ae 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Endpoint.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Endpoint.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Period +from base import CodeableConcept +from base import Coding +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier class Endpoint(DomainResource): connection_type: Coding diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentRequest.py index e018b49..ba37425 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentRequest.py @@ -1,8 +1,7 @@ from typing import Optional, List -from pydantic import * -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import DomainResource +from base import Reference +from base import Identifier class EnrollmentRequest(DomainResource): status: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentResponse.py index 9dedb79..e437c68 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EnrollmentResponse.py @@ -1,8 +1,7 @@ from typing import Optional, List -from pydantic import * -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import DomainResource +from base import Reference +from base import Identifier class EnrollmentResponse(DomainResource): status: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EpisodeOfCare.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EpisodeOfCare.py index 3fa3ad5..0a84c10 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EpisodeOfCare.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EpisodeOfCare.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class EpisodeOfCare_Diagnosis(BackboneElement): rank: Optional[int] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EventDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EventDefinition.py index 6507572..f95ecfc 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EventDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EventDefinition.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.TriggerDefinition import TriggerDefinition -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import UsageContext +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import TriggerDefinition +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier class EventDefinition(DomainResource): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Evidence.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Evidence.py index ce9d564..e2f0f7f 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Evidence.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Evidence.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import UsageContext +from base import Annotation +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier class Evidence(DomainResource): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EvidenceVariable.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EvidenceVariable.py index 32a9a02..ff3cad0 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EvidenceVariable.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/EvidenceVariable.py @@ -1,20 +1,19 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.TriggerDefinition import TriggerDefinition -from ..base.Expression import Expression -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Annotation +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import TriggerDefinition +from base import Expression +from base import RelatedArtifact +from base import Timing +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class EvidenceVariable_Characteristic(BackboneElement): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExampleScenario.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExampleScenario.py index 4272add..b2b352e 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExampleScenario.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExampleScenario.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ExampleScenario_Instance_Version(BackboneElement): version_id: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExplanationOfBenefit.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExplanationOfBenefit.py index 9af005c..dadc85c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExplanationOfBenefit.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ExplanationOfBenefit.py @@ -1,16 +1,15 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import Coding +from base import Quantity +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class ExplanationOfBenefit_Insurance(BackboneElement): focal: bool diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/FamilyMemberHistory.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/FamilyMemberHistory.py index 65ebd93..a9650f5 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/FamilyMemberHistory.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/FamilyMemberHistory.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Age +from base import Period +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class FamilyMemberHistory_Condition(BackboneElement): onset_range: Optional[Range] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Flag.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Flag.py index cc1fd2b..7e98c45 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Flag.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Flag.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class Flag(DomainResource): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Goal.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Goal.py index 96c4ca4..f490b50 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Goal.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Goal.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Range +from base import Quantity +from base import Duration +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class Goal_Target(BackboneElement): detail_range: Optional[Range] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GraphDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GraphDefinition.py index eea8a33..9990b35 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GraphDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GraphDefinition.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import BackboneElement class GraphDefinition_Link_Target_Compartment(BackboneElement): use: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Group.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Group.py index 17e2658..7e1fa9a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Group.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Group.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Range +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Group_Member(BackboneElement): entity: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GuidanceResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GuidanceResponse.py index 88f5b98..4d47a49 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GuidanceResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/GuidanceResponse.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Annotation +from base import DataRequirement +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class GuidanceResponse(DomainResource): data_requirement: Optional[List[DataRequirement]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/HealthcareService.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/HealthcareService.py index 6a9c019..98f6188 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/HealthcareService.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/HealthcareService.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class HealthcareService_AvailableTime(BackboneElement): all_day: Optional[bool] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImagingStudy.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImagingStudy.py index fac476e..3b577b4 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImagingStudy.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImagingStudy.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ImagingStudy_Series_Instance(BackboneElement): uid: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Immunization.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Immunization.py index f7e3906..2d4dfef 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Immunization.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Immunization.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Immunization_ProtocolApplied(BackboneElement): series_doses_positive_int: Optional[int] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationEvaluation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationEvaluation.py index 510d52c..df4e965 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationEvaluation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationEvaluation.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class ImmunizationEvaluation(DomainResource): patient: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationRecommendation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationRecommendation.py index 9150e8c..9253f09 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationRecommendation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImmunizationRecommendation.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ImmunizationRecommendation_Recommendation_DateCriterion(BackboneElement): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImplementationGuide.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImplementationGuide.py index 572d966..c3e1bf2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImplementationGuide.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ImplementationGuide.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import BackboneElement class ImplementationGuide_Definition_Page(BackboneElement): page: Optional[List[Reference]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/InsurancePlan.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/InsurancePlan.py index be2587c..e938431 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/InsurancePlan.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/InsurancePlan.py @@ -1,16 +1,15 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.Quantity import Quantity -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import Quantity +from base import HumanName +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class InsurancePlan_Coverage_Benefit_Limit(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Invoice.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Invoice.py index 9a34c71..7362e46 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Invoice.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Invoice.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class Invoice_Participant(BackboneElement): role: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Library.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Library.py index 373bb4b..a7e68ef 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Library.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Library.py @@ -1,16 +1,15 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.ParameterDefinition import ParameterDefinition -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import UsageContext +from base import Attachment +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import ParameterDefinition +from base import Reference +from base import Identifier class Library(DomainResource): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Linkage.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Linkage.py index 76d17fa..3d39010 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Linkage.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Linkage.py @@ -1,8 +1,7 @@ from typing import Optional, List -from pydantic import * -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import DomainResource +from base import Reference +from base import BackboneElement class Linkage_Item(BackboneElement): type: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/List.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/List.py index 5979347..f2b553c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/List.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/List.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class List_Entry(BackboneElement): date: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Location.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Location.py index e1a0d65..43b7305 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Location.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Location.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import CodeableConcept +from base import Coding +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Location_HoursOfOperation(BackboneElement): all_day: Optional[bool] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Measure.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Measure.py index 5b65c90..865cc59 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Measure.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Measure.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Expression import Expression -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import Expression +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Measure_Group_Population(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MeasureReport.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MeasureReport.py index d237134..56f44ed 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MeasureReport.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MeasureReport.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MeasureReport_Group_Population(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Media.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Media.py index 0371d35..fe62f92 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Media.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Media.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Annotation +from base import Attachment +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class Media(DomainResource): device_name: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Medication.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Medication.py index e2ece5f..76e53ff 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Medication.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Medication.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class Medication_Batch(BackboneElement): lot_number: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationAdministration.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationAdministration.py index 48e29f5..14ca303 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationAdministration.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationAdministration.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class MedicationAdministration_Dosage(BackboneElement): dose: Optional[Quantity] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationDispense.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationDispense.py index 0bf9f04..be94278 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationDispense.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationDispense.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Dosage import Dosage -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Dosage +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MedicationDispense_Substitution(BackboneElement): type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationKnowledge.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationKnowledge.py index f57c618..fa457b4 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationKnowledge.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationKnowledge.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Dosage import Dosage -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Dosage +from base import Quantity +from base import Duration +from base import DomainResource +from base import Money +from base import Ratio +from base import Reference +from base import BackboneElement class MedicationKnowledge_Monograph(BackboneElement): type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationRequest.py index ee97796..ced479b 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationRequest.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Dosage import Dosage -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Dosage +from base import Quantity +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MedicationRequest_Substitution(BackboneElement): reason: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationStatement.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationStatement.py index ed28280..4caa88a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationStatement.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicationStatement.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Dosage import Dosage -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Dosage +from base import DomainResource +from base import Reference +from base import Identifier class MedicationStatement(DomainResource): category: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProduct.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProduct.py index b8cc72c..d48a7cd 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProduct.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProduct.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.MarketingStatus import MarketingStatus -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import MarketingStatus +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MedicinalProduct_ManufacturingBusinessOperation(BackboneElement): regulator: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductAuthorization.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductAuthorization.py index bb3f5e5..bdeae27 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductAuthorization.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductAuthorization.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MedicinalProductAuthorization_JurisdictionalAuthorization(BackboneElement): country: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductContraindication.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductContraindication.py index 3e9732b..2061e9d 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductContraindication.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductContraindication.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Population import Population -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Population +from base import DomainResource +from base import Reference +from base import BackboneElement class MedicinalProductContraindication_OtherTherapy(BackboneElement): medication_reference: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIndication.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIndication.py index 4c6b902..15ffe40 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIndication.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIndication.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Population import Population -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Population +from base import Quantity +from base import DomainResource +from base import Reference +from base import BackboneElement class MedicinalProductIndication_OtherTherapy(BackboneElement): medication_reference: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIngredient.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIngredient.py index 14af9c6..553c940 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIngredient.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductIngredient.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class MedicinalProductIngredient_Substance(BackboneElement): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductInteraction.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductInteraction.py index 42c5aa3..66f3994 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductInteraction.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductInteraction.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import BackboneElement class MedicinalProductInteraction_Interactant(BackboneElement): item_reference: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductManufactured.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductManufactured.py index 1d04382..1e24f7f 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductManufactured.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductManufactured.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.ProdCharacteristic import ProdCharacteristic -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference +from base import CodeableConcept +from base import ProdCharacteristic +from base import Quantity +from base import DomainResource +from base import Reference class MedicinalProductManufactured(DomainResource): quantity: Quantity diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPackaged.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPackaged.py index 8c8eacc..3168ef7 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPackaged.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPackaged.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.MarketingStatus import MarketingStatus -from ..base.ProdCharacteristic import ProdCharacteristic -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.ProductShelfLife import ProductShelfLife -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import MarketingStatus +from base import ProdCharacteristic +from base import Quantity +from base import DomainResource +from base import ProductShelfLife +from base import Reference +from base import Identifier +from base import BackboneElement class MedicinalProductPackaged_BatchIdentifier(BackboneElement): outer_packaging: Identifier diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPharmaceutical.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPharmaceutical.py index e4446e4..518774c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPharmaceutical.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductPharmaceutical.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Quantity +from base import Duration +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class MedicinalProductPharmaceutical_Characteristics(BackboneElement): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.py index c04d837..0b40040 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MedicinalProductUndesirableEffect.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Population import Population -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference +from base import CodeableConcept +from base import Population +from base import DomainResource +from base import Reference class MedicinalProductUndesirableEffect(DomainResource): subject: Optional[List[Reference]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageDefinition.py index f2b981b..04eb99c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageDefinition.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Identifier +from base import BackboneElement class MessageDefinition_AllowedResponse(BackboneElement): message: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageHeader.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageHeader.py index 2620125..10de8bf 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageHeader.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MessageHeader.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Coding +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import BackboneElement class MessageHeader_Response(BackboneElement): code: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MetadataResource.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MetadataResource.py index 668a8ae..d374af3 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MetadataResource.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MetadataResource.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource class MetadataResource(DomainResource): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MolecularSequence.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MolecularSequence.py index ff6cd3c..cba6bcb 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MolecularSequence.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/MolecularSequence.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class MolecularSequence_StructureVariant_Inner(BackboneElement): end: Optional[int] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NamingSystem.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NamingSystem.py index 9b5a80b..f998a42 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NamingSystem.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NamingSystem.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import BackboneElement class NamingSystem_UniqueId(BackboneElement): type: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NutritionOrder.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NutritionOrder.py index 3d664d6..23ab6e1 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NutritionOrder.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/NutritionOrder.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Timing +from base import Quantity +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class NutritionOrder_OralDiet_Texture(BackboneElement): food_type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Observation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Observation.py index 553ef90..eab95c4 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Observation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Observation.py @@ -1,17 +1,16 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.SampledData import SampledData -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Range +from base import Timing +from base import Quantity +from base import DomainResource +from base import SampledData +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class Observation_ReferenceRange(BackboneElement): age: Optional[Range] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ObservationDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ObservationDefinition.py index 5519991..6d28698 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ObservationDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ObservationDefinition.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ObservationDefinition_QuantitativeDetails(BackboneElement): unit: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationDefinition.py index 3ff8280..109a4b0 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationDefinition.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import BackboneElement class OperationDefinition_Overload(BackboneElement): comment: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationOutcome.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationOutcome.py index 0413862..ac4e535 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationOutcome.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OperationOutcome.py @@ -1,8 +1,7 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import BackboneElement class OperationOutcome_Issue(BackboneElement): code: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Organization.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Organization.py index 421be41..06063cf 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Organization.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Organization.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import CodeableConcept +from base import ContactPoint +from base import HumanName +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Organization_Contact(BackboneElement): name: Optional[HumanName] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OrganizationAffiliation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OrganizationAffiliation.py index daecb14..47b705b 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OrganizationAffiliation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/OrganizationAffiliation.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier class OrganizationAffiliation(DomainResource): specialty: Optional[List[CodeableConcept]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Patient.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Patient.py index cdcb1a7..b6cb5d0 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Patient.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Patient.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import HumanName +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Patient_Link(BackboneElement): type: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentNotice.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentNotice.py index 9cb0139..c8437d4 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentNotice.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentNotice.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import CodeableConcept +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier class PaymentNotice(DomainResource): response: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentReconciliation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentReconciliation.py index 51ae383..f4b9197 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentReconciliation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PaymentReconciliation.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Money +from base import Reference +from base import Identifier +from base import BackboneElement class PaymentReconciliation_ProcessNote(BackboneElement): text: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Person.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Person.py index 96ca6ac..b899295 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Person.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Person.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.ContactPoint import ContactPoint -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import ContactPoint +from base import HumanName +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Person_Link(BackboneElement): target: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PlanDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PlanDefinition.py index e5763fd..85aa9f2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PlanDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PlanDefinition.py @@ -1,22 +1,21 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Age import Age -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.TriggerDefinition import TriggerDefinition -from ..base.Expression import Expression -from ..base.Range import Range -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Age +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import TriggerDefinition +from base import Expression +from base import Range +from base import RelatedArtifact +from base import Timing +from base import Quantity +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class PlanDefinition_Goal_Target(BackboneElement): due: Optional[Duration] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Practitioner.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Practitioner.py index 6d76f93..8827de1 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Practitioner.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Practitioner.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import HumanName +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Practitioner_Qualification(BackboneElement): code: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PractitionerRole.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PractitionerRole.py index fb52b99..21db5a1 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PractitionerRole.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/PractitionerRole.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class PractitionerRole_AvailableTime(BackboneElement): all_day: Optional[bool] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Procedure.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Procedure.py index b56f4eb..9f87dcf 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Procedure.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Procedure.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Age +from base import Period +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Procedure_FocalDevice(BackboneElement): action: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Provenance.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Provenance.py index a9d7ef5..88e0910 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Provenance.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Provenance.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Signature import Signature -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Signature +from base import DomainResource +from base import Reference +from base import BackboneElement class Provenance_Agent(BackboneElement): who: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Questionnaire.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Questionnaire.py index 8482b76..8ccff87 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Questionnaire.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Questionnaire.py @@ -1,16 +1,15 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Attachment +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Questionnaire_Item_EnableWhen(BackboneElement): answer_quantity: Optional[Quantity] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/QuestionnaireResponse.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/QuestionnaireResponse.py index 358e278..0293f6c 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/QuestionnaireResponse.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/QuestionnaireResponse.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.Coding import Coding -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import Coding +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class QuestionnaireResponse_Item_Answer(BackboneElement): value_reference: Optional[Reference] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RelatedPerson.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RelatedPerson.py index af20e10..4482968 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RelatedPerson.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RelatedPerson.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.ContactPoint import ContactPoint -from ..base.HumanName import HumanName -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Address +from base import Attachment +from base import Period +from base import CodeableConcept +from base import ContactPoint +from base import HumanName +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class RelatedPerson_Communication(BackboneElement): language: CodeableConcept diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RequestGroup.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RequestGroup.py index 2df83d9..e600ad7 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RequestGroup.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RequestGroup.py @@ -1,18 +1,17 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Expression import Expression -from ..base.Range import Range -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Age +from base import Period +from base import CodeableConcept +from base import Expression +from base import Range +from base import RelatedArtifact +from base import Timing +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class RequestGroup_Action_RelatedAction(BackboneElement): action_id: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchDefinition.py index 1403c72..7a32e18 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchDefinition.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import UsageContext +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier class ResearchDefinition(DomainResource): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchElementDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchElementDefinition.py index cdc6613..e256c1e 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchElementDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchElementDefinition.py @@ -1,18 +1,17 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.Expression import Expression -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import Expression +from base import RelatedArtifact +from base import Timing +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ResearchElementDefinition_Characteristic(BackboneElement): study_effective_timing: Optional[Timing] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchStudy.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchStudy.py index ddf59a9..9a694a3 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchStudy.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchStudy.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ResearchStudy_Arm(BackboneElement): name: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchSubject.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchSubject.py index aa58cd7..d7c3075 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchSubject.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ResearchSubject.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Period +from base import DomainResource +from base import Reference +from base import Identifier class ResearchSubject(DomainResource): study: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskAssessment.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskAssessment.py index ce28477..d3371d1 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskAssessment.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskAssessment.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Range +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class RiskAssessment_Prediction(BackboneElement): relative_risk: Optional[float] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskEvidenceSynthesis.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskEvidenceSynthesis.py index 758ceb7..b932564 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskEvidenceSynthesis.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/RiskEvidenceSynthesis.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.RelatedArtifact import RelatedArtifact -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import Annotation +from base import Period +from base import ContactDetail +from base import CodeableConcept +from base import RelatedArtifact +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class RiskEvidenceSynthesis_SampleSize(BackboneElement): description: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Schedule.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Schedule.py index 09227d4..88ba4a2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Schedule.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Schedule.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Period +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class Schedule(DomainResource): actor: list[Reference] = [] diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SearchParameter.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SearchParameter.py index bd175a6..59e3320 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SearchParameter.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SearchParameter.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import BackboneElement class SearchParameter_Component(BackboneElement): definition: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ServiceRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ServiceRequest.py index b865f81..cad3642 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ServiceRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ServiceRequest.py @@ -1,15 +1,14 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Range +from base import Timing +from base import Quantity +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier class ServiceRequest(DomainResource): performer_type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Slot.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Slot.py index 0fdfbae..1d71011 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Slot.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Slot.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier +from base import CodeableConcept +from base import DomainResource +from base import Reference +from base import Identifier class Slot(DomainResource): schedule: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Specimen.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Specimen.py index bbeec4b..396f6e3 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Specimen.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Specimen.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import Period +from base import CodeableConcept +from base import Quantity +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class Specimen_Processing(BackboneElement): additive: Optional[List[Reference]] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SpecimenDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SpecimenDefinition.py index 47227ae..b873f8a 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SpecimenDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SpecimenDefinition.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Quantity import Quantity -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Range +from base import Quantity +from base import Duration +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class SpecimenDefinition_TypeTested_Handling(BackboneElement): instruction: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureDefinition.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureDefinition.py index 752a696..8fe6db7 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureDefinition.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureDefinition.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.ElementDefinition import ElementDefinition -from ..base.DomainResource import DomainResource -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import ElementDefinition +from base import DomainResource +from base import Identifier +from base import BackboneElement class StructureDefinition_Mapping(BackboneElement): uri: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureMap.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureMap.py index 169018f..66991f9 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureMap.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/StructureMap.py @@ -1,38 +1,37 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.TriggerDefinition import TriggerDefinition -from ..base.Count import Count -from ..base.Expression import Expression -from ..base.Coding import Coding -from ..base.Dosage import Dosage -from ..base.Range import Range -from ..base.ContactPoint import ContactPoint -from ..base.Signature import Signature -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Meta import Meta -from ..base.Quantity import Quantity -from ..base.Distance import Distance -from ..base.HumanName import HumanName -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.SampledData import SampledData -from ..base.Ratio import Ratio -from ..base.ParameterDefinition import ParameterDefinition -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement -from ..base.Contributor import Contributor +from base import Address +from base import UsageContext +from base import Annotation +from base import Age +from base import Attachment +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import TriggerDefinition +from base import Count +from base import Expression +from base import Coding +from base import Dosage +from base import Range +from base import ContactPoint +from base import Signature +from base import RelatedArtifact +from base import Timing +from base import Meta +from base import Quantity +from base import Distance +from base import HumanName +from base import Duration +from base import DomainResource +from base import Money +from base import SampledData +from base import Ratio +from base import ParameterDefinition +from base import Reference +from base import Identifier +from base import BackboneElement +from base import Contributor class StructureMap_Group_Rule_Source(BackboneElement): default_value_time: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Subscription.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Subscription.py index aa3facf..fa9c493 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Subscription.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Subscription.py @@ -1,8 +1,7 @@ from typing import Optional, List -from pydantic import * -from ..base.ContactPoint import ContactPoint -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import ContactPoint +from base import DomainResource +from base import BackboneElement class Subscription_Channel(BackboneElement): type: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Substance.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Substance.py index c0776b8..1801668 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Substance.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Substance.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class Substance_Instance(BackboneElement): expiry: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceNucleicAcid.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceNucleicAcid.py index 9353408..a23a0c2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceNucleicAcid.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceNucleicAcid.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import CodeableConcept +from base import DomainResource +from base import Identifier +from base import BackboneElement class SubstanceNucleicAcid_Subunit_Sugar(BackboneElement): name: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstancePolymer.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstancePolymer.py index d90c834..be95a42 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstancePolymer.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstancePolymer.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.SubstanceAmount import SubstanceAmount -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import CodeableConcept +from base import SubstanceAmount +from base import DomainResource +from base import BackboneElement class SubstancePolymer_Repeat_RepeatUnit_DegreeOfPolymerisation(BackboneElement): amount: Optional[SubstanceAmount] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceProtein.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceProtein.py index 43c426b..494eddb 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceProtein.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceProtein.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import CodeableConcept +from base import DomainResource +from base import Identifier +from base import BackboneElement class SubstanceProtein_Subunit(BackboneElement): length: Optional[int] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceReferenceInformation.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceReferenceInformation.py index e1eb3d2..7ff5176 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceReferenceInformation.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceReferenceInformation.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Range +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class SubstanceReferenceInformation_Gene(BackboneElement): gene: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSourceMaterial.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSourceMaterial.py index c895efb..68036a5 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSourceMaterial.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSourceMaterial.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import DomainResource +from base import Identifier +from base import BackboneElement class SubstanceSourceMaterial_Organism_Author(BackboneElement): author_type: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSpecification.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSpecification.py index 14bb37f..16eac2b 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSpecification.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SubstanceSpecification.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Attachment import Attachment -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Ratio import Ratio -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Attachment +from base import CodeableConcept +from base import Range +from base import Quantity +from base import DomainResource +from base import Ratio +from base import Reference +from base import Identifier +from base import BackboneElement class SubstanceSpecification_Property(BackboneElement): category: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyDelivery.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyDelivery.py index 2f4e98a..c28d05d 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyDelivery.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyDelivery.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Timing +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class SupplyDelivery_SuppliedItem(BackboneElement): quantity: Optional[Quantity] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyRequest.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyRequest.py index 220f2fd..0036131 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyRequest.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/SupplyRequest.py @@ -1,14 +1,13 @@ from typing import Optional, List -from pydantic import * -from ..base.Period import Period -from ..base.CodeableConcept import CodeableConcept -from ..base.Range import Range -from ..base.Timing import Timing -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Period +from base import CodeableConcept +from base import Range +from base import Timing +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class SupplyRequest_Parameter(BackboneElement): code: Optional[CodeableConcept] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Task.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Task.py index 17b6b66..e12932b 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Task.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/Task.py @@ -1,38 +1,37 @@ from typing import Optional, List -from pydantic import * -from ..base.Address import Address -from ..base.UsageContext import UsageContext -from ..base.Annotation import Annotation -from ..base.Age import Age -from ..base.Attachment import Attachment -from ..base.Period import Period -from ..base.ContactDetail import ContactDetail -from ..base.DataRequirement import DataRequirement -from ..base.CodeableConcept import CodeableConcept -from ..base.TriggerDefinition import TriggerDefinition -from ..base.Count import Count -from ..base.Expression import Expression -from ..base.Coding import Coding -from ..base.Dosage import Dosage -from ..base.Range import Range -from ..base.ContactPoint import ContactPoint -from ..base.Signature import Signature -from ..base.RelatedArtifact import RelatedArtifact -from ..base.Timing import Timing -from ..base.Meta import Meta -from ..base.Quantity import Quantity -from ..base.Distance import Distance -from ..base.HumanName import HumanName -from ..base.Duration import Duration -from ..base.DomainResource import DomainResource -from ..base.Money import Money -from ..base.SampledData import SampledData -from ..base.Ratio import Ratio -from ..base.ParameterDefinition import ParameterDefinition -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement -from ..base.Contributor import Contributor +from base import Address +from base import UsageContext +from base import Annotation +from base import Age +from base import Attachment +from base import Period +from base import ContactDetail +from base import DataRequirement +from base import CodeableConcept +from base import TriggerDefinition +from base import Count +from base import Expression +from base import Coding +from base import Dosage +from base import Range +from base import ContactPoint +from base import Signature +from base import RelatedArtifact +from base import Timing +from base import Meta +from base import Quantity +from base import Distance +from base import HumanName +from base import Duration +from base import DomainResource +from base import Money +from base import SampledData +from base import Ratio +from base import ParameterDefinition +from base import Reference +from base import Identifier +from base import BackboneElement +from base import Contributor class Task_Restriction(BackboneElement): period: Optional[Period] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TerminologyCapabilities.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TerminologyCapabilities.py index d6773be..ef06c33 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TerminologyCapabilities.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TerminologyCapabilities.py @@ -1,10 +1,9 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.DomainResource import DomainResource -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import DomainResource +from base import BackboneElement class TerminologyCapabilities_Expansion_Parameter(BackboneElement): name: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestReport.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestReport.py index 6c020bf..a6b339e 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestReport.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestReport.py @@ -1,9 +1,8 @@ from typing import Optional, List -from pydantic import * -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class TestReport_Participant(BackboneElement): uri: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestScript.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestScript.py index 0656037..6ab6919 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestScript.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/TestScript.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class TestScript_Variable(BackboneElement): hint: Optional[str] = None diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ValueSet.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ValueSet.py index 8d51d11..51b2bf8 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ValueSet.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/ValueSet.py @@ -1,13 +1,12 @@ from typing import Optional, List -from pydantic import * -from ..base.UsageContext import UsageContext -from ..base.ContactDetail import ContactDetail -from ..base.CodeableConcept import CodeableConcept -from ..base.Coding import Coding -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import UsageContext +from base import ContactDetail +from base import CodeableConcept +from base import Coding +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class ValueSet_Compose_Include_Filter(BackboneElement): op: str diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VerificationResult.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VerificationResult.py index 7093dab..8f3a1e2 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VerificationResult.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VerificationResult.py @@ -1,11 +1,10 @@ from typing import Optional, List -from pydantic import * -from ..base.CodeableConcept import CodeableConcept -from ..base.Signature import Signature -from ..base.Timing import Timing -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.BackboneElement import BackboneElement +from base import CodeableConcept +from base import Signature +from base import Timing +from base import DomainResource +from base import Reference +from base import BackboneElement class VerificationResult_Validator(BackboneElement): organization: Reference diff --git a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VisionPrescription.py b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VisionPrescription.py index 6e78551..eb9b053 100644 --- a/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VisionPrescription.py +++ b/test/aidbox_sdk/snapshots/python/hl7-fhir-r4-core/VisionPrescription.py @@ -1,12 +1,11 @@ from typing import Optional, List -from pydantic import * -from ..base.Annotation import Annotation -from ..base.CodeableConcept import CodeableConcept -from ..base.Quantity import Quantity -from ..base.DomainResource import DomainResource -from ..base.Reference import Reference -from ..base.Identifier import Identifier -from ..base.BackboneElement import BackboneElement +from base import Annotation +from base import CodeableConcept +from base import Quantity +from base import DomainResource +from base import Reference +from base import Identifier +from base import BackboneElement class VisionPrescription_LensSpecification_Prism(BackboneElement): base: str