Stream: implementers
Topic: Profiles: restricting Codes via a ValueSet
Kevin Mayfield (Nov 19 2019 at 20:41):
I'm getting errors using HAPU 4.1 validator on where a Code has had a ValueSet set in a profile. E.g. in this profile
https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1
Patient.name.use has a ValueSet and also Patient.gender had a ValueSet
I'm not sure what the purpose of these ValueSets are, I can't see why they been added (they don't appear to restrict the CodeSystem in any way).
Is doing this valid? (Presume you would do this to restrict what codes can be used).
Grahame Grieve (Nov 20 2019 at 04:51):
it's valid. it does like unnecessary overhead though
Kevin Mayfield (Nov 20 2019 at 08:49):
Slightly off topic.
To use the HL7 validator in uk domain you need an IG and populated terminology server. That's roughly what I do behind the scenes for this app. https://fhir.airelogic.com/editor
Without an IG, is it possible to supply a jar or zip with conformance resources.
Grahame Grieve (Nov 20 2019 at 09:10):
sure. just use -ig and point to file or directory that contains the resources
Last updated: Apr 12 2022 at 19:14 UTC