Giter Site home page Giter Site logo

Comments (4)

grahamegrieve avatar grahamegrieve commented on July 3, 2024

what does 'pass through' mean?

from org.hl7.fhir.core.

ComandoLando avatar ComandoLando commented on July 3, 2024

It throws an error. Code system not valid. When included. Pass through means more no error thrown for custom extensions.

from org.hl7.fhir.core.

LandonReilly avatar LandonReilly commented on July 3, 2024

Here is an example of the error and Json. I would probably expect a warning not an error maybe. I've tested this on us-core and au-core. But please let me know if i am missing something :) java -jar validator_cli.jar -version 4.0.1 -ig https://build.fhir.org/ig/hl7au/au-fhir-core/package.r4b.tgz -sct au "Appointment.json" -extension any

Error: *FAILURE*: 2 errors, 1 warnings, 0 notes Error @ Appointment.extension[0].url (line 6, col84): Example URLs are not allowed in this context (http://example.org/fhir/StructureDefinition/preferred-language) Error @ Appointment.extension[0] (line 5, col12): The extension http://example.org/fhir/StructureDefinition/preferred-language is unknown, and not allowed here Warning @ Appointment (line 1, col2): Constraint failed: dom-6: 'A resource should have narrative for robust management' (defined in http://hl7.org/fhir/StructureDefinition/DomainResource) (Best Practice Recommendation)

{ "resourceType": "Appointment", "id": "appointment-id", "extension": [ { "url": "http://example.org/fhir/StructureDefinition/preferred-language", "valueCode": "en-US" } ], "status": "booked", "appointmentType": { "coding": [ { "system": "http://bps/fhir/CodeSystem/appointment-type", "code": "56", "display": "Routine Check-Up" } ], "text": "Routine Check-Up" }, "reasonCode": [ { "text": "One Time check-up" } ], "priority": 1, "start": "2023-11-15T09:00:00+00:00", "end": "2023-11-15T10:00:00+00:00", "minutesDuration": 60, "created": "2023-11-13T06:14:52.831Z", "comment": "Patient should bring previous medication records.", "participant": [ { "actor": { "reference": "Practitioner/2", "type": "Practitioner", "display": "Dr. Jane Smith" }, "status": "accepted" }, { "actor": { "reference": "Patient/56", "type": "Patient", "display": "John Doe" }, "status": "accepted" }, { "actor": { "reference": "Location/1", "type": "Location", "display": "Clinic Room 1" }, "status": "accepted" }, { "actor": { "reference": "RelatedPerson/45", "type": "RelatedPerson", "display": "John Doe" }, "status": "accepted" } ] }

from org.hl7.fhir.core.

grahamegrieve avatar grahamegrieve commented on July 3, 2024

you get a pair of errors around example content. By default, the validator doesn't allow example URLs or extensions. This is configurable: see https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-Extensions and https://confluence.hl7.org/display/FHIR/Using+the+FHIR+Validator#UsingtheFHIRValidator-ExampleURLs.

These messages are the errors working as intended

from org.hl7.fhir.core.

Related Issues (20)

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.