Remove Contributor Datatype

This commit is contained in:
Grahame Grieve 2022-09-03 08:06:21 +10:00
parent f366962f51
commit d8b7e587a3
2 changed files with 1 additions and 2 deletions

View File

@ -5365,7 +5365,7 @@ public class ProfileUtilities extends TranslatingUtilities {
StructureDefinition sd = context.fetchTypeDefinition(value);
if (sd == null) // might be running before all SDs are available
return Utilities.existsInList(value, "Address", "Age", "Annotation", "Attachment", "CodeableConcept", "Coding", "ContactPoint", "Count", "Distance", "Duration", "HumanName", "Identifier", "Money", "Period", "Quantity", "Range", "Ratio", "Reference", "SampledData", "Signature", "Timing",
"ContactDetail", "Contributor", "DataRequirement", "Expression", "ParameterDefinition", "RelatedArtifact", "TriggerDefinition", "UsageContext");
"ContactDetail", "DataRequirement", "Expression", "ParameterDefinition", "RelatedArtifact", "TriggerDefinition", "UsageContext");
else
return sd.getKind() == StructureDefinitionKind.COMPLEXTYPE && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION;
}

View File

@ -153,7 +153,6 @@ public class TypesUtilities {
// metadata types
res.add(new WildcardInformation("ContactDetail", TypeClassification.METADATATYPE));
res.add(new WildcardInformation("Contributor", TypeClassification.METADATATYPE));
res.add(new WildcardInformation("DataRequirement", TypeClassification.METADATATYPE));
res.add(new WildcardInformation("Expression", TypeClassification.METADATATYPE));
res.add(new WildcardInformation("ParameterDefinition", TypeClassification.METADATATYPE));