Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

US Core Provenance Validation Errors #63

Open
Torin-Shepard-athena opened this issue Jul 23, 2021 · 1 comment
Open

US Core Provenance Validation Errors #63

Torin-Shepard-athena opened this issue Jul 23, 2021 · 1 comment

Comments

@Torin-Shepard-athena
Copy link

Torin-Shepard-athena commented Jul 23, 2021

Please explain why https://inferno.healthit.gov/validator/ reports the following error for the attached Provenance resource.
Advanced Options
Pick an Implementation Guide to validate against = hl7.fhir.us.core
Select a profile = http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance

Problem processing expression ($this.agent.who.resolve().is Practitioner or Device) implies exists() in profile http://hl7.org/fhir/us/core/StructureDefinition/us-core-provenance path Provenance.agent[0].onBehalfOf: Error @1, 2: Found Practitioner expecting a ")" on line 1.

Sample_Provenance_for_Condition.txt

This Provenance resource has agent[0].who reference to Practitioner and agent[0].onBehalfOf reference to Organization. Why does inferno online validator report an error with this content?

@yunwwang
Copy link

This is a FHIR registry issue. Inferno validator, and the underlying FHIR validator jar, uses the current published version of an IG. For some unknown reason, validator pulled US Core v3.1.0 as "current version". I already submitted a question to zulip argonaut stream (https://chat.fhir.org/#narrow/stream/179175-argonaut/topic/Java.20validator.20picks.20wrong.20version.3F). Hopefully someone could fix the FHIR IG registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants