Skip to content

Conversation

@ryma2fhir
Copy link
Contributor

@ryma2fhir ryma2fhir commented Jan 10, 2025

No codes for http://human-phenotype-ontology.org are within the terminology server, nor any CodeSystem thus will give error when trying to validate codes from there. This is to hide these errors

Full error:

Error: expect(received).toBeFalsy()

Received: "ERROR Validation failed for 'http://human-phenotype-ontology.org#HP:0000105' [ Location - Observation.code.coding[0]] [ Location - Line[9] Col[6]]"

Observation/Observation-HepaticCysts-Example.json

Related CodeSystem https://simplifier.net/packages/hl7.terminology.r4/6.1.0/files/2655973/~json

the system is not in the terminology server thus will give error when trying to validate codes from there. This is to hide these errors
Copy link
Contributor

@omarisgreat omarisgreat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryma2fhir, happy with the workaround but in the future we may need to ignore all errors raised by CodeSystems where 'content'='not-present'

Also FYI, HPO is present within the terminology server but it does not use the HL7 approved 'system': https://ontoserver.csiro.au/shrimp/?version=20221005&valueset=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2Fhp.owl%3Fvs

This has been raised with the Terminology team so hopefully will be fixed at some point

@ryma2fhir
Copy link
Contributor Author

@ryma2fhir, happy with the workaround but in the future we may need to ignore all errors raised by CodeSystems where 'content'='not-present'

This will be more difficult and beyond what I can do hapifhir/hapi-fhir#1398

@ryma2fhir ryma2fhir merged commit 8037cff into main Jan 16, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants