Skip to content

New profile added for lab#6

Merged
michal-ciszewski merged 15 commits into
mainfrom
LAB-637
Sep 19, 2025
Merged

New profile added for lab#6
michal-ciszewski merged 15 commits into
mainfrom
LAB-637

Conversation

@michal-ciszewski

Copy link
Copy Markdown
Contributor
  • lu-OrderData profile based on ServiceRequest added
  • ValueSet Aanvraagstatuscodelijst added
  • ConceptMap to translate values from Aanvraagstatuscodelijst to HL7 Request Status ValueSet
  • adjusted dates in capability statements
  • adjusted versioning of the profiles

…tions, moved mapping for the Comment from ServiceRequest.note to ServiceRequest.note.text, some adjustments to the definitions
@michal-ciszewski michal-ciszewski requested review from DanielPuettmann and removed request for pieter-edelman-nictiz September 17, 2025 09:10

@DanielPuettmann DanielPuettmann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can answer my questions (and change that one canonical), you are good to go!

<format value="xml"/>
<format value="json"/>
<format value="application/xml"/>
<format value="application/json"/>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add the application/ and why not expand to application/fhir+xml or application/fhir+xml?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I had problems with the validator here over this issue. I tried fhir+xml at some point, and it didn't work. I'm gonna try it again now that the validator is updated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed and works now

<code value="11502-2"/>
<display value="Laboratory Report" />
</fixedCoding>
</patternCoding>

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this always a Laboratory Report? Why change this into a patternCoding when a different code would change the meaning of the resource? see: https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4#Values_that_should_be_present_verbatim

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think based on that specific chapter it should be pattern, since Coding is a complex datatype. I made coding.system required to follow the guideline.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think putting the code on .fixed rather than .pattern hinges on whether:

  1. You expect users to use a different LOINC code to show that their FHIR instance is a laboratory report.
  2. You can accept that you will not be able to identify these FHIR instances by their coding.

If you these two things are okay for you, you should go ahead with the profile as-is! 👍

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand that perspective. From that point of view, I would definitely prefer to have fixedCoding, but I do have to take into account our general approach to profiling: the profiled value is a minimum expectation and other additional values are still allowed. I do see it as a compromise: we cannot be too restrictive (making it a bit less handy), but at least that one specific LOINC code 11502-2 has to be one of the codes in any FHIR instance.

Comment thread Resources/lu-OrderData.xml Outdated
<alias value="Vraagstelling" />
<binding>
<strength value="required" />
<valueSet value="https://decor.nictiz.nl/fhir/4.0/zib2020bbr-/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.7--20200901000000?_format=json" />

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove ?_format=json here

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

…Statements and reversing to fixedCoding in lu-Composition (based on review van Daniel)
…nally constraining cardinality of coding.system.

@DanielPuettmann DanielPuettmann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can answer my questions (and change that one canonical), you are good to go!

@wattien wattien left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go

@michal-ciszewski michal-ciszewski merged commit c32077b into main Sep 19, 2025
2 checks passed
@michal-ciszewski michal-ciszewski deleted the LAB-637 branch September 19, 2025 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants