Releases: CareEvolution/OrchestrateSDK
Releases · CareEvolution/OrchestrateSDK
2.2.1
2.2.0
Except where indicated, feature demonstrations below presume you have an authenticated sdk object named api
.
✨ Features
-
NEMSIS Endpoints are now available in the Convert API. #106
from orchestrate.convert import ConvertFhirR4ToNemsisV35Response fhir_bundle = { "resourceType": "Bundle", "type": "collection", "entry": [ { "resource": { "resourceType": "Patient", "id": "1" } }, ... # See required bundle structure in the documentation ] } nemsis: ConvertFhirR4ToNemsisV35REsponse = api.convert.fhir_to_nemsis_v35(fhir_bundle)
-
If you have a provisioned Orchestrate Identity service, it is now possible to use the SDK to maintain records in the instance. #111
import os from orchestrate.identity import IdentityApi, Demographic, AddOrUpdateRecordResponse os.environ["ORCHESTRATE_IDENTITY_URL"] = "https://<your-identity-url>" os.environ["ORCHESTRATE_IDENTITY_API_KEY"] = "<your-identity-api-key>" os.environ["ORCHESTRATE_IDENTITY_METRICS_KEY"] = "<your-identity-metrics-key>" identity_api = IdentityService() demographic = Demographic( first_name="John", last_name="Doe", date_of_birth="1980-01-01", ) response: AddOrUpdateRecordResponse = identity_api.add_or_update_record( source="my-source", identifier="my-identifier", demographic=demographic )
-
Convert's HL7toFHIR now also supports supplying default timezones. #114
from orchestrate.convert import ConvertHl7ToFhirResponse hl7 = "..." # HL7 message response: ConvertHl7ToFhirResponse = api.convert.hl7_to_fhir(hl7, tz="America/New_York")
-
The FHIR R4 to Manifest in the Convert API is now available in the SDK. #115, #133
from orchestrate.convert import ConvertFhirR4ToManifestResponse fhir_bundle = { "resourceType": "Bundle", "type": "collection", "entry": [ { "resource": { "resourceType": "Patient", "id": "1" } }, ] } response: ConvertFhirR4ToManifestResponse = api.convert.fhir_r4_to_manifest(fhir_bundle)
🩹 Fixes
- Fixed a response type for python's
get_fhir_r4_concept_maps
. #146
Full Changelog: 2.1.0...2.2.0
2.1.0
✨ Features
- Operational Outcomes now appear in 4xx and 5xx errors rather than being swallowed by HTTP internals. By @jeremytwfortune in #104
🩹 Fixes
- The python SDK will now correctly interpret inputs from multiple string encodings. By @jeremytwfortune in #105
Full Changelog: 2.0.1...2.1.0
2.0.1
2.0.0
💥 Breaking Changes
- All functions are now categorized by their family by @jeremytwfortune in #91
- standardize*, get*, classify*, translate*, and summarize* functions are now in terminology so that they are now referenced as .terminology. instead of ..
- convert* functions are now in convert and the previs convert has been removed from the function names. They are now referenced as .convert. instead of .convert.
- insight* functions are now in insight and the prefix insight has been removed from the function names. They are now referenced as .insight. instead of .insight.
- The verb "combined" has been fixed to use "combine":
- TypeScript: convertCombinedFhirR4Bundles is now convert.combineFhirR4Bundles.
- Python: convert_combined_fhir_r4_bundles is now convert.combine_fhir_r4_bundles.
- TypeScript: types are now loaded from their respective families. For example: import { ConvertHl7ToFhirR4Response } from "@careevolution/orchestrate/convert";
- Use Query Parameters for Person / Patient IDs by @jeremytwfortune in #90
- The optional argument for person ID in combine bundles has been renamed to patient ID.
✨ Features
- New Convert Endpoints by @jeremytwfortune in #95
- FHIR DSTU2 to R4
- FHIR STU3 to R4
- CDA to HTML
- FHIR to HealthLake
- Trusted Environment Variables by @jeremytwfortune in #94
- Clients can now be constructed in a parameterless way by specifying the
ORCHESTRATE_API_KEY
environment variable.
- Clients can now be constructed in a parameterless way by specifying the
🩹 Fixes
- Dependency updates
- Add Python 3.12 Testing by @jeremytwfortune in #65
Full Changelog: 1.2.0...2.0.0
1.2.0
1.1.0
What's Changed
- Convert API Body Parameters to
content
by @jeremytwfortune in #10 - Update Dependencies by @jeremytwfortune in #11
- Bump actions/setup-node from 3.7.0 to 3.8.1 by @dependabot in #12
- Batch Operations by @jeremytwfortune in #18
- Scope -> Extension.Scope by @jeremytwfortune in #19
- Bundle Dependabot Updates by @jeremytwfortune in #20
New Contributors
- @dependabot made their first contribution in #12
Full Changelog: 0.3.5...1.1.0
1.0.0
Full Changelog: 0.3.4...1.0.0
0.3.0
What's Changed
- Enable Public Repositories by @jeremytwfortune in #2
- Add Documentation Links by @jeremytwfortune in #5
- Test Insight Endpoints by @jeremytwfortune in #7
- Add the Concept:Contains Argument for Code System by @jeremytwfortune in #8
- Correctly Return Bytes by @jeremytwfortune in #6
- JS packaging tweaks by @kneumei in #9
New Contributors
Full Changelog: 0.2.1...0.3.0