Giter VIP home page Giter VIP logo

fhir's People

Contributors

aliakseit avatar dokotela avatar firejuun avatar lucaspal avatar tiloc avatar vsaase avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fhir's Issues

How to change data in complex depth attributes of models?

Considering a case where I have a patient with 3 names, and I want to change the "use" of the second index in the list. Working with copyWith can be tricky.

Looking at examples in other elements where the depth can be even greater, the complexity of manipulating the elements can get worse.

Meta information lost on Resource.updateVersion

Hi,
first thanks for the library, helped me a lot already.
In the above referenced line a new Meta instance is returned. This however ignores other fields that may be set in oldMeta, such as the profile. Could this be fixed with a conditional oldMeta.copyWith ?
I would send a pull request, but I am not sure if you generate this code from somewhere else. I see all this duplications between dstu2, stu3, r4 and r5.

Missing location headers from webauthdemo

Bug

When using the web auth demo, particularly with an EHR client (Epic Clinician), we are currently unable to grab the relevant response header that is linked to patient IDs.

Steps to Reproduce

  1. Checkout this repo, and setup local api keys per these instructions, placing them inside fhir/fhir_auth/webauthdemo/lib
  2. Go into fhir/fhir_auth/webauthdemo and run the command ./run_locally.sh to start a locally-hosted Flutter web app
  3. Inspect the web app, focusing on the Network tab
  4. Click on Epic Clinician, then use the default clinician login per this site
  5. The ResponseHeaders contained in Patient?_format=json&_pretty=false on the inspected web application should match the ResultHeaders that are shown in the terminal

Expected results:
Expect ResponseHeaders that include Location data (aka: patient ID), in web app inspection

Access-Control-Allow-Origin: *
Cache-Control: no-cache,no-store
Content-Length: 0
Content-Type: application/fhir+json; charset=utf-8
Date: ________________
Expires: -1
Location: Patient/________________
Pragma: no-cache
Server: Microsoft-IIS/10.0
...

Actual results:
ResultHeaders, shown in terminal

{cache-control: no-cache,no-store, content-length: 0, content-type:
application/fhir+json; charset=utf-8, expires: -1, pragma: no-cache}}]}

Type cast error when parsing Observation

Location - (package:fhir/r4/resource_types/clinical/diagnostics/diagnostics.g.dart:1744:51)
Error - Unhandled Exception: type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast
Screenshot 2023-04-04 at 4 04 30 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.