mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-03 01:49:10 +00:00
fix json parsing of CDA
This commit is contained in:
parent
33bd589fd7
commit
5f9b169261
@ -220,7 +220,7 @@ public abstract class ParserBase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (StructureDefinition sd : context.fetchResourcesByType(StructureDefinition.class)) {
|
for (StructureDefinition sd : context.fetchResourcesByType(StructureDefinition.class)) {
|
||||||
if (name.equals(sd.getType()) && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION) {
|
if (name.equals(sd.getTypeName()) && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION) {
|
||||||
new ContextUtilities(context).generateSnapshot(sd);
|
new ContextUtilities(context).generateSnapshot(sd);
|
||||||
return sd;
|
return sd;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user