<?xml version="1.0" encoding="UTF-8"?>

<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="Visit"/>
  <language value="en"/>
  <text>
    <status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition Visit</b></p><table border="0" cellpadding="0" cellspacing="0" class="xhtTableBorder0"><tr class="xhtRowBorder1"><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th scope="col" style="; width: 100px" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-Visit-definitions.html#Visit" title="2, Patient">Visit</a><a name="Visit"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0"><span class="xhtPieceDeEmphasized">0</span><span class="xhtPieceDeEmphasized">..</span><span class="xhtPieceDeEmphasized">*</span></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="" class="hierarchy xhtCellBorder0"><span class="xhtPieceBold">XML Namespace: </span>noNamespace<br/>CH ALIS Leistungsschnittstelle - Visit</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.visitNumber" title="2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch">visitNumber</a><a name="Visit.visitNumber"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch<br/><span class="xhtPieceBold">XML Element Name: </span>VisitNumber</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.patientID" title="2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional">patientID</a><a name="Visit.patientID"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>PatientID</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.patientName" title="2.3, Patient.Name, 50 Zeichen, Name, Optional">patientName</a><a name="Visit.patientName"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">2.3, Patient.Name, 50 Zeichen, Name, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>PatientName</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.patientGivenName" title="2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional">patientGivenName</a><a name="Visit.patientGivenName"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>PatientGivenName</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.patientBirthDate" title="2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional">patientBirthDate</a><a name="Visit.patientBirthDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Date.html">Date</a></td><td style="" class="hierarchy xhtCellBorder0">2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>PatientBirthDate</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.patientGender" title="2.6, Patient Geschlecht, 1 Zeichen, Geschlecht, Optional M,F">patientGender</a><a name="Visit.patientGender"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">M|F<br/><span class="xhtPieceBold">XML Element Name: </span>PatientGender</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.terminationVisit" title="2.7, Fall Abschluss, XML-Format date, Optional">terminationVisit</a><a name="Visit.terminationVisit"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Date.html">Date</a></td><td style="" class="hierarchy xhtCellBorder0">2.7, Fall Abschluss, XML-Format date, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>TerminationVisit</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck10.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: white; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.terminationReason" title="2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional">terminationReason</a><a name="Visit.terminationReason"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Text.html">Text</a></td><td style="" class="hierarchy xhtCellBorder0">2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional<br/><span class="xhtPieceBold">XML Element Name: </span>TerminationReason</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck00.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_resource.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">Visit.</span><a href="StructureDefinition-Visit-definitions.html#Visit.service" title="3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N">service</a><a name="Visit.service"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="StructureDefinition-Service.html">Service</a></td><td style="" class="hierarchy xhtCellBorder0">3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N<br/><span class="xhtPieceBold">XML Element Name: </span>Service<br/></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-namespace">
    <valueUri value="noNamespace"/>
  </extension>
  <url value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Visit"/>
  <version value="1.0.0-ballot"/>
  <name value="ChAlisLeistungsschnittstelleVisit"/>
  <title value="CH ALIS Leistungsschnittstelle - Visit"/>
  <status value="active"/>
  <date value="2026-10-17T12:32:32+00:00"/>
  <publisher value="ALIS-Connect"/>
  <contact>
    <name value="ALIS-Connect"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.alis-connect.ch/"/>
    </telecom>
  </contact>
  <description value="This logical model describes the Visit of 'Leistungsschnittstelle ALIS Version 5.1'."/>
  <jurisdiction>
    <coding>
      <system value="urn:iso:std:iso:3166"/>
      <code value="CH"/>
    </coding>
  </jurisdiction>
  <copyright value="CC0-1.0"/>
  <fhirVersion value="4.0.1"/>
  <kind value="logical"/>
  <abstract value="false"/>
  <type value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Visit"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <extension url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="4.0.1"/>
    </extension>
    <element id="Visit">
      <path value="Visit"/>
      <short value="CH ALIS Leistungsschnittstelle - Visit"/>
      <definition value="2, Patient"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="Visit.visitNumber">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="VisitNumber"/>
      </extension>
      <path value="Visit.visitNumber"/>
      <short value="2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch"/>
      <definition value="2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="Visit.visitNumber"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientID">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientID"/>
      </extension>
      <path value="Visit.patientID"/>
      <short value="2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional"/>
      <definition value="2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.patientID"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientName">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientName"/>
      </extension>
      <path value="Visit.patientName"/>
      <short value="2.3, Patient.Name, 50 Zeichen, Name, Optional"/>
      <definition value="2.3, Patient.Name, 50 Zeichen, Name, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.patientName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientGivenName">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientGivenName"/>
      </extension>
      <path value="Visit.patientGivenName"/>
      <short value="2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional"/>
      <definition value="2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.patientGivenName"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientBirthDate">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientBirthDate"/>
      </extension>
      <path value="Visit.patientBirthDate"/>
      <short value="2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional"/>
      <definition value="2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.patientBirthDate"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Date"/>
      </type>
    </element>
    <element id="Visit.patientGender">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientGender"/>
      </extension>
      <path value="Visit.patientGender"/>
      <short value="M|F"/>
      <definition value="2.6, Patient Geschlecht, 1 Zeichen, Geschlecht, Optional M,F"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.patientGender"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.terminationVisit">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="TerminationVisit"/>
      </extension>
      <path value="Visit.terminationVisit"/>
      <short value="2.7, Fall Abschluss, XML-Format date, Optional"/>
      <definition value="2.7, Fall Abschluss, XML-Format date, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.terminationVisit"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Date"/>
      </type>
    </element>
    <element id="Visit.terminationReason">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="TerminationReason"/>
      </extension>
      <path value="Visit.terminationReason"/>
      <short value="2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional"/>
      <definition value="2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Visit.terminationReason"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.service">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="Service"/>
      </extension>
      <path value="Visit.service"/>
      <short value="3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N"/>
      <definition value="3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N"/>
      <min value="1"/>
      <max value="*"/>
      <base>
        <path value="Visit.service"/>
        <min value="1"/>
        <max value="*"/>
      </base>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Service"/>
      </type>
    </element>
  </snapshot>
  <differential>
    <element id="Visit">
      <path value="Visit"/>
      <short value="CH ALIS Leistungsschnittstelle - Visit"/>
      <definition value="2, Patient"/>
    </element>
    <element id="Visit.visitNumber">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="VisitNumber"/>
      </extension>
      <path value="Visit.visitNumber"/>
      <short value="2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch"/>
      <definition value="2.1, Fall, Alphanum. Max. 40 Zeichen, FID = eindeutiger Schlüssel (ev. Kombination aus PID und lfd. Nr.), der FID ist eindeutig, Obligatorisch"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientID">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientID"/>
      </extension>
      <path value="Visit.patientID"/>
      <short value="2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional"/>
      <definition value="2.2, Patient.PID, Numerisch, Max. 20 Zeichen, PID, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientName">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientName"/>
      </extension>
      <path value="Visit.patientName"/>
      <short value="2.3, Patient.Name, 50 Zeichen, Name, Optional"/>
      <definition value="2.3, Patient.Name, 50 Zeichen, Name, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientGivenName">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientGivenName"/>
      </extension>
      <path value="Visit.patientGivenName"/>
      <short value="2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional"/>
      <definition value="2.4, Patient.Vorname, 50 Zeichen, Vorname, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.patientBirthDate">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientBirthDate"/>
      </extension>
      <path value="Visit.patientBirthDate"/>
      <short value="2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional"/>
      <definition value="2.5, Patient.GebDat, XML-Format date, Geb.Datum, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Date"/>
      </type>
    </element>
    <element id="Visit.patientGender">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="PatientGender"/>
      </extension>
      <path value="Visit.patientGender"/>
      <short value="M|F"/>
      <definition value="2.6, Patient Geschlecht, 1 Zeichen, Geschlecht, Optional M,F"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.terminationVisit">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="TerminationVisit"/>
      </extension>
      <path value="Visit.terminationVisit"/>
      <short value="2.7, Fall Abschluss, XML-Format date, Optional"/>
      <definition value="2.7, Fall Abschluss, XML-Format date, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Date"/>
      </type>
    </element>
    <element id="Visit.terminationReason">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="TerminationReason"/>
      </extension>
      <path value="Visit.terminationReason"/>
      <short value="2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional"/>
      <definition value="2.8, Fall Abschlussgrund, Alphanum., Grunde des Fallabschlusses, Optional"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Text"/>
      </type>
    </element>
    <element id="Visit.service">
      <extension url="http://hl7.org/fhir/tools/StructureDefinition/xml-name">
        <valueString value="Service"/>
      </extension>
      <path value="Visit.service"/>
      <short value="3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N"/>
      <definition value="3, Leistung, Leistungen stehen zum Patient im Verhältnis 1:N"/>
      <min value="1"/>
      <max value="*"/>
      <type>
        <code value="http://fhir.ch/ig/ch-alis-connect/StructureDefinition/Service"/>
      </type>
    </element>
  </differential>
</StructureDefinition>