Skip to content

Commit

Permalink
Updated invariant
Browse files Browse the repository at this point in the history
  • Loading branch information
tmsMedcom committed Jun 28, 2024
1 parent e3289da commit c639f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input/fsh/MedComCareCommunicationMessage.fsh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ Severity: #error
Expression: "entry.where(resource.is(Patient)).count() = 1"

Invariant: medcom-careCommunication-3
Description: "All Provenance resources shall conform to medcom-careCommunication-provenance profile"
Description: "All Provenance resources shall be of the type medcom-careCommunication-provenance profile"
Severity: #error
Expression: "entry.resource.ofType(Provenance).conformsTo('http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance').allTrue()"
Expression: "entry.resource.ofType(Provenance).where(meta.profile = 'http://medcomfhir.dk/ig/carecommunication/StructureDefinition/medcom-careCommunication-provenance').exists()"

Invariant: medcom-careCommunication-4
Description: "There shall exist a practitioner given and family name when using a PractitionerRole."
Expand Down

0 comments on commit c639f4a

Please sign in to comment.