phenoml 0.0.18__py3-none-any.whl → 0.0.20__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. phenoml/agent/__init__.py +4 -0
  2. phenoml/agent/client.py +27 -52
  3. phenoml/agent/raw_client.py +23 -44
  4. phenoml/agent/types/__init__.py +4 -0
  5. phenoml/agent/types/agent_create_request.py +0 -5
  6. phenoml/agent/types/agent_get_chat_messages_request_role.py +5 -0
  7. phenoml/agent/types/chat_message_template.py +7 -2
  8. phenoml/agent/types/chat_message_template_role.py +5 -0
  9. phenoml/core/client_wrapper.py +2 -2
  10. phenoml/fhir_provider/__init__.py +8 -2
  11. phenoml/fhir_provider/client.py +66 -21
  12. phenoml/fhir_provider/raw_client.py +70 -47
  13. phenoml/fhir_provider/types/__init__.py +8 -2
  14. phenoml/fhir_provider/types/fhir_provider_auth_config.py +12 -0
  15. phenoml/fhir_provider/types/fhir_provider_list_response.py +14 -2
  16. phenoml/fhir_provider/types/fhir_provider_list_response_fhir_providers_item.py +8 -0
  17. phenoml/fhir_provider/types/fhir_provider_response.py +9 -2
  18. phenoml/fhir_provider/types/fhir_provider_response_data.py +8 -0
  19. phenoml/fhir_provider/types/fhir_provider_sandbox_info.py +46 -0
  20. phenoml/fhir_provider/types/provider.py +3 -1
  21. phenoml/fhir_provider/types/service_account_metadata.py +41 -0
  22. phenoml/lang2fhir/__init__.py +2 -0
  23. phenoml/lang2fhir/client.py +34 -4
  24. phenoml/lang2fhir/raw_client.py +34 -4
  25. phenoml/lang2fhir/types/__init__.py +2 -0
  26. phenoml/lang2fhir/types/search_response.py +7 -4
  27. phenoml/lang2fhir/types/search_response_resource_type.py +39 -0
  28. {phenoml-0.0.18.dist-info → phenoml-0.0.20.dist-info}/METADATA +1 -1
  29. {phenoml-0.0.18.dist-info → phenoml-0.0.20.dist-info}/RECORD +31 -25
  30. phenoml/fhir_provider/types/fhir_provider_set_active_auth_config_response.py +0 -22
  31. {phenoml-0.0.18.dist-info → phenoml-0.0.20.dist-info}/LICENSE +0 -0
  32. {phenoml-0.0.18.dist-info → phenoml-0.0.20.dist-info}/WHEEL +0 -0
@@ -0,0 +1,41 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+
8
+
9
+ class ServiceAccountMetadata(UniversalBaseModel):
10
+ """
11
+ Non-sensitive metadata from a Google Cloud Service Account, exposed in API responses to help identify auth configurations without revealing sensitive credentials.
12
+ """
13
+
14
+ type: typing.Optional[str] = pydantic.Field(default=None)
15
+ """
16
+ Account type (always "service_account")
17
+ """
18
+
19
+ project_id: typing.Optional[str] = pydantic.Field(default=None)
20
+ """
21
+ Google Cloud project ID
22
+ """
23
+
24
+ client_email: typing.Optional[str] = pydantic.Field(default=None)
25
+ """
26
+ Service account email address
27
+ """
28
+
29
+ client_id: typing.Optional[str] = pydantic.Field(default=None)
30
+ """
31
+ Service account client ID
32
+ """
33
+
34
+ if IS_PYDANTIC_V2:
35
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
36
+ else:
37
+
38
+ class Config:
39
+ frozen = True
40
+ smart_union = True
41
+ extra = pydantic.Extra.allow
@@ -14,6 +14,7 @@ from .types import (
14
14
  FhirResource,
15
15
  Lang2FhirUploadProfileResponse,
16
16
  SearchResponse,
17
+ SearchResponseResourceType,
17
18
  )
18
19
  from .errors import BadRequestError, FailedDependencyError, ForbiddenError, InternalServerError, UnauthorizedError
19
20
 
@@ -33,5 +34,6 @@ __all__ = [
33
34
  "InternalServerError",
34
35
  "Lang2FhirUploadProfileResponse",
35
36
  "SearchResponse",
37
+ "SearchResponseResourceType",
36
38
  "UnauthorizedError",
37
39
  ]
@@ -130,12 +130,27 @@ class Lang2FhirClient:
130
130
 
131
131
  def search(self, *, text: str, request_options: typing.Optional[RequestOptions] = None) -> SearchResponse:
132
132
  """
133
- Converts natural language text into FHIR search parameters
133
+ Converts natural language text into FHIR search parameters.
134
+ Automatically identifies the appropriate FHIR resource type and generates valid search query parameters.
135
+
136
+ Supported resource types include: AllergyIntolerance, Appointment, CarePlan, CareTeam, Condition,
137
+ Coverage, Device, DiagnosticReport, DocumentReference, Encounter, Goal, Immunization, Location,
138
+ Medication, MedicationRequest, Observation, Organization, Patient, PlanDefinition, Practitioner,
139
+ PractitionerRole, Procedure, Provenance, Questionnaire, QuestionnaireResponse, RelatedPerson,
140
+ Schedule, ServiceRequest, Slot, and Specimen.
134
141
 
135
142
  Parameters
136
143
  ----------
137
144
  text : str
138
- Natural language text to convert into FHIR search parameters
145
+ Natural language text to convert into FHIR search parameters.
146
+ The system will automatically identify the appropriate resource type and generate valid search parameters.
147
+
148
+ Examples:
149
+ - "Appointments between March 2-9, 2025" → Appointment search with date range
150
+ - "Patients with diabetes" → Condition search with code parameter
151
+ - "Active medication requests for metformin" → MedicationRequest search
152
+ - "Lab results for creatinine" → DiagnosticReport search
153
+ - "Dr. Smith's schedule" → Practitioner or Schedule search
139
154
 
140
155
  request_options : typing.Optional[RequestOptions]
141
156
  Request-specific configuration.
@@ -385,12 +400,27 @@ class AsyncLang2FhirClient:
385
400
 
386
401
  async def search(self, *, text: str, request_options: typing.Optional[RequestOptions] = None) -> SearchResponse:
387
402
  """
388
- Converts natural language text into FHIR search parameters
403
+ Converts natural language text into FHIR search parameters.
404
+ Automatically identifies the appropriate FHIR resource type and generates valid search query parameters.
405
+
406
+ Supported resource types include: AllergyIntolerance, Appointment, CarePlan, CareTeam, Condition,
407
+ Coverage, Device, DiagnosticReport, DocumentReference, Encounter, Goal, Immunization, Location,
408
+ Medication, MedicationRequest, Observation, Organization, Patient, PlanDefinition, Practitioner,
409
+ PractitionerRole, Procedure, Provenance, Questionnaire, QuestionnaireResponse, RelatedPerson,
410
+ Schedule, ServiceRequest, Slot, and Specimen.
389
411
 
390
412
  Parameters
391
413
  ----------
392
414
  text : str
393
- Natural language text to convert into FHIR search parameters
415
+ Natural language text to convert into FHIR search parameters.
416
+ The system will automatically identify the appropriate resource type and generate valid search parameters.
417
+
418
+ Examples:
419
+ - "Appointments between March 2-9, 2025" → Appointment search with date range
420
+ - "Patients with diabetes" → Condition search with code parameter
421
+ - "Active medication requests for metformin" → MedicationRequest search
422
+ - "Lab results for creatinine" → DiagnosticReport search
423
+ - "Dr. Smith's schedule" → Practitioner or Schedule search
394
424
 
395
425
  request_options : typing.Optional[RequestOptions]
396
426
  Request-specific configuration.
@@ -219,12 +219,27 @@ class RawLang2FhirClient:
219
219
  self, *, text: str, request_options: typing.Optional[RequestOptions] = None
220
220
  ) -> HttpResponse[SearchResponse]:
221
221
  """
222
- Converts natural language text into FHIR search parameters
222
+ Converts natural language text into FHIR search parameters.
223
+ Automatically identifies the appropriate FHIR resource type and generates valid search query parameters.
224
+
225
+ Supported resource types include: AllergyIntolerance, Appointment, CarePlan, CareTeam, Condition,
226
+ Coverage, Device, DiagnosticReport, DocumentReference, Encounter, Goal, Immunization, Location,
227
+ Medication, MedicationRequest, Observation, Organization, Patient, PlanDefinition, Practitioner,
228
+ PractitionerRole, Procedure, Provenance, Questionnaire, QuestionnaireResponse, RelatedPerson,
229
+ Schedule, ServiceRequest, Slot, and Specimen.
223
230
 
224
231
  Parameters
225
232
  ----------
226
233
  text : str
227
- Natural language text to convert into FHIR search parameters
234
+ Natural language text to convert into FHIR search parameters.
235
+ The system will automatically identify the appropriate resource type and generate valid search parameters.
236
+
237
+ Examples:
238
+ - "Appointments between March 2-9, 2025" → Appointment search with date range
239
+ - "Patients with diabetes" → Condition search with code parameter
240
+ - "Active medication requests for metformin" → MedicationRequest search
241
+ - "Lab results for creatinine" → DiagnosticReport search
242
+ - "Dr. Smith's schedule" → Practitioner or Schedule search
228
243
 
229
244
  request_options : typing.Optional[RequestOptions]
230
245
  Request-specific configuration.
@@ -695,12 +710,27 @@ class AsyncRawLang2FhirClient:
695
710
  self, *, text: str, request_options: typing.Optional[RequestOptions] = None
696
711
  ) -> AsyncHttpResponse[SearchResponse]:
697
712
  """
698
- Converts natural language text into FHIR search parameters
713
+ Converts natural language text into FHIR search parameters.
714
+ Automatically identifies the appropriate FHIR resource type and generates valid search query parameters.
715
+
716
+ Supported resource types include: AllergyIntolerance, Appointment, CarePlan, CareTeam, Condition,
717
+ Coverage, Device, DiagnosticReport, DocumentReference, Encounter, Goal, Immunization, Location,
718
+ Medication, MedicationRequest, Observation, Organization, Patient, PlanDefinition, Practitioner,
719
+ PractitionerRole, Procedure, Provenance, Questionnaire, QuestionnaireResponse, RelatedPerson,
720
+ Schedule, ServiceRequest, Slot, and Specimen.
699
721
 
700
722
  Parameters
701
723
  ----------
702
724
  text : str
703
- Natural language text to convert into FHIR search parameters
725
+ Natural language text to convert into FHIR search parameters.
726
+ The system will automatically identify the appropriate resource type and generate valid search parameters.
727
+
728
+ Examples:
729
+ - "Appointments between March 2-9, 2025" → Appointment search with date range
730
+ - "Patients with diabetes" → Condition search with code parameter
731
+ - "Active medication requests for metformin" → MedicationRequest search
732
+ - "Lab results for creatinine" → DiagnosticReport search
733
+ - "Dr. Smith's schedule" → Practitioner or Schedule search
704
734
 
705
735
  request_options : typing.Optional[RequestOptions]
706
736
  Request-specific configuration.
@@ -13,6 +13,7 @@ from .document_request_resource import DocumentRequestResource
13
13
  from .fhir_resource import FhirResource
14
14
  from .lang2fhir_upload_profile_response import Lang2FhirUploadProfileResponse
15
15
  from .search_response import SearchResponse
16
+ from .search_response_resource_type import SearchResponseResourceType
16
17
 
17
18
  __all__ = [
18
19
  "CreateMultiResponse",
@@ -26,4 +27,5 @@ __all__ = [
26
27
  "FhirResource",
27
28
  "Lang2FhirUploadProfileResponse",
28
29
  "SearchResponse",
30
+ "SearchResponseResourceType",
29
31
  ]
@@ -6,12 +6,13 @@ import pydantic
6
6
  import typing_extensions
7
7
  from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
  from ...core.serialization import FieldMetadata
9
+ from .search_response_resource_type import SearchResponseResourceType
9
10
 
10
11
 
11
12
  class SearchResponse(UniversalBaseModel):
12
- resource_type: typing_extensions.Annotated[typing.Optional[str], FieldMetadata(alias="resourceType")] = (
13
- pydantic.Field(default=None)
14
- )
13
+ resource_type: typing_extensions.Annotated[
14
+ typing.Optional[SearchResponseResourceType], FieldMetadata(alias="resourceType")
15
+ ] = pydantic.Field(default=None)
15
16
  """
16
17
  The FHIR resource type identified for the search
17
18
  """
@@ -20,7 +21,9 @@ class SearchResponse(UniversalBaseModel):
20
21
  pydantic.Field(default=None)
21
22
  )
22
23
  """
23
- FHIR search parameters in standard format
24
+ FHIR search parameters in standard query string format.
25
+ Parameters are formatted according to the FHIR specification with appropriate operators.
26
+ Code parameters are resolved to standard terminology codes (SNOMED CT, LOINC, RxNorm, ICD-10-CM).
24
27
  """
25
28
 
26
29
  if IS_PYDANTIC_V2:
@@ -0,0 +1,39 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ SearchResponseResourceType = typing.Union[
6
+ typing.Literal[
7
+ "AllergyIntolerance",
8
+ "Appointment",
9
+ "CarePlan",
10
+ "CareTeam",
11
+ "Condition",
12
+ "Coverage",
13
+ "Device",
14
+ "DiagnosticReport",
15
+ "DocumentReference",
16
+ "Encounter",
17
+ "Goal",
18
+ "Immunization",
19
+ "Location",
20
+ "Medication",
21
+ "MedicationRequest",
22
+ "Observation",
23
+ "Organization",
24
+ "Patient",
25
+ "PlanDefinition",
26
+ "Practitioner",
27
+ "PractitionerRole",
28
+ "Procedure",
29
+ "Provenance",
30
+ "Questionnaire",
31
+ "QuestionnaireResponse",
32
+ "RelatedPerson",
33
+ "Schedule",
34
+ "ServiceRequest",
35
+ "Slot",
36
+ "Specimen",
37
+ ],
38
+ typing.Any,
39
+ ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: phenoml
3
- Version: 0.0.18
3
+ Version: 0.0.20
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -1,6 +1,6 @@
1
1
  phenoml/__init__.py,sha256=SeYOCP1ABPA3aB2UDDPr5DOYT4UKKQcw1CHW49I51X8,778
2
- phenoml/agent/__init__.py,sha256=oHLnXLJ_uzj3zAtpAUaoXuWZcxl1K8cQh2ommFsp1Kg,1433
3
- phenoml/agent/client.py,sha256=ITjohJGQ0RqsAlFFhCX1Dl7h4GKg0XfncbRSh2uxvqE,27597
2
+ phenoml/agent/__init__.py,sha256=jFtmc8hd6h1luDhG2EzKyPdZ1a59MUAkE0PmLw3FB20,1569
3
+ phenoml/agent/client.py,sha256=5P29TRSyvcGrk62ZoBBIO4BbmzDty-PSNFfhJfG7VFU,27607
4
4
  phenoml/agent/errors/__init__.py,sha256=Wnvf4XPELmAIZ-jVxx2t-dBNZ-X9PcDxPSL5EHqJr1Q,434
5
5
  phenoml/agent/errors/bad_request_error.py,sha256=nv0bK4gtOnTon6a2NdVxJxHBje_O_7wIoRtXLZHovUQ,339
6
6
  phenoml/agent/errors/forbidden_error.py,sha256=ek8-sffTy9gY3F0zyaSkcskDVvq9puXP_YvvB2BJYbA,338
@@ -13,20 +13,22 @@ phenoml/agent/prompts/raw_client.py,sha256=n2R6TL8Rjix8ewpA3b3J68hy_sqlBOxMYMNcV
13
13
  phenoml/agent/prompts/types/__init__.py,sha256=N-qiOKtvTg2c7r8DaBddWQDaqjAEve1W-K-yCRLCi84,259
14
14
  phenoml/agent/prompts/types/prompts_delete_response.py,sha256=hG7Y3lEyBAF2-cIIicRO5RVoBNOajNR9PHQ-1L2kMK8,599
15
15
  phenoml/agent/prompts/types/prompts_list_response.py,sha256=7OzSEUyw2frge0HO7BiZf-I_DJBF0o5e20qsmK1-24s,714
16
- phenoml/agent/raw_client.py,sha256=7Yx79x2NTWMVbz3UzWC04v1lhPLvAXozaF5k4uAMzfw,65988
17
- phenoml/agent/types/__init__.py,sha256=jMiQhVO3NTKEv5Qm6ZyAeBueWCEFJUzAd78FSsetdME,1566
16
+ phenoml/agent/raw_client.py,sha256=nrorzmBEFlA6CJbj4q5lg65x07Wg4xQUm1YC2FpxboQ,66112
17
+ phenoml/agent/types/__init__.py,sha256=s9haFGiDhJ7C4RJ_uJj4hGtutBR95qD6ggYlxKdgeOE,1782
18
18
  phenoml/agent/types/agent_chat_response.py,sha256=GqPcv7lyZlsypeqFwf1ecouik9A-9xDde0sckYOc8lA,862
19
- phenoml/agent/types/agent_create_request.py,sha256=zHEnDylu2M6ZcgfxwWJvXTdMa70UqJ6tTYhLMRK151E,1411
19
+ phenoml/agent/types/agent_create_request.py,sha256=1_HbQn1puZDHKrKlmDrYlGyV-HKhrMLSm24jnhIyZKU,1323
20
20
  phenoml/agent/types/agent_create_request_provider.py,sha256=SsObiEY03YzReBAuvzevB5gwR1SjXtxxdKuXHtYJ6zg,145
21
21
  phenoml/agent/types/agent_delete_response.py,sha256=9lZoZdvn6iBzqkC_jAZlPzJ9ZuEe9XX1_zZNII6pJJA,596
22
22
  phenoml/agent/types/agent_get_chat_messages_request_order.py,sha256=LUV7Ngo98ZfHUIsC1P1hL5J_OVfEsW9iruvJAQSwGOU,171
23
+ phenoml/agent/types/agent_get_chat_messages_request_role.py,sha256=H4m6oyqwANRCnsASQRrcTE1k1v-RWfk_C4USWG0OVJc,197
23
24
  phenoml/agent/types/agent_get_chat_messages_response.py,sha256=R5wS7akcqIfFJ96TYCfvsDTZqOUu_zfsxEmtcMvPev8,731
24
25
  phenoml/agent/types/agent_list_response.py,sha256=NuEoSkEo5sd2Wu77TRrJeGB8IdtJbgxVx_uNIcl1qww,699
25
26
  phenoml/agent/types/agent_prompts_response.py,sha256=sXkclmfF6FI7q9a35T1CkyYjBnHm0n6QABSOYb4ICBY,690
26
27
  phenoml/agent/types/agent_response.py,sha256=bcLl5OAGrcGEgL6AIbVIiEpptoYk7R6Ydxw8t48ZP0U,680
27
28
  phenoml/agent/types/agent_template.py,sha256=0hJSVS1hsn2JNiaJNxrgWfTJQCRiLGKd4TPLI0n2yOU,1561
28
29
  phenoml/agent/types/agent_template_provider.py,sha256=GSTBqYxeng63IArMCABsTAp__aWd282MMqCcglV6DAw,140
29
- phenoml/agent/types/chat_message_template.py,sha256=CV0ZB8LjhtK8J9mNBvSuY0dp3tYrrK-o1RSQIETSXTc,1737
30
+ phenoml/agent/types/chat_message_template.py,sha256=rpwdaLZjzOF_IBZ3Hr7qQW06QlefbCWQBXM6uFNSPxQ,2062
31
+ phenoml/agent/types/chat_message_template_role.py,sha256=mH-cvjFPO7PtpqvOEjt2WIuIgNL4pe5i0-GWRfOImSE,189
30
32
  phenoml/agent/types/chat_session_template.py,sha256=7mdd4KgknpEwRbqSuzQhRcmk-8PAdKPZKJb4eOKe110,1567
31
33
  phenoml/agent/types/json_patch.py,sha256=pRf6g-LPfIpIfxhcFaVN7PyZ0eJ33fzTOyeMEGuw_18,178
32
34
  phenoml/agent/types/json_patch_operation.py,sha256=8kvQjpK3et2hlPspxUGgWJhLbnI252aI6365BUCqtYk,1288
@@ -78,7 +80,7 @@ phenoml/construe/types/extracted_code_result.py,sha256=3mIHO952KjbMRBY_YvwBt75XO
78
80
  phenoml/construe/types/upload_request_format.py,sha256=5mJhMM7R7hn6gGQNDJT9lxPDsRpUkRzqNxtRU0Nnlls,158
79
81
  phenoml/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
80
82
  phenoml/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
81
- phenoml/core/client_wrapper.py,sha256=z1oi8fHFvxZesnHRdmy1-aaGsidR3l0xTrlWWgY_50o,2645
83
+ phenoml/core/client_wrapper.py,sha256=rh2vcdosS_ZyXAkOD99BlqfPkAoyASw2y4OgHyyEWoc,2643
82
84
  phenoml/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
83
85
  phenoml/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
84
86
  phenoml/core/force_multipart.py,sha256=awxh5MtcRYe74ehY8U76jzv6fYM_w_D3Rur7KQQzSDk,429
@@ -111,41 +113,44 @@ phenoml/fhir/types/fhir_patch_request_body_item_op.py,sha256=qOU6uYuWoscQ876W58a
111
113
  phenoml/fhir/types/fhir_resource.py,sha256=kZxeWoOMiGqwfwdxgdWg3NUjFFTuVKCAv6Ty80myhuI,1223
112
114
  phenoml/fhir/types/fhir_resource_meta.py,sha256=9nXzZ7V7u0x9ehDyjoydmVl7leXzzvIOzxSQJSYmHbk,934
113
115
  phenoml/fhir/types/fhir_search_response.py,sha256=rUuRN_iECtOyETTKGx4WNBinrvC0XU4ivsPipI6OyHw,217
114
- phenoml/fhir_provider/__init__.py,sha256=eJCs8myQf5vFvBw61XfbU2zREeU2Twq_epJYlX6ldE4,1142
115
- phenoml/fhir_provider/client.py,sha256=htt7uajiTavAIUe5-45ucaAX0evxcEulHaFV1Hcgaug,23429
116
+ phenoml/fhir_provider/__init__.py,sha256=W9sfHGKZZIrDyngG0kPAh2GSFmpM1RopbHkPu_py2bY,1326
117
+ phenoml/fhir_provider/client.py,sha256=YcCCv2byazKP3o4gUFjISkANMkEH8YJ9wSPpzh7bgWU,24998
116
118
  phenoml/fhir_provider/errors/__init__.py,sha256=Wnvf4XPELmAIZ-jVxx2t-dBNZ-X9PcDxPSL5EHqJr1Q,434
117
119
  phenoml/fhir_provider/errors/bad_request_error.py,sha256=nv0bK4gtOnTon6a2NdVxJxHBje_O_7wIoRtXLZHovUQ,339
118
120
  phenoml/fhir_provider/errors/forbidden_error.py,sha256=ek8-sffTy9gY3F0zyaSkcskDVvq9puXP_YvvB2BJYbA,338
119
121
  phenoml/fhir_provider/errors/internal_server_error.py,sha256=biBHJfSP1_zWF5CJgxY4B8wrL1uC18RSccQ-BCKmYNs,343
120
122
  phenoml/fhir_provider/errors/not_found_error.py,sha256=hQ1KdyGQJCBQqo6iLu2-szlKJdzaoV5odq_7kdXAEbc,337
121
123
  phenoml/fhir_provider/errors/unauthorized_error.py,sha256=h8T6QhXuTo0GLL9MKfIM5p--wDqlB1-ZkMp3lY-aM3E,341
122
- phenoml/fhir_provider/raw_client.py,sha256=h1f9kQiyzKos3HD-qc0Daw4IuJLRQR3_yYn5101TLd4,60286
123
- phenoml/fhir_provider/types/__init__.py,sha256=nI5cnzergAlcDXfQkIAtJOEibdOqQ2BYTZGQrLAm2E4,1356
124
+ phenoml/fhir_provider/raw_client.py,sha256=w2WsePj2RotuP67eInRQIbHFd6nQR78Mi47qyQBCSnQ,60847
125
+ phenoml/fhir_provider/types/__init__.py,sha256=E1QL5c0aMTQQvp7BJ13HLH92ib3mUJlo6dCSSSQt1W0,1646
124
126
  phenoml/fhir_provider/types/auth_method.py,sha256=Ox5c5SQo1EHAwkhBNOJHEovgE6U2OoSvgXHLlqgk9-U,230
125
- phenoml/fhir_provider/types/fhir_provider_auth_config.py,sha256=-SGF8RiYF7tdttGCmagmZsO5OxL-Gz0sXV8OaYow9SA,1651
127
+ phenoml/fhir_provider/types/fhir_provider_auth_config.py,sha256=nwQ4IWlV0DTSm6RuWkzjdmUrwgKQ1JHwen1SlGcGHmI,2090
126
128
  phenoml/fhir_provider/types/fhir_provider_delete_response.py,sha256=mye_IDz2hAw7BxuzeRjkPjuFAeeEsdFk0RQrSP4ZzjM,603
127
- phenoml/fhir_provider/types/fhir_provider_list_response.py,sha256=ZoJMAhVgFAONuY0rt7glykjdWOskoSxi6_8JXVEf1_I,736
129
+ phenoml/fhir_provider/types/fhir_provider_list_response.py,sha256=MvQBIh0ex6j77AHhyXbE2Hkn9iF-jMiQRm5WvrwWAdQ,1231
130
+ phenoml/fhir_provider/types/fhir_provider_list_response_fhir_providers_item.py,sha256=6CNyk4Q4ENpv0fQfPiM2nTR0S4x-7q0ppQW53RPUuOA,306
128
131
  phenoml/fhir_provider/types/fhir_provider_remove_auth_config_response.py,sha256=iZcKAKcqjmxzNj3cmUhT0GdQAEfTVTeLcyoN-sAX1-E,725
129
- phenoml/fhir_provider/types/fhir_provider_response.py,sha256=gvhGBHxrpo0GtNKYZAQGEllRvBOOTvl5EkeDzCOKAjc,709
130
- phenoml/fhir_provider/types/fhir_provider_set_active_auth_config_response.py,sha256=2_CPZsJef245S4kETwiDXwYygGP5Lnr7I6qQV4wilU8,728
132
+ phenoml/fhir_provider/types/fhir_provider_response.py,sha256=jjNMC4YmF-aDHs4Ry7Mwyv8LIOgLW_OQFzvE7H4JrUs,910
133
+ phenoml/fhir_provider/types/fhir_provider_response_data.py,sha256=53rUcYnWgms6eUV3mTwQ8XX73cz-4SPHsYaojIPq0eM,289
134
+ phenoml/fhir_provider/types/fhir_provider_sandbox_info.py,sha256=mxlTuLiCNHXw2drCIS_OI6p1BkDRj4n4cVc-PPg5-p0,1240
131
135
  phenoml/fhir_provider/types/fhir_provider_template.py,sha256=4X86rNs_RhVFLL3-bWzjUIVepnJbluHrjuWRKSLIcq0,1852
132
136
  phenoml/fhir_provider/types/fhir_query_response.py,sha256=fOy_oCRexu2iZgDWW6sRIRZm7PtNetsDzc4F2lsM-Pw,842
133
137
  phenoml/fhir_provider/types/fhir_query_response_data.py,sha256=TfQ94GSU7NUfkxpy1VNFwOoUmFn4OxZxqFVkQDADsMk,169
134
138
  phenoml/fhir_provider/types/json_web_key.py,sha256=ouUPhdvlASdBSJyazqecjQ64A9V9aqvtSt1wt2K3MLg,1615
135
- phenoml/fhir_provider/types/provider.py,sha256=AmGOmoy5Cv9W0km4rAf3mxqH3g3UUnj_xC4FopPMdAk,238
139
+ phenoml/fhir_provider/types/provider.py,sha256=H8XvxEvg-4QJFWWLmETINuUQt7GMVMFeTfKiTt9rX-Q,263
136
140
  phenoml/fhir_provider/types/role.py,sha256=Igag80s-KaGOc4nWfrGWyT81HU__c6_WJ-1oV7DOVdE,638
137
141
  phenoml/fhir_provider/types/service_account_key.py,sha256=uup1Xl0HSc_B3278i0CS-ygCroShLS5_q0KtqXI96HY,1085
142
+ phenoml/fhir_provider/types/service_account_metadata.py,sha256=dNOWoWaAoi3dvoA0vhxKxV9k3pYm5ib_zDM1LVNiAxk,1170
138
143
  phenoml/fhir_provider/types/smart_configuration.py,sha256=bG_J1yNFEWWo9kjxF0s2Ik9rXehB1JHcQ2fTn6dht6k,1174
139
- phenoml/lang2fhir/__init__.py,sha256=zgnos0Sw2t255KUygG-lhZGl9yQCLPTJM7uMssWm1pc,1066
140
- phenoml/lang2fhir/client.py,sha256=o86CP8qO_K6BFBv3sj1KY8lBr37ccH2pGWXyB7APUuA,16289
144
+ phenoml/lang2fhir/__init__.py,sha256=GRHtY2j72etkOw5TeUgFc8KQ-FMfsAS4bzqvdYYVAsM,1132
145
+ phenoml/lang2fhir/client.py,sha256=ck1zFsdNjc-gBHeOxrHeSizeX-WzhGOe0dAd-S2R3iw,18551
141
146
  phenoml/lang2fhir/errors/__init__.py,sha256=nIzg981R3USgSar0WuuVrpDVg-H5vIp2AceEzbhphGw,458
142
147
  phenoml/lang2fhir/errors/bad_request_error.py,sha256=nv0bK4gtOnTon6a2NdVxJxHBje_O_7wIoRtXLZHovUQ,339
143
148
  phenoml/lang2fhir/errors/failed_dependency_error.py,sha256=eXiqG062inkUF7fs2Newhx9uAKReK6fosz29PMD4gVw,345
144
149
  phenoml/lang2fhir/errors/forbidden_error.py,sha256=ek8-sffTy9gY3F0zyaSkcskDVvq9puXP_YvvB2BJYbA,338
145
150
  phenoml/lang2fhir/errors/internal_server_error.py,sha256=biBHJfSP1_zWF5CJgxY4B8wrL1uC18RSccQ-BCKmYNs,343
146
151
  phenoml/lang2fhir/errors/unauthorized_error.py,sha256=h8T6QhXuTo0GLL9MKfIM5p--wDqlB1-ZkMp3lY-aM3E,341
147
- phenoml/lang2fhir/raw_client.py,sha256=uQN6oXZ7OD21Vvf_YOvOBrG56Eqbn79KMsPmq7RvIl4,38328
148
- phenoml/lang2fhir/types/__init__.py,sha256=IDh7nk6AXkWbzy2gbjQ11I0YLr8J6XzD2gCcBbRIPWI,1207
152
+ phenoml/lang2fhir/raw_client.py,sha256=jLdaaUk4fcTYxy1DZei8LYdfkqyXsgi46xYMhAR1zG8,40590
153
+ phenoml/lang2fhir/types/__init__.py,sha256=G9VhbmZptZIvqlfWDwGQodKP07UiaCPPd3hLEMi0RFY,1311
149
154
  phenoml/lang2fhir/types/create_multi_response.py,sha256=GrOBnwDp7pSmCRqaaG_4jL0P1lqXYMk5ioTabVaP2zg,1212
150
155
  phenoml/lang2fhir/types/create_multi_response_bundle.py,sha256=os13oK7NULRoN647NBfE3QuKe2Gvi2qSa6KJpkWIHsA,994
151
156
  phenoml/lang2fhir/types/create_multi_response_bundle_entry_item.py,sha256=1qvcTZuE_WzOzwGs6CrQOaU9cCFdtH2A7EGhMR8aqL4,970
@@ -156,7 +161,8 @@ phenoml/lang2fhir/types/document_request_file_type.py,sha256=VgPYn7FB-5hgvNsyvQE
156
161
  phenoml/lang2fhir/types/document_request_resource.py,sha256=keHsMn9UxgHd9VUNT54Atcj4Z4YI9uU0Fj9g1RwGUrg,189
157
162
  phenoml/lang2fhir/types/fhir_resource.py,sha256=EprHErQgwP_MkaCrul94OhkOWQcbvUjMeerF2ISh9LU,141
158
163
  phenoml/lang2fhir/types/lang2fhir_upload_profile_response.py,sha256=X41WiVztePQtZOcNRzNsder-h3rQTj94Y622HQ1izP8,721
159
- phenoml/lang2fhir/types/search_response.py,sha256=xM3jNTIl7XuxzCfvaYCzXiBryGXT4siH9UVCpbo0UgI,1019
164
+ phenoml/lang2fhir/types/search_response.py,sha256=8_UBQ0bPLF-RoNgusLIcdsaoRfs2AAomV9IXOL23mhg,1319
165
+ phenoml/lang2fhir/types/search_response_resource_type.py,sha256=cETF9-PQKk08oLLn3wPstVHT3yCyr0GMlEa1SvKoY9s,861
160
166
  phenoml/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
161
167
  phenoml/summary/__init__.py,sha256=cjy6_yHLxfmek9E-rYGwYhqtBfnrv_URysL3PiSz4tI,1106
162
168
  phenoml/summary/client.py,sha256=yxpMWDf055lZ2pCB1ZcuMdo0_j6koDpQd1Dt7R8ISKQ,20518
@@ -245,7 +251,7 @@ phenoml/workflows/types/workflows_delete_response.py,sha256=izcubUOnSNOgThD9Ozo6
245
251
  phenoml/workflows/types/workflows_get_response.py,sha256=gfNyUs14JSynprRwT-fuq4IDsGrPZmUSsK3WmgqIEi8,891
246
252
  phenoml/workflows/types/workflows_update_response.py,sha256=FEvQpC9ZRk8dV1oaIAwV5bSDD2tkXZ5fG4mozRjibuQ,1046
247
253
  phenoml/wrapper_client.py,sha256=JYTdhXgju4tOsata06wQY_ZbMsuMj3qaxkgvDzpY068,5022
248
- phenoml-0.0.18.dist-info/LICENSE,sha256=Am1fNNveR2gcmOloSWQTsnUw2SQEF8HtowFqIvlagfk,1064
249
- phenoml-0.0.18.dist-info/METADATA,sha256=Z1ieeoLMuZTCh90F_ExzmBFAU_0f9EJ74r7UOmrvfEE,5331
250
- phenoml-0.0.18.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
251
- phenoml-0.0.18.dist-info/RECORD,,
254
+ phenoml-0.0.20.dist-info/LICENSE,sha256=Am1fNNveR2gcmOloSWQTsnUw2SQEF8HtowFqIvlagfk,1064
255
+ phenoml-0.0.20.dist-info/METADATA,sha256=-EhIW44dYBwnkzbsEC9TwdXoywW4MGsarTK62vKfFcA,5331
256
+ phenoml-0.0.20.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
257
+ phenoml-0.0.20.dist-info/RECORD,,
@@ -1,22 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ...core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
- from .fhir_provider_template import FhirProviderTemplate
8
-
9
-
10
- class FhirProviderSetActiveAuthConfigResponse(UniversalBaseModel):
11
- success: typing.Optional[bool] = None
12
- message: typing.Optional[str] = None
13
- data: typing.Optional[FhirProviderTemplate] = None
14
-
15
- if IS_PYDANTIC_V2:
16
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
17
- else:
18
-
19
- class Config:
20
- frozen = True
21
- smart_union = True
22
- extra = pydantic.Extra.allow