Validation Results for DaVinciHealthRecordExchangeHRex
Generated Sun Jul 23 22:29:27 UTC 2023, FHIR version 4.0.1 for hl7.fhir.us.davinci-hrex#1.0.0 (canonical = http://hl7.org/fhir/us/davinci-hrex (history)). See Errors Only
n/a Show Validation Information
Path | Severity | Message |
Bundle.entry[1].resource/*Task/e3b9e31e-6252-40a5-9b7b-dfa6ca44f875*/.output[0].value.ofType(Reference) (l106/c14) | error | Unable to resolve resource with reference 'Bundle/results' |
Path | Severity | Message |
Bundle.entry[2].resource/*DocumentReference/Inline-Instance-for-subscription-notification-with-document*/.content[0].format (l167/c14) | information | The Coding provided (http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008) is not in the value set 'DocumentReference Format Code Set' (http://hl7.org/fhir/ValueSet/formatcodes|4.0.1), and a code is recommended to come from this value set. (error message = The provided code http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008 is not in the value set 'http://hl7.org/fhir/ValueSet/formatcodes|4.0.1') |
Path | Severity | Message |
Bundle.entry[1].resource/*DocumentReference/c94fb961-310c-41f1-a54f-gd5325dgds7*/.content[0].format (l129/c14) | information | The Coding provided (http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008) is not in the value set 'DocumentReference Format Code Set' (http://hl7.org/fhir/ValueSet/formatcodes|4.0.1), and a code is recommended to come from this value set. (error message = The provided code http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008 is not in the value set 'http://hl7.org/fhir/ValueSet/formatcodes|4.0.1') |
Path | Severity | Message |
CodeSystem (l1/c3623) | error | The ShareableCodeSystem profile says that the experimental element is mandatory, but it is not found. HL7 Published code systems SHALL conform to the ShareableCodeSystem profile |
Path | Severity | Message |
Organization.identifier[0] (l10/c6) | Slicing Information | This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization|1.0.0 Show Reasoning This element does not match any known slice Defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization|1.0.0 - Organization.identifier[0]: discriminator = true and $this.where(system = 'http://hl7.org/fhir/sid/us-npi').exists()
, - Organization.identifier[0]: discriminator = true and $this.where(system = 'urn:oid:2.16.840.1.113883.4.7').exists()
, - Organization.identifier[0]: discriminator = true and $this.where(system = 'urn:oid:2.16.840.1.113883.4.4').exists()
, - Organization.identifier[0]: discriminator = true and $this.where(system = 'http://terminology.hl7.org/NamingSystem/CMSCertificationNumber').exists()
|
- Parameters: Validated against fhir.Parameters
- Parameters.parameter[0].resource: Validated against fhir.Patient
- Parameters.parameter[1].resource: Validated against fhir.Coverage
- Parameters.parameter[2].resource: Validated against fhir.Coverage
- Parameters.parameter[3].resource: Validated against fhir.Consent
Path | Severity | Message |
Parameters.parameter[3].resource/*Consent/null*/.policy[0].uri (l179/c103) | error | URL value 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular' does not resolve |
Path | Severity | Message |
Parameters.parameter[2].resource/*Consent/null*/.policy[0].uri (l153/c103) | error | URL value 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular' does not resolve |
Path | Severity | Message |
Practitioner.identifier[0] (l10/c6) | Slicing Information | This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|1.0.0 Show Reasoning This element does not match any known slice Defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|1.0.0 - Practitioner.identifier[0]: discriminator = true and $this.where(system = 'http://hl7.org/fhir/sid/us-npi').exists()
, - Practitioner.identifier[0]: discriminator = true and $this.where(system = 'http://terminology.hl7.org/NamingSystem/CMSCertificationNumber').exists()
|
Path | Severity | Message |
Practitioner.identifier[0] (l10/c6) | Slicing Information | This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|1.0.0 Show Reasoning This element does not match any known slice Defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner|1.0.0 - Practitioner.identifier[0]: discriminator = true and $this.where(system = 'http://hl7.org/fhir/sid/us-npi').exists()
, - Practitioner.identifier[0]: discriminator = true and $this.where(system = 'http://terminology.hl7.org/NamingSystem/CMSCertificationNumber').exists()
|
Path | Severity | Message |
SearchParameter.modifier[3] (l1/c3316) | error | The value provided ('ofType') is not in the value set 'SearchModifierCode' (http://hl7.org/fhir/ValueSet/search-modifier-code|4.0.1), and a code is required from this value set) (error message = Unknown Code 'ofType' in the system 'http://hl7.org/fhir/search-modifier-code'; The provided code http://hl7.org/fhir/search-modifier-code#ofType is not in the value set 'http://hl7.org/fhir/ValueSet/search-modifier-code|4.0.1') |
Path | Severity | Message |
StructureDefinition.context[0] | warning | Review the extension type: extensions should not have a context of Element unless it's really intended that they can be used anywhere |
Path | Severity | Message |
StructureDefinition.context[0] | warning | Review the extension type: extensions should not have a context of Element unless it's really intended that they can be used anywhere |
Path | Severity | Message |
StructureDefinition.context[0] | warning | Review the extension type: extensions should not have a context of Element unless it's really intended that they can be used anywhere |
Path | Severity | Message |
StructureDefinition.context[0] | warning | Review the extension type: extensions should not have a context of Element unless it's really intended that they can be used anywhere |
Path | Severity | Message |
StructureDefinition.snapshot.element[9].example[0].value.ofType(Identifier) (l1/c111891) | error | if identifier.system is 'urn:ietf:rfc:3986', then the identifier.value must be a full URI (e.g. start with a scheme), not 'Local eCMS identifier' |
StructureDefinition.snapshot.element[13].pattern.ofType(CodeableConcept) | information | The repeating element has a pattern. The pattern will apply to all the repeats (this has not been clear to all users) |
StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-consent') | warning | The Implementation Guide contains no examples for this profile |
Path | Severity | Message |
StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage').baseDefinition | warning | US FHIR Usage rules require that all profiles on Coverage derive from the core US profile. Comparison with US Core Coverage Profile |
Path | Severity | Message |
StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-in') | warning | The Implementation Guide contains no examples for this profile |
Path | Severity | Message |
StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-parameters-member-match-out') | warning | The Implementation Guide contains no examples for this profile |
Path | Severity | Message |
StructureDefinition.snapshot.element[0].constraint[5] (l1/c47882) | error | Error in invariant 'hrex-pat-1' with expression 'gender.exists() or birthSex.exists()': Error evaluating FHIRPath expression: The name 'birthSex' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/Patient] (@char 3) |
StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics') | warning | The Implementation Guide contains no examples for this profile |
Path | Severity | Message |
StructureDefinition.snapshot.element[29].constraint[1] (l1/c57984) | error | Error in invariant 'provenance-1' with expression '(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()': Error evaluating FHIRPath expression: The name 'agent' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/Reference] (@char 9) |
Suppressed Messages (Warnings, hints, broken links)
HRex needs an anonymous patient - US Realm approved: https://jira.hl7.org/browse/FHIR-33538
- WARNING: StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics').baseDefinition: US FHIR Usage rules require that all profiles on Patient derive from the core US profile (1 uses)
These are tested by the parameters input examples
- INFORMATION: StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-consent'): The Implementation Guide contains no explicitly linked examples for this profile (0 uses)
- INFORMATION: StructureDefinition.where(url = 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-patient-demographics'): The Implementation Guide contains no explicitly linked examples for this profile (0 uses)
These code systems are not currently supported by the Tx server - and the X12 ones likely won't ever be
- Code System URI 'http://codesystem.x12.org/005010/1365' is unknown so the code cannot be validated (1 uses)
- Code System URI 'https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set' is unknown so the code cannot be validated (1 uses)
These coverage classes aren't part of the profile
- INFORMATION: Parameters/member-match-in-provider: Parameters.parameter[1].resource.ofType(Coverage).class[1]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
- INFORMATION: Parameters/member-match-in-provider: Parameters.parameter[1].resource.ofType(Coverage).class[2]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
- INFORMATION: Parameters/member-match-in-provider: Parameters.parameter[1].resource.ofType(Coverage).class[3]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
- INFORMATION: Parameters/member-match-in: Parameters.parameter[1].resource.ofType(Coverage).class[1]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
- INFORMATION: Parameters/member-match-in: Parameters.parameter[1].resource.ofType(Coverage).class[2]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
- INFORMATION: Parameters/member-match-in: Parameters.parameter[1].resource.ofType(Coverage).class[3]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-coverage (0 uses)
These identifiers are 'extra' and aren't expected to match any slice
- INFORMATION: Organization/full: Organization.identifier[0]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-organization (0 uses)
- INFORMATION: Practitioner/full: Practitioner.identifier[0]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner (0 uses)
- INFORMATION: Practitioner/min: Practitioner.identifier[0]: This element does not match any known slice defined in the profile http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitioner (0 uses)
These two errors should go away once the IG is published and the content is actually available at the canonical URL
- ERROR: Parameters/member-match-in-provider: Parameters.parameter[2].resource.ofType(Consent).policy[0].uri: URL value 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular' does not resolve (0 uses)
- ERROR: Parameters/member-match-in: Parameters.parameter[3].resource.ofType(Consent).policy[0].uri: URL value 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition-hrex-consent.html#regular' does not resolve (0 uses)
This is an error in the core resource that we inherit
- ERROR: StructureDefinition/hrex-consent: StructureDefinition.snapshot.element[9].example[0].value.ofType(Identifier): if identifier.system is ''urn:ietf:rfc:3986'', then the identifier.value must be a full URI (e.g. start with a scheme) (0 uses)
Errors sorted by type
CODESYSTEM_SHAREABLE_MISSING_HL7
ED_INVARIANT_EXPRESSION_ERROR
fsh-generated/resources/StructureDefinition-hrex-patient-demographics.json | Error in invariant 'hrex-pat-1' with expression 'gender.exists() or birthSex.exists()': Error evaluating FHIRPath expression: The name 'birthSex' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/Patient] (@char 3) |
fsh-generated/resources/StructureDefinition-hrex-provenance.json | Error in invariant 'provenance-1' with expression '(($this.agent.who.resolve() is Practitioner) or ($this.agent.who.resolve() is Device)) implies exists()': Error evaluating FHIRPath expression: The name 'agent' is not valid for any of the possible types: [http://hl7.org/fhir/StructureDefinition/Reference] (@char 9) |
Reference_REF_CantResolve
TYPE_SPECIFIC_CHECKS_DT_IDENTIFIER_IETF_SYSTEM_VALUE
Terminology_TX_NoValid_14
fsh-generated/resources/Bundle-subscription-notification-with-document.json | The Coding provided (http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008) is not in the value set 'DocumentReference Format Code Set' (http://hl7.org/fhir/ValueSet/formatcodes|4.0.1), and a code is recommended to come from this value set. (error message = The provided code http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008 is not in the value set 'http://hl7.org/fhir/ValueSet/formatcodes|4.0.1') |
fsh-generated/resources/Bundle-task-poll-response.json | The Coding provided (http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008) is not in the value set 'DocumentReference Format Code Set' (http://hl7.org/fhir/ValueSet/formatcodes|4.0.1), and a code is recommended to come from this value set. (error message = The provided code http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode#urn:ihe:pcc:apr:handp:2008 is not in the value set 'http://hl7.org/fhir/ValueSet/formatcodes|4.0.1') |
Terminology_TX_NoValid_16
fsh-generated/resources/SearchParameter-hrex-coverage-identifier.json | The value provided ('ofType') is not in the value set 'SearchModifierCode' (http://hl7.org/fhir/ValueSet/search-modifier-code|4.0.1), and a code is required from this value set) (error message = Unknown Code 'ofType' in the system 'http://hl7.org/fhir/search-modifier-code'; The provided code http://hl7.org/fhir/search-modifier-code#ofType is not in the value set 'http://hl7.org/fhir/ValueSet/search-modifier-code|4.0.1') |
Type_Specific_Checks_DT_URL_Resolve
US_CORE_DERIVATION