Code Monkey home page Code Monkey logo

pyro's Issues

Not accepting a transaction bundle

I am uploading a transaction bundle containing a Device resource with property elements on the R4 server available publicly. I am getting the error
DeSerialisation of a JSON to FHIR Resource failed with the following message: Encountered unknown member 'valueQuantity' while de-serializing (at path 'line 1, pos 2772'

There is no valueQuantity at that point but counting approaches may differ. The closest valueQuantity was in the Device.property element. The transaction bundle is as follows (no pretty print):

{"resourceType":"Bundle","id":"1555578973976","type":"transaction","entry":[{"fullUrl":"urn:oid:1.2.3.0","resource":{"resourceType":"Patient","meta":{"profile":["http://hl7.org/fhir/uv/phd/StructureDefinition/PhdPatient"]},"identifier":[{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0203","code":"MR"}],"text":"Medical record number"},"system":"urn:oid:1.2.3.4.5.6.7.8.10","value":"sisansarahId"}],"name":[{"family":"Piggy","given":["Sisansarah","Lorianthah"]}],"birthDate":"1992-11-10"},"request":{"method":"POST","url":"Patient","ifNoneExist":"identifier=urn:oid:1.2.3.4.5.6.7.8.10|sisansarahId"}},{"fullUrl":"urn:oid:1.2.3.1","resource":{"resourceType":"Device","meta":{"profile":["http://hl7.org/fhir/uv/phd/StructureDefinition/PhgDevice"]},"identifier":[{"type":{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers","code":"SYSID","display":"System Identifier"}]},"system":"urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680","value":"EC-DE-3D-4E-58-53-2D-31"}],"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"531981","display":"MDC_MOC_VMS_MDS_AHD"}],"text":"MDC_MOC_VMS_MDS_AHD: Continua compliant Gateway"},"version":[{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"532352"}],"text":"MDC_REG_CERT_DATA_CONTINUA_VERSION: Continua version"},"value":"6.0"}],"property":[{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"532353"}],"text":"MDC_REG_CERT_DATA_CONTINUA_CERT_DEV_LIST: Continua certified device list"},"valueCode":[{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaPAN","code":"4"}]}]},{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"532355"}],"text":"MDC_REG_CERT_DATA_CONTINUA_AHD_CERT_LIST: Continua certified Health&Fitness interfaces list"},"valueCode":[{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS","code":"0"}]},{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS","code":"3"}]},{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS","code":"7"}]},{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS","code":"2"}]},{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaHFS","code":"6"}]}]},{"type":{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ASN1ToHL7","code":"532354.0","display":"regulation-status"}]},"valueCode":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v2-0136","code":"Y"}],"text":"Device is Unregulated"}]},{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"68220"}],"text":"MDC_TIME_SYNC_PROTOCOL: null"},"valueCode":[{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"532226"}],"text":"MDC_TIME_SYNC_NTPV4: NTPV4 time synchronization"}]},{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"68221"}],"text":"MDC_TIME_SYNC_ACCURACY: null"},"valueQuantity":[{"value":120000000,"code":"us"}]}]},"request":{"method":"POST","url":"Device","ifNoneExist":"identifier=urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680|EC-DE-3D-4E-58-53-2D-31"}},{"fullUrl":"urn:oid:1.2.3.2","resource":{"resourceType":"Device","meta":{"profile":["http://hl7.org/fhir/uv/phd/StructureDefinition/PhdDevice"]},"identifier":[{"type":{"coding":[{"system":"http://hl7.org/fhir/uv/phd/CodeSystem/ContinuaDeviceIdentifiers","code":"SYSID","display":"System Identifier"}]},"system":"urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680","value":"00-00-00-00-00-00-00-00"}],"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"65573","display":"MDC_MOC_VMS_MDS_SIMP"}]},"specialization":[{"systemType":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"528392"}],"text":"MDC_DEV_SPEC_PROFILE_TEMP: Thermometer"},"version":"1"}],"property":[{"type":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"68220"}],"text":"MDC_TIME_SYNC_PROTOCOL: null"},"valueCode":[{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"532224"}],"text":"MDC_TIME_SYNC_NONE: No time synchronization"}]}]},"request":{"method":"POST","url":"Device","ifNoneExist":"identifier=urn:oid:1.2.840.10004.1.1.1.0.0.1.0.0.1.2680|00-00-00-00-00-00-00-00"}},{"fullUrl":"urn:oid:1.0.0.1","resource":{"resourceType":"Observation","meta":{"profile":["http://hl7.org/fhir/uv/phd/StructureDefinition/PhdNumericObservation"]},"extension":[{"url":"http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice","valueReference":{"reference":"urn:oid:1.2.3.1"}}],"status":"final","category":[{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/observation-category","code":"vital-signs","display":"Vital Signs"}]}],"code":{"coding":[{"system":"urn:iso:std:iso:11073:10101","code":"150364"},{"system":"http://loinc.org","code":"8310-5"}],"text":"MDC_TEMP_BODY: Body temp"},"subject":{"reference":"urn:oid:1.2.3.0"},"effectiveDateTime":"2019-04-18T05:16:13.957-04:00","valueQuantity":{"value":99.9,"system":"http://unitsofmeasure.org","code":"Cel"},"device":{"reference":"urn:oid:1.2.3.2"}},"request":{"method":"POST","url":"Observation"}}]}

Allowing Conditional Updates

Hi Angus,

Firstly: thank you. What an awesome implementation. Really enjoying it so far.

Curious - do you allow conditional updates?

Specifically: https://www.hl7.org/fhir/http.html#upsert

Servers MAY choose to allow clients to PUT a resource to a location that does not yet exist on the server - effectively, allowing the client to define the id of the resource.

When I sent through an id, it returned a new ID for the Patient.

Reason being is we are syncing two FHIR servers and thought it may be possible to do this.

Thanks again!

Issue with Identity Server 3

Hi Angus,

Me again :-)

Been trying to fire-up the Identity side of things. Im on branch "develop-r4" although have made some adjustments.

I keep getting the following issue with the Authentication server. I am running one, but its a separate web app running on Identity Server 4.

image

You don't by any chance have a working copy of your auth server? (The one at https://localhost:44300/)

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.