Comments (4)
what does 'pass through' mean?
from org.hl7.fhir.core.
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.
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.
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)
- Enhancement - RequirementsRender should render Requirements.statement.key as anchor link HOT 6
- Bug: EXTENSION_EXT_URL_ABSOLUTE raised when URL is absolute HOT 2
- Support for ndjson file validation using validator_cli
- Invalid code values of operationoutcome-message-id HOT 2
- SimpleWorkerContext in android environment does not load the dependencies of a npm FHIR package built for an IG HOT 2
- Search Parameter SearchType/DataType checking HOT 1
- Search Parameter validation as type checking HOT 2
- conformsToProfile returns false even if the error is unrelated to profile conformance HOT 1
- Empty java files in repo HOT 4
- Check that http header names are case insensitive HOT 3
- BundleValidator fails on Composition with several subjects HOT 5
- FilesystemPackageCacheManager is not thread-safe HOT 1
- Error when execute jar file from PHP HOT 2
- org.hl7.fhir.r4.model.codesystems package missing in R5 HOT 4
- Add support for validating multiple resources together. HOT 1
- `xpp3` no longer optional in `dstu2016may` HOT 3
- Address.line[] element is not converted in some versions, instead only the String value is
- CodeSystem content mode causes faulty validation errors
- org.hl7.fhir.r4.model.codesystems package missing in R4B
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from org.hl7.fhir.core.