Giter Club home page Giter Club logo

careconnect-reference-implementation's People

Contributors

akarimisetti avatar andybowes avatar kevinmayfield avatar martinwaite avatar snoopy2k14 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

Watchers

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

careconnect-reference-implementation's Issues

Unexpected results when running gt search against Encounters

When running the search Encounter?date=gt2017-10-19T10:00 two records are not being returned that I would expect.

Encounter 4141 has a period 2017-10-19 | 09:35:24 to 2017-10-19 | 10:08:31 which means that the encounter was active after 10:00.

Encounter 4189 has a period 2017-10-19 | 09:47:10 to 2017-10-19. This one is more abstract given that the absence of a time suggests the Encounter finished anywhere between 00:01 and 23:59. This would theoretically make a period anywhere between 9:47 to 23:59 which includes times greater than 10:00.

Issues using gt parameter on date search for AllergyIntolerance

When running the searches date=gt2017-10 or date=gt2017-10-19, a bundle with 0 results is returned.

date=gt2017-10: 10001, 10003, 10004, 10005, 10006... is expected
date=gt2017-10-19: 100007, 100018, 100032 is expected

date=gt2016 does seem to work correctly.

Searching for an Encounter based on time has a number of issues.

timeDate can represent periods of time rather than discrete datetime values. Because they are used in Encounter periods, there are a number of related issues around the way in which searches should behave.

Any query for an Encounter which includes a time should return Encounters that only have dates recorded given that a date alone encompasses a range of times. For example, Encounter?date=2017-10-17T13:58 should return 4509 which has a start and end dates but no times. Those Encounters which only have a start date should be handled this way also.

Ref: https://www.hl7.org/fhir/search.html#date
The range of the value as defined above; e.g. For example, the date 2013-01-10 specifies all the time from 00:00 on 10-Jan 2013 to immediately before 00:00 on 11-Jan 2013

date=2017-10-17T13:59 should return 4129 which has a start time of 13:59. This works ok but it should also be returning Encounters such as 4139 that starts at 13:39 and finishes at 14:15.

Cant Start - Missing careconnect-ri.war?

Hi, I am getting the below error when trying to start the latest release?

ERROR: Service 'ccri' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder404952759/target/careconnect-ri.war: no such file or directory

https support?

I am trying to access the Patient endpoint via a very simple browser-client demo hosted on heroku.

This app sits behind https and as such the browser raises 'Mixed content' warnings because the ccri endpoints are http only.

I tried switching to https ccri endpoints but got a certificate expired error.

Is it intended to make ccri available via https?

ccrigatewayhttps - intermittent problem with "illegal cyclic inheritance" error

On my host (CentOS7, mvn 3.0.5, java 1.8), some builds yield ccrigatewayhttps war files that are difficult to start. This is caused by two versions of lib/bcprov-*.jar getting pulled in by the build. The classes in this jar define a circular dependency between org.bouncycastle.asn1.ASN1EncodableVector and org.bouncycastle.asn1.DEREncodableVector. If you are lucky, at start up this cycle is resolved in the same jar file and all works fine. If you are unlucky, the classes are pulled from different versions of the jar and an infinite loop kicks off. See https://stackoverflow.com/questions/17584495/unable-to-complete-the-scan-for-annotations-for-web-application-app-due-to-a for a similar situation.

The fix that worked for me was to add a packagingExcludes clause into the pom.xml file to eliminate one of the redundant jar files: I picked the one with the oldest version and now the service starts for me every time.

I will post a patch for the pom.xml file later.

ccrigatewayhttps - does not honour wildcard Authorization scopes

Currently, the secure endpoint only supports Authorization scopes that are based on the resource name - for example "user/Patient.read" or "patient/Medication.*".

The service should also be prepared to honour wildcard scopes - for example "user/*.read".

Issues using gt parameter on asserted-date search for Condition

When running the following search...

asserted-date=gt2017-10-18

4 results were expected (10013, 10015, 10035, 10039) but 0 results are returned.

When running the query directly against the database, the rows are returned OK which would suggest the data is correct and running a query such as gt2017-09 returns a large set of results which appear to be correct.

When setting the header's Content-Type to 'application/xml' or 'application/json' the server returns the DSTU2 standard Content-Type response.

When setting the header's Content-Type to 'application/xml' or 'application/json' the server returns the DSTU2 standard Content-Type response.

For example, including the header Content-Type: application/xml in the request prompts the server to return Content-Type:application/json+fhir in the response. It should be fhir+json.

Ref: https://www.hl7.org/fhir/http.html#mime-type

CCRI web-interface authentication redirect loop

Hello

I am trying to test out the reference implementation of the CareConnect API here:
https://data.developer.nhs.uk/ccri/exp. When trying to "sign in" to the open id connect server with my google id, I seem to end up in an infinite redirect loop. The log shows a CORS error just before redirect.

image

Apologies if this is the wrong place to report issues of this sort.

Thanks
Alex

ccriserver failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder007796907/target/ccri-fhirserver.jar: no such file or directory

Fresh repo clone, startServer.sh fails:

Step 4/5 : ADD target/ccri-fhirserver.jar ccri-fhirserver.jar
ERROR: Service 'ccriserver' failed to build: ADD failed: stat /var/lib/docker/tmp/docker-builder007796907/target/ccri-fhirserver.jar: no such file or directory

(Have tried on Mac and Fedora with the same result)

Similar sounding issue to issue #66 (Cant Start - Missing careconnect-ri.war?), but link to alternative docker-compose file suggested by @KevinMayfield broken

Any suggestions?

Value annotations in HAPIRestfulConfig are not applied

Inside the HAPIRestfulConfig class, there are half-a-dozen attempts to set configuration variables using the @value annotation, for example:

	@Value("${fhir.oauth2.authorize:https://auth.hspconsortium.org/authorize}")
	private String oauth2authorize = "http://purple.testlab.nhs.uk:20080/authorize";

At the time these variables are used, in the initialize method, these @value expressions have not been applied. I think this is because the HAPIRestfulConfig class is not marked for scanning when Spring resolves property values, and so the @value expressions are ignored.

I think these configuration variables should be moved into the Config class which has been declared asa @configuration class and so @value resolution should work. Inside the Config class, the relevant variables could be wrapped into one or more @bean(s) for later retrieval by the HAPIRestfulConfig.initialize method.

I will try to prepare a fix later this week, and I am interested in any comments or guidance.

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.