FHIR Chat · Title and Description of Instances · shorthand

Stream: shorthand

Topic: Title and Description of Instances


view this post on Zulip Elliot Silver (Dec 10 2020 at 22:21):

It appears that the "Title" and "Description" declarations for an Instance is being ignored. Those elements only show up if I remove the comments in the definition below.

Instance: PractitionerInstance
InstanceOf: StructureDefinition
Description: "Instance-based Definition of Practitioner profile"
Title: "practitioner-instance"
Usage: #definition

* status = #active
* name = "practitioner-instance"
//* description = "Instance-based Definition of Practitioner profile"
//* title = "practitioner-instance"
* url = "http://openhie.github.io/covid-19/StructureDefinition/PractitionerInstance"
* kind = #resource
* abstract = false
* type = "Practitioner"
* baseDefinition = "http://hl7.org/fhir/StructureDefinition/Practitioner"
* derivation = #constraint

* differential.element[0].id = "Practitioner"
* differential.element[0].path = "Practitioner"

* differential.element[1].id = "Practitioner.name"
* differential.element[1].path = "Practitioner.name"
* differential.element[1].min = 1
* differential.element[1].max = "1"

view this post on Zulip Chris Moesel (Dec 10 2020 at 22:54):

This is kind of intentional? Since the target of InstanceOf can be anything, there's no guarantee that whatever it is has a place to put title and description. So, for instances, the Title: and Description: keywords are currently only used when generating the resource list in the IG. That said, maybe it makes sense that if the InstanceOf: is a conformance or terminology resource that the Title: and Description: should be applied? I'd buy that.

view this post on Zulip Elliot Silver (Dec 10 2020 at 22:58):

OK, makes sense. Either leaving it or changing it works for me, it should just be documented and predictable.


Last updated: Apr 12 2022 at 19:14 UTC