FHIR Chat · new must support extension issue · IG creation

Stream: IG creation

Topic: new must support extension issue


view this post on Zulip Eric Haas (Nov 20 2020 at 18:35):

Must support not properly showing on practitioner and organization in two places (extension is in Structured Definition properly):

there are 2 elements that should be marked as MS but only one is being rendered in the differential view:;

https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-diagnosticreport-note.html

image.png

https://build.fhir.org/ig/HL7/US-Core/StructureDefinition-us-core-provenance.html

image.png


Here is the relevant source snippet for provenance - note the extension has valueBoolean = true for the first two profiles and false for the rest...

( source files are here: https://github.com/HL7/US-Core/ )

       {
        "id": "Provenance.agent.who",
        "path": "Provenance.agent.who",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/Device"
            ],
            "_targetProfile": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  }
                ]
              }
            ]
          }

view this post on Zulip Grahame Grieve (Nov 23 2020 at 23:40):

@Eric Haas this is an error in the source.

view this post on Zulip Grahame Grieve (Nov 23 2020 at 23:40):

you have

        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
            ],
            "_targetProfile": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  },
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  }
                ]
              }
            ]
          }
        ],

view this post on Zulip Grahame Grieve (Nov 23 2020 at 23:40):

it should be

view this post on Zulip Grahame Grieve (Nov 23 2020 at 23:41):

        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole",
              "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam"
            ],
            "_targetProfile": [
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  }
                ]
              }, {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": true
                  }
                ]
              }, {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  }
                ]
              }, {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support",
                    "valueBoolean": false
                  }
                ]
              }
            ]
          }
        ],

Last updated: Apr 12 2022 at 19:14 UTC