Comments (2)
This is not limited to just an Encounter
I did the same thing as above but used this Observation-example.xml as the input xml and I got a similar error:
org.hl7.fhir.exceptions.FHIRException: Exception executing transform tgt.encounter = create() as vvv on Rule "context": Attempt to get types for an invalid property 'encounter' on type Observation at org.hl7.fhir.r5.utils.StructureMapUtilities.runTransform(StructureMapUtilities.java:1969) at org.hl7.fhir.r5.utils.StructureMapUtilities.processTarget(StructureMapUtilities.java:1840) at org.hl7.fhir.r5.utils.StructureMapUtilities.executeRule(StructureMapUtilities.java:1427) at org.hl7.fhir.r5.utils.StructureMapUtilities.executeGroup(StructureMapUtilities.java:1414) at org.hl7.fhir.r5.utils.StructureMapUtilities.transform(StructureMapUtilities.java:1376) at org.hl7.fhir.validation.ValidationEngine.transformVersion(ValidationEngine.java:1822) at org.hl7.fhir.validation.cli.services.ValidationService.transformVersion(ValidationService.java:169) at org.hl7.fhir.validation.Validator.main(Validator.java:179) Caused by: org.hl7.fhir.exceptions.FHIRException: Attempt to get types for an invalid property 'encounter' on type Observation at org.hl7.fhir.r5.model.Base.getTypesForProperty(Base.java:312) at org.hl7.fhir.r5.elementmodel.Element.getTypesForProperty(Element.java:717) at org.hl7.fhir.r5.utils.StructureMapUtilities.runTransform(StructureMapUtilities.java:1865) ... 7 more
If you look at the Observation R3 to R4 conversions you see that src.context -> tgt.encounter
showing that the names change between the versions. The same is true when we look at the Encounter R3 to R4 conversions and see that src.reason -> tgt.reasonCode
. There seems to be an issue converting any element within a resource that has a name change from R3 to R4
from org.hl7.fhir.core.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.
from org.hl7.fhir.core.
Related Issues (20)
- Validator - Unable to resolve cross-version extension in slicing logic
- CLI Validator | Resolving of external profile urls not working HOT 2
- OSGI metadata of org.hl7.fhir.utilities introduces hard junit dependency HOT 22
- validator_cli confused about binding strength, causing unwarranted validation failures HOT 3
- Insecure Transformer used in XmlParsers HOT 1
- Suppress choice group element 'item' from being generated in CDA instances HOT 1
- hl7.fhir.cda package cannot be found
- checkToSeeIfSlicingExists - error while reprofiling a profile in the same IG inheriting from another IG where slices are defined
- required VS-bindings in slices are not recognized by the validator
- I18n Project for WHO HOT 1
- root cardinality of extension not taken into account
- Validator based on a directory does not check local file in profile based slices HOT 1
- Errors splitting canonical in URL and version HOT 11
- Request CDA namespace prefix be added to support Australian CDA transformations
- SNOWMED - oops
- Error element [path] launches straight into slicing without the slicing being set up properly first
- Error Index -1 out of bounds for length 0 in derived profiles where base profile has sliced value[x] element on type
- Cannot resolve plugin org.sonatype.plugins:nexus-staging-maven-plugin:<unknown>
- Concurrency issues with package cache in validator HOT 3
- Support for fhirpath evaluation
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.