Stream: IG creation
Topic: US Core issue : bad base error on SP
Eric Haas (Jul 21 2020 at 21:47):
I have these three errors:
/scratch/ig-build-temp-30S909/repo/source/resources/searchparameter-us-core-documentreference-id.json The base DocumentReference is not listed as a base in the derivedFrom SearchParameter
/scratch/ig-build-temp-30S909/repo/source/resources/searchparameter-us-core-encounter-id.json The base Encounter is not listed as a base in the derivedFrom SearchParameter
/scratch/ig-build-temp-30S909/repo/source/resources/searchparameter-us-core-patient-id.json The base Patient is not listed as a base in the derivedFrom SearchParameter
Is enumerating an individual type not a valid for base when the derived SP base is "Resource" (all types) ?
here is the SP from which it is derived.
{
"fullUrl" : "http://hl7.org/fhir/SearchParameter/Resource-id",
"resource" : {
"resourceType" : "SearchParameter",
"id" : "Resource-id",
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/SearchParameter/Resource-id",
"version" : "4.0.1",
"name" : "_id",
"status" : "draft",
"experimental" : false,
"date" : "2019-11-01T09:29:23+11:00",
"publisher" : "Health Level Seven International (FHIR Infrastructure)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
}]
},
{
"telecom" : [{
"system" : "url",
"value" : "http://www.hl7.org/Special/committees/fiwg/index.cfm"
}]
}],
"description" : "Logical id of this artifact",
"code" : "_id",
"base" : ["Resource"],
"type" : "token",
"expression" : "Resource.id",
"xpath" : "f:Resource/f:id",
"xpathUsage" : "normal"
}
Grahame Grieve (Jul 21 2020 at 22:09):
oops forgot to allow for that case. Fixed next release
Eric Haas (Jul 21 2020 at 22:21):
thanks
Last updated: Apr 12 2022 at 19:14 UTC