FHIR Chat · Profile based on a profile · committers

Stream: committers

Topic: Profile based on a profile


view this post on Zulip Bryn Rhodes (Apr 21 2017 at 05:04):

I thought there was a topic on this already, but I can't find it. I know it's valid to define profiles as based on another profile, but when I try to do so in the IG using the spreadsheet's "Type" column, the StructureDefinition that is output still has the type and baseDefinition elements set to the underlying resource, not the profile I'm targeting. Is this supposed to work in the IG Publisher?

view this post on Zulip Grahame Grieve (Apr 21 2017 at 06:44):

yes it's supposed to work. Where is this?

view this post on Zulip Eric Haas (Apr 21 2017 at 07:58):

I've tried and doesn't work for me either. used to work with just{http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient} and I tried
Patient {http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient} too.

See here

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 17:06):

Right, same behavior for me. This is in the QI Core IG, where we're trying to base the QI Core profiles on the corresponding US Core profiles.

view this post on Zulip Grahame Grieve (Apr 21 2017 at 20:48):

which profile should I look at?

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 20:51):

Just committed the patient profile that I've been trying to get to work: https://github.com/cqframework/qi-core/blob/master/resources/patient-profile-spreadsheet.xml

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 20:52):

It builds locally (we're not sure why it won't build remotely, but that's a different issue).

view this post on Zulip Grahame Grieve (Apr 21 2017 at 20:55):

won't build for me because you are using AdverseEvent.category which does not exist

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:01):

in fact, generally, the QICore Adverse Event profile is in deep disagreement with the FHIR Adverse Event

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:03):

Well, it used to be a profile of Basic because there was no AdverseEvent resource, but we are working to align it.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:04):

But when I look at AdverseEvent it does have a category?

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:04):

http://hl7.org/fhir/adverseevent.html

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:04):

so in the meantime, should you drop it from the ig, since it won't build?

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:04):

It builds for me though :(

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:04):

but how? Are you using a very old IG publisher?

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:05):

Ah, AdverseEvent doesn't have a category in the current build, but it does in 3.0.0.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:05):

We need to be based on 3.0.0 though.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:05):

Well, 3.0.1.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:06):

And the publisher we are using is from the downloads, but I'll copy a fresh one just to be certain.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:06):

Downloads from the 3.0.1, though, right?

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:07):

damn

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:07):

well, we're basically broken for now. I have to do about a days work to get sort this out

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:08):

I haven't separated the versions of build and STU3

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:08):

Sorry :( Anything I can do to help?

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:08):

well, we can drop AdverseEvent from the IG until I sort that out - will try and do it over the weekend

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:09):

Okay, I'll pull that out.

view this post on Zulip Bryn Rhodes (Apr 21 2017 at 21:45):

Removed AdverseEvent (and FamilyMemberHistory, started getting a differential snapshot error with the latest publisher jar?)

view this post on Zulip Grahame Grieve (Apr 21 2017 at 21:45):

ok. I'll investigate the profile on profile issue

view this post on Zulip Eric Haas (Apr 21 2017 at 22:46):

Meanwhile.... can look at mine See here


Last updated: Apr 12 2022 at 19:14 UTC