Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: reference MS #133

Merged
merged 5 commits into from
Oct 30, 2023
Merged

Conversation

f-peverali
Copy link
Contributor

@f-peverali f-peverali commented Oct 12, 2023

Description

Added Reference.reference as 1.. and MS to Slot. This element must be used when referencing

Motivation and Context

Reference-mode should be constrained
PTData-495 see 2)

How has this been tested?

compilation was tested locally

Snippets or Screenshots (if necessary):

Types of changes

  • [#] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • I have already updated the documentation / narrative (intend) accordingly.

TODO

  • possibly a Breaking Change evaluate before merging
  • If not a Breaking Change, please merge to TC-3.0.1

@f-peverali f-peverali marked this pull request as draft October 12, 2023 13:25
relative und absolute URLs
@MaxMTheilig MaxMTheilig marked this pull request as ready for review October 13, 2023 13:07
@MaxMTheilig MaxMTheilig requested review from MaxMTheilig and removed request for MaxMTheilig October 13, 2023 13:07
@@ -19,6 +19,8 @@ Id: ISiKTermin
* start 1..1 MS
* end 1..1 MS
* slot 0..* MS
* reference 1.. MS
* slot ^comment = "Zur Referenzierung auf eine Slot-Ressource MUSS eine Reference.reference mit einer URL verwendet werden. Bei verteilten Systemen sollten absolute URLs benutzt werden. Auf dem gleichen Host sind auch kürzere, relative URLs zulässig." //Zur Begründung: verschiedene Referenzierungs-Arten (z.B. mit Business-Identifiern) sind ggf. nicht interoperabel
Copy link
Contributor

Choose a reason for hiding this comment

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

Das Termin-Repository muss so gestaltet sein, dass aus Perspektive des Clients es nur eine Service-BaseUrl gibt. Im Falle eines verteilten Systems muss das Termin-Repository diese Komplexität verstecken und alles intern weiterleiten.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ist das dein Vorschlag für den Comment zum .slot? ... ich würde zumindest den Satz "Zur Referenzierung auf eine Slot-Ressource MUSS eine Reference.reference mit einer URL verwendet werden." vorangestellt stehenlassen... oder?

Copy link
Contributor

Choose a reason for hiding this comment

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

Nein, kein Vorschlag nur eine Erläuterung. Ja, "Zur Referenzierung auf eine Slot-Ressource MUSS eine Reference.reference mit einer URL verwendet werden." können wir gern übernehmen.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Vorschlag zur Umsetzung des Kommentars "Zur Referenzierung auf eine Slot-Ressource MUSS eine Reference.reference mit einer URL verwendet werden. Das Termin-Repository muss so gestaltet sein, dass es aus Perspektive des Clients nur eine Service-BaseUrl gibt."

@@ -19,6 +19,8 @@ Id: ISiKTermin
* start 1..1 MS
* end 1..1 MS
* slot 0..* MS
* reference 1.. MS
Copy link
Contributor

Choose a reason for hiding this comment

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

Das gleiche bitte auch noch einmal für Slot.schedule

@f-peverali f-peverali marked this pull request as draft October 23, 2023 13:59
@f-peverali f-peverali changed the base branch from main-Stufe-3 to TC_3.0.1 October 23, 2023 14:00
@f-peverali
Copy link
Contributor Author

f-peverali commented Oct 24, 2023

Für das TC spricht, dass der TExtuelle Teil als MUSS-Anforderung dies impliziert. D.h. es wird nur im Profil technisch corrected ... TC!

@alexzautke
Copy link
Contributor

@f-peverali Ich würde vorschlagen den PR zu aufzusetzen, sodass nur die Änderung die wir haben wollen im PR drin sind. Die Änderungen sehen ansonsten gut aus.

@f-peverali f-peverali changed the base branch from TC_3.0.1 to main-Stufe-3 October 30, 2023 12:33
@f-peverali f-peverali changed the base branch from main-Stufe-3 to TC_3.0.1 October 30, 2023 12:38
@f-peverali
Copy link
Contributor Author

f-peverali commented Oct 30, 2023

@f-peverali Ich würde vorschlagen den PR zu aufzusetzen, sodass nur die Änderung die wir haben wollen im PR drin sind. Die Änderungen sehen ansonsten gut aus.

was wäre hier ein eleganter weg mit git? Ggf. erstmal TC_3.0.1 schließen und dann noch diesen PR direkt in den main-Stufe-3

@alexzautke
Copy link
Contributor

Ich glaube mit einem git rebase sollte sich das machen lassen

@MaxMTheilig MaxMTheilig changed the base branch from TC_3.0.1 to main-Stufe-3 October 30, 2023 13:13
@MaxMTheilig MaxMTheilig merged commit 58b5d0a into main-Stufe-3 Oct 30, 2023
@MaxMTheilig MaxMTheilig deleted the feature/reference-URL-Stufe-3 branch October 30, 2023 13:18
MaxMTheilig added a commit that referenced this pull request Nov 6, 2023
URLs update

reference now MS
* Update ISiKTermin.fsh: update Appointment.slot  reference
* Update ISiKTerminBlock.fsh: update Slot.schedule reference

---------

Co-authored-by: Max Theilig <max.theilig@gematik.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants