FHIR Chat · Organization: org-2 and org-3 not firing · conformance

Stream: conformance

Topic: Organization: org-2 and org-3 not firing


view this post on Zulip Rob Eastwood (Nov 28 2019 at 05:25):

I have created a couple of simple Organization examples and noticed that the resource invariants org-2 ("An address of an organization can never be of use 'home'") and org-3 ("The telecom of an organization can never be of use 'home'") are not being triggered when I would expect them to be.

The 2 examples are:

<?xml version="1.0" encoding="UTF-8"?>
<Organization xmlns="http://hl7.org/fhir">
    <id value="organization.org-2.fail-1"/>
    <name value="Test organization"/>
    <address>
        <use value="home"/>
        <text value="Org address"/>
    </address>
</Organization>

and

<?xml version="1.0" encoding="UTF-8"?>
<Organization xmlns="http://hl7.org/fhir">
    <id value="organization.org-3.fail-1"/>
    <name value="Test organization"/>
    <telecom>
        <system value="phone"/>
        <value value="9999999"/>
        <use value="home"/>
    </telecom>
</Organization>

The QA report (using IG Publisher v1.0.3-SNAPSHOT) comes up clean for these 2 examples.
Have I missed something incredibly obvious?
I have searched here in zulip and google more generally and found nothing related.

view this post on Zulip Grahame Grieve (Nov 28 2019 at 19:57):

ouch. this is a big deal

view this post on Zulip Grahame Grieve (Nov 28 2019 at 21:41):

fixed next release. We were not checking invariants on an element with a type.

view this post on Zulip Rob Eastwood (Nov 28 2019 at 22:39):

fixed next release. We were not checking invariants on an element with a type.

Thanks @Grahame Grieve

view this post on Zulip Rob Eastwood (Dec 01 2019 at 23:01):

Following up for closure, so others are aware -
I can confirm that the latest version of the IG publisher (Version 1.0.5-SNAPSHOT - Built 2019-11-30T16:27:02.273+11:00 - Git b0f0e9023beb) does trigger these invariants.
Thanks again @Grahame Grieve, for the prompt attention.


Last updated: Apr 12 2022 at 19:14 UTC