Stream: IG creation
Topic: codesystem-property parameter usage
Giorgio Cangioli (Feb 28 2020 at 08:04):
is anywhere any example on how this parameter "codesystem-property" should be used ?
Giorgio Cangioli (Feb 28 2020 at 15:01):
(resolved :-) )
Giorgio Cangioli (Feb 29 2020 at 09:39):
the rendering is fine, but the following error is shown in the QA
"CodeSystem/istat-unitaTerritorialiEstero: CodeSystem.property[0] error The extension http://hl7.org/fhir/StructureDefinition/rendered-value is not allowed to be used at this point (allowed = e:Identifier.value, e:date, e:dateTime, e:time, e:instant, e:integer, e:decimal, e:string, e:code, e:canonical; this element is [[CodeSystem.property, BackboneElement])"
Giorgio Cangioli (Feb 29 2020 at 09:41):
This is the kind of fragment I used:
<property> <extension url="http://hl7.org/fhir/StructureDefinition/rendered-value"> <valueString value="Codice Ministeriale"/> </extension> <code value="codice-MIN"/> <uri value="http://terminology.hl7.it/CodeSystem/istat-unitaTerritorialiEstero#codice-MIN"/> <description value="Codice identificativo dello Stato/Territorio rilasciato dal Ministero dell'Interno ai fini dell'Anagrafe Nazionale della Popolazione Residente (ANPR) - 2019- Ministero dell'Interno"/> <type value="code"/> </property>
Giorgio Cangioli (Feb 29 2020 at 09:41):
suggestions ?
Grahame Grieve (Feb 29 2020 at 11:01):
hmm. @Lloyd McKenzie is there a reason why the rendered value has such a limited context?
Lloyd McKenzie (Feb 29 2020 at 15:09):
It's not very limited - it's almost every simple type we have. The extension should appear on either the property code or the URI. The purpose is to expose a single value, not a complex type.
Giorgio Cangioli (Feb 29 2020 at 15:40):
if used within the property.code the error disappear, but it is not rendered anymore...
Lloyd McKenzie (Feb 29 2020 at 15:57):
I'm surprised that the publishing code renders it when it appears anywhere...
Grahame Grieve (Feb 29 2020 at 20:19):
I'm using it to indicate the rendered name for the property when rendering the code system. Why is it wrong to give a rendered value to a complex type? It seems like an applicable concept to me
Grahame Grieve (Mar 03 2020 at 05:05):
back to this @Giorgio Cangioli , this is what it should look like:
<property> <code value="codice-MIN"> <extension url="http://hl7.org/fhir/StructureDefinition/rendered-value"> <valueString value="Codice Ministeriale"/> </extension> </code> <uri value="http://terminology.hl7.it/CodeSystem/istat-unitaTerritorialiEstero#codice-MIN"/> <description value="..."/> <type value="code"/> </property>
Giorgio Cangioli (Mar 03 2020 at 08:12):
Hi @Grahame Grieve is this change already effective in the IG publisher ?
I made this change: I've no more errors , but properties are not rendered.
Grahame Grieve (Mar 03 2020 at 09:16):
that should work - commit, and I'll have a lookt
Giorgio Cangioli (Mar 03 2020 at 11:27):
mmhh... this the IG Publisher Version: v1.0.68-SNAPSHOT I'm using (just downloaded) and this the fragment
<property> <code value="codice-MIN"> <extension url="http://hl7.org/fhir/StructureDefinition/rendered-value"> <valueString value="Codice Ministeriale"/> </extension> </code> <uri value="http://terminology.hl7.it/CodeSystem/istat-unitaTerritorialiEstero#codice-MIN"/> <description value="Codice identificativo ..."/> <type value="code"/> </property>
but no properties are rendered
Grahame Grieve (Mar 03 2020 at 12:35):
where can I reproduce this?
Giorgio Cangioli (Mar 03 2020 at 14:12):
result in
http://www.hl7.it/fhir/sandbox/site/CodeSystem-istat-unitaTerritorialiEstero.html
Grahame Grieve (Mar 04 2020 at 00:14):
ok fixed next release
Last updated: Apr 12 2022 at 19:14 UTC