Stream: australia
Topic: au base identifier datatype usage
Brian Postlethwaite (Jul 22 2020 at 04:38):
Is this how people are expecting that we will be using the new identifier datatypes in our profiles?
image.png
Something feels wrong here. I think I still need to slice by system/type.
Brian Postlethwaite (Jul 22 2020 at 04:40):
@Brett Esler This is the topic that you were asking in the email right?
Richard Townley-O'Neill (Jul 22 2020 at 04:56):
@Brian Postlethwaite are you looking at http://build.fhir.org/ig/ci-collaborative/au-fhir-base-r4/branches/SRAIG-109-hl7-au-identifier-profiles-determine-how-they-are-implemented-in-profiles-that-use/profiles.html ?
Richard Townley-O'Neill (Jul 22 2020 at 04:56):
There are various ways to use the identifier profiles, slicing by profile is only one of them.
Brian Postlethwaite (Jul 22 2020 at 04:59):
I'm working on another IG for eprescribing, and wanting to try out these identifier datatypes
This is the specific one I'm working on right now.
https://fhir.medicationknowledge.com.au/dev/StructureDefinition-mk-patient.html
Brian Postlethwaite (Jul 22 2020 at 05:02):
It's currently describing all the properties that will come through, just the identifier isn't showing that for the different identifier types.
Danielle Tavares (Jul 22 2020 at 05:13):
You need IG Publisher v1.1.3 for some of the items to come through
Danielle Tavares (Jul 22 2020 at 05:15):
The concern I have around slicing identifiers in AU Base is two fold: if an implementation just wants to use system than we've made it really hard to derive and then restrict to system if the AU Base discriminator is wider than the implementation wants... which is the case for SRA
Danielle Tavares (Jul 22 2020 at 05:15):
The other concern is that system and type work badly with the data type profiles that don't have a fixed system like MRN
Danielle Tavares (Jul 22 2020 at 05:16):
The third issue is that if we want to use type then making the call on using pattern vs fixed happens at AU Base and is another conformance restriction imposed by AU Base. So I'm not a fan of predefining these conformance mechanisms in AU Base.
Danielle Tavares (Jul 22 2020 at 05:17):
I think AU Base should allow for you to include via slicing the profiles you are interested in using your chosen discriminator but not force everyone to use that same choice
Brian Postlethwaite (Jul 22 2020 at 05:21):
For the projects I'm working on, we won't be deriving from the au-base-patient, but we will be compliant with it.
And was hoping to leverage these identifier datatype profiles to ensure that we are.
Brian Postlethwaite (Jul 22 2020 at 05:24):
As we will only support 3 of the patient identifier types, deriving from the au base will mean I need to then close it and remove them which seems strange.
Brian Postlethwaite (Jul 22 2020 at 05:25):
Your concern on type and system I completely understand, and I think is one of the really tough points in slicing identifiers in FHIR, I've never been really happy in how that works.
Brian Postlethwaite (Jul 22 2020 at 05:26):
Works really well and easily for DVI, IHI, MC, but then falls in a heap when you need to add in MRN, where that is a common type, not system value.
Danielle Tavares (Jul 22 2020 at 05:31):
I'm not sure why the profiles aren't coming through, the slicing on profile with $this in that build was an experiment but there is another set that show something similar to what you've described here so it should be working: http://build.fhir.org/ig/ci-collaborative/au-fhir-base-r4/branches/SRAIG-109-hl7-au-identifier-profiles-determine-how-they-are-implemented-in-profiles-that-use/StructureDefinition-patient-guidance-ihi-med.html
Ronald Dendere (Mar 10 2021 at 01:52):
I am facing a somewhat similar problem. I am profiling the AU Base Patient and I want my patient profile to have a medicare number as an identifier. Trying to figure out how to achieve that in FSH. Do I have to slice the identifier in my profile?
Richard Townley-O'Neill (Mar 10 2021 at 02:01):
@Ronald Dendere
Yes. Slice the identifier. Something similar for Organization is
<element id="Organization.identifier">
<path value="Organization.identifier"/>
<slicing>
<discriminator>
<type value="value"/>
<path value="system"/>
</discriminator>
<rules value="open"/>
</slicing>
<mustSupport value="true"/>
</element>
<element id="Organization.identifier:hpio">
<path value="Organization.identifier"/>
<sliceName value="hpio"/>
<max value="1"/>
<type>
<code value="Identifier"/>
<profile value="http://hl7.org.au/fhir/StructureDefinition/au-hpio"/>
</type>
<mustSupport value="true"/>
</element>
<element id="Organization.identifier:abn">
<path value="Organization.identifier"/>
<sliceName value="abn"/>
<min value="0"/>
<max value="1"/>
<type>
<code value="Identifier"/>
<profile
value="http://hl7.org.au/fhir/StructureDefinition/au-australianbusinessnumber"/>
</type>
<mustSupport value="true"/>
</element>
Richard Townley-O'Neill (Mar 10 2021 at 02:01):
I haven't started fishing yet.
Shovan Roy (Mar 10 2021 at 02:23):
I used this for our patient profile:
- identifier ^slicing.discriminator[0].type = #pattern
- identifier ^slicing.discriminator[0].path = "type"
- identifier ^slicing.discriminator[1].type = #value
- identifier ^slicing.discriminator[1].path = "system"
- identifier ^slicing.rules = #open
- identifier ^slicing.ordered = false
- identifier ^slicing.description = "Slice based on the identifer profile"
-
identifier contains
identifierIHI 1..1 and
identifierMRN 0..* -
identifier[identifierIHI] only AUIHI
- identifier[identifierMRN] only AUMedicalRecordNumber
- address only AustralianAddress
Ronald Dendere (Mar 10 2021 at 04:32):
@Richard Townley-O'Neill and @Shovan Roy
Thank you both. Up to now I have only sliced on value-system and I could not figure out how to slice on both value-system and pattern-type using FSH. All good now :)
Last updated: Apr 12 2022 at 19:14 UTC