Schema diagnosis.xsd


schema location:  ..\..\diagnosis.xsd
targetNamespace:  http://healthXML.org/PasLink/Diagnosis
 
Elements  Complex types  Simple types 
CancelMedicalRegistrationRequest  ContactDiagnosisItem  DiagnosisFilterType 
CancelMedicalRegistrationResponse  ContactDiagnosisItem2G  MainSubCategoryType 
ContactDiagnosisRegistrationRequest  ContactDiagnosisType 
ContactDiagnosisRegistrationResponse  DiagnosisType 
FinishMedicalRegistrationRequest  DiagnosisType2G 
FinishMedicalRegistrationResponse  IdCodeOfficialCodeTextType 
GetContactDiagnosis2GRequest  InsertedChangedByType 
GetContactDiagnosis2GResponse  OrganizationType 
SaveContactDiagnosis2GRequest  ResourceType 
SaveContactDiagnosis2GResponse  ResourceTypeDiagnosis 


element CancelMedicalRegistrationRequest
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId ContactId
annotation
documentation 
Input for ws-method CancelMedicalRegistration
source
<xs:element name="CancelMedicalRegistrationRequest">
  <xs:annotation>
    <xs:documentation>Input for ws-method CancelMedicalRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PatientId" type="xs:int">
        <xs:annotation>
          <xs:documentation>Internal patient id</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContactId" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal contact id</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element CancelMedicalRegistrationRequest/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal patient id
source
<xs:element name="PatientId" type="xs:int">
  <xs:annotation>
    <xs:documentation>Internal patient id</xs:documentation>
  </xs:annotation>
</xs:element>

element CancelMedicalRegistrationRequest/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal contact id
source
<xs:element name="ContactId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal contact id</xs:documentation>
  </xs:annotation>
</xs:element>

element CancelMedicalRegistrationResponse
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children CancelledBy CancelledDate
annotation
documentation 
Output from ws-method CancelMedicalRegistration
source
<xs:element name="CancelMedicalRegistrationResponse">
  <xs:annotation>
    <xs:documentation>Output from ws-method CancelMedicalRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="CancelledBy" type="xs:string">
        <xs:annotation>
          <xs:documentation>User who cancelled the medical registration</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="CancelledDate" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation>Date and time when medical registration was cancelled</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element CancelMedicalRegistrationResponse/CancelledBy
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
User who cancelled the medical registration
source
<xs:element name="CancelledBy" type="xs:string">
  <xs:annotation>
    <xs:documentation>User who cancelled the medical registration</xs:documentation>
  </xs:annotation>
</xs:element>

element CancelMedicalRegistrationResponse/CancelledDate
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date and time when medical registration was cancelled
source
<xs:element name="CancelledDate" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Date and time when medical registration was cancelled</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationRequest
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId ContactId DiagnosisId
annotation
documentation 
Input for ws-method ContactDiagnosisRegistration
source
<xs:element name="ContactDiagnosisRegistrationRequest">
  <xs:annotation>
    <xs:documentation>Input for ws-method ContactDiagnosisRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PatientId" type="xs:int">
        <xs:annotation>
          <xs:documentation>Internal patient id</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContactId" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal contact id</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DiagnosisId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Internal diagnosis id. Given if a specified diagnosis is to be selected.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationRequest/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal patient id
source
<xs:element name="PatientId" type="xs:int">
  <xs:annotation>
    <xs:documentation>Internal patient id</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationRequest/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal contact id
source
<xs:element name="ContactId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal contact id</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationRequest/DiagnosisId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal diagnosis id. Given if a specified diagnosis is to be selected.
source
<xs:element name="DiagnosisId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal diagnosis id. Given if a specified diagnosis is to be selected.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId PatientSex PatientDead Contact SystemParameters CancerReport MainDiagnosis SubDiagnosis
annotation
documentation 
Output from ws-method ContactDiagnosisRegistration
source
<xs:element name="ContactDiagnosisRegistrationResponse">
  <xs:annotation>
    <xs:documentation>Output from ws-method ContactDiagnosisRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PatientId" type="xs:int">
        <xs:annotation>
          <xs:documentation>Internal PatientId</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PatientSex" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Used to check if the sex matches the given diagnosis</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PatientDead" type="xs:boolean" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Used to check if one of the diagnosis should be given as cause of death</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Contact">
        <xs:annotation>
          <xs:documentation>Contact data needed for registering diagnosis</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Id" type="xs:string">
              <xs:annotation>
                <xs:documentation>Internal ContactId</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="SeriesId" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Internal id showing which series an outpatient contact belongs to.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="MedicalOrganization">
              <xs:annotation>
                <xs:documentation>Department</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Id" type="xs:string"/>
                  <xs:element name="ShortNameId" type="xs:string"/>
                  <xs:element name="Name" type="xs:string" minOccurs="0"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="From" type="xs:dateTime">
              <xs:annotation>
                <xs:documentation>Contact start date and time</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="To" type="xs:dateTime" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Contact end date and time</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="TypeOfCare">
              <xs:annotation>
                <xs:documentation>Inpatient (I), outpatient (P) or daycare (D)</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Code" type="xs:string"/>
                  <xs:element name="Text" type="xs:string"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="MedicalResponsible" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Resource who is responsible for the diagnosis. Property EPIKANSV</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="ResourceType">
                    <xs:sequence>
                      <xs:element name="DefaultValue" type="xs:boolean">
                        <xs:annotation>
                          <xs:documentation>If true, medical responsible is just a default value, where contact responsible is used as  the default value. If false, this is the medical responsible.</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
            <xs:element name="MedicalRegistrationFinished" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Medical registration must be set to finished before DRG is done.
Indicates whether the medical registration is finished or not. If true, the diagnosis are locked and cannot be modified.</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="FinishedBy" type="xs:string">
                    <xs:annotation>
                      <xs:documentation>User who finished the medical registration</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                  <xs:element name="FinishedDate" type="xs:dateTime">
                    <xs:annotation>
                      <xs:documentation>Date and time when medical registration was finished</xs:documentation>
                    </xs:annotation>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="SystemParameters" minOccurs="0">
        <xs:annotation>
          <xs:documentation>System parameters needed for registering diagnosis</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="DateRegistration" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>J if date shall be displayed and changed by the user. If date is not displayed, date will be stored depending on the contact date.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DefaultMedRegister" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>Medical register code to be used as default diagnosis register</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="DiagnosisForSeries" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>J if the contact is part of a series, has no diagnosis but there are other contacts in the series that have diagnosis.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="SaveDiagnosisAfterSearch" type="xs:string" minOccurs="0">
              <xs:annotation>
                <xs:documentation>J if the diagnosis shall be saved automatically after finding a medical code.</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="CancerReport" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="ReportSent" type="xs:boolean"/>
            <xs:element name="ReportDate" type="xs:dateTime" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="MainDiagnosis" minOccurs="0">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ContactDiagnosisItem">
              <xs:sequence>
                <xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
                  </xs:annotation>
                </xs:element>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="SubDiagnosis" minOccurs="0">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="SubDiagnosisItem" maxOccurs="unbounded">
              <xs:complexType>
                <xs:complexContent>
                  <xs:extension base="ContactDiagnosisItem">
                    <xs:sequence>
                      <xs:element name="SequenceNumber" type="xs:int">
                        <xs:annotation>
                          <xs:documentation>The sequence number of the sub diagnosis</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                      <xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
                        <xs:annotation>
                          <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
                        </xs:annotation>
                      </xs:element>
                    </xs:sequence>
                  </xs:extension>
                </xs:complexContent>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal PatientId
source
<xs:element name="PatientId" type="xs:int">
  <xs:annotation>
    <xs:documentation>Internal PatientId</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/PatientSex
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Used to check if the sex matches the given diagnosis
source
<xs:element name="PatientSex" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Used to check if the sex matches the given diagnosis</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/PatientDead
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
Used to check if one of the diagnosis should be given as cause of death
source
<xs:element name="PatientDead" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Used to check if one of the diagnosis should be given as cause of death</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id SeriesId MedicalOrganization From To TypeOfCare MedicalResponsible MedicalRegistrationFinished
annotation
documentation 
Contact data needed for registering diagnosis
source
<xs:element name="Contact">
  <xs:annotation>
    <xs:documentation>Contact data needed for registering diagnosis</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Id" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal ContactId</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SeriesId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Internal id showing which series an outpatient contact belongs to.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MedicalOrganization">
        <xs:annotation>
          <xs:documentation>Department</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Id" type="xs:string"/>
            <xs:element name="ShortNameId" type="xs:string"/>
            <xs:element name="Name" type="xs:string" minOccurs="0"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="From" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation>Contact start date and time</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="To" type="xs:dateTime" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Contact end date and time</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="TypeOfCare">
        <xs:annotation>
          <xs:documentation>Inpatient (I), outpatient (P) or daycare (D)</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Code" type="xs:string"/>
            <xs:element name="Text" type="xs:string"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="MedicalResponsible" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Resource who is responsible for the diagnosis. Property EPIKANSV</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ResourceType">
              <xs:sequence>
                <xs:element name="DefaultValue" type="xs:boolean">
                  <xs:annotation>
                    <xs:documentation>If true, medical responsible is just a default value, where contact responsible is used as  the default value. If false, this is the medical responsible.</xs:documentation>
                  </xs:annotation>
                </xs:element>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="MedicalRegistrationFinished" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Medical registration must be set to finished before DRG is done.
Indicates whether the medical registration is finished or not. If true, the diagnosis are locked and cannot be modified.</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:sequence>
            <xs:element name="FinishedBy" type="xs:string">
              <xs:annotation>
                <xs:documentation>User who finished the medical registration</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="FinishedDate" type="xs:dateTime">
              <xs:annotation>
                <xs:documentation>Date and time when medical registration was finished</xs:documentation>
              </xs:annotation>
            </xs:element>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal ContactId
source
<xs:element name="Id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal ContactId</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/SeriesId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal id showing which series an outpatient contact belongs to.
source
<xs:element name="SeriesId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal id showing which series an outpatient contact belongs to.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalOrganization
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id ShortNameId Name
annotation
documentation 
Department
source
<xs:element name="MedicalOrganization">
  <xs:annotation>
    <xs:documentation>Department</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Id" type="xs:string"/>
      <xs:element name="ShortNameId" type="xs:string"/>
      <xs:element name="Name" type="xs:string" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalOrganization/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Id" type="xs:string"/>

element ContactDiagnosisRegistrationResponse/Contact/MedicalOrganization/ShortNameId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="ShortNameId" type="xs:string"/>

element ContactDiagnosisRegistrationResponse/Contact/MedicalOrganization/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Name" type="xs:string" minOccurs="0"/>

element ContactDiagnosisRegistrationResponse/Contact/From
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Contact start date and time
source
<xs:element name="From" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Contact start date and time</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/To
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Contact end date and time
source
<xs:element name="To" type="xs:dateTime" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Contact end date and time</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/TypeOfCare
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Code Text
annotation
documentation 
Inpatient (I), outpatient (P) or daycare (D)
source
<xs:element name="TypeOfCare">
  <xs:annotation>
    <xs:documentation>Inpatient (I), outpatient (P) or daycare (D)</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Code" type="xs:string"/>
      <xs:element name="Text" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/TypeOfCare/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Code" type="xs:string"/>

element ContactDiagnosisRegistrationResponse/Contact/TypeOfCare/Text
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Text" type="xs:string"/>

element ContactDiagnosisRegistrationResponse/Contact/MedicalResponsible
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of ResourceType
children Id Code Name DefaultValue
annotation
documentation 
Resource who is responsible for the diagnosis. Property EPIKANSV
source
<xs:element name="MedicalResponsible" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Resource who is responsible for the diagnosis. Property EPIKANSV</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="ResourceType">
        <xs:sequence>
          <xs:element name="DefaultValue" type="xs:boolean">
            <xs:annotation>
              <xs:documentation>If true, medical responsible is just a default value, where contact responsible is used as  the default value. If false, this is the medical responsible.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalResponsible/DefaultValue
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
If true, medical responsible is just a default value, where contact responsible is used as  the default value. If false, this is the medical responsible.
source
<xs:element name="DefaultValue" type="xs:boolean">
  <xs:annotation>
    <xs:documentation>If true, medical responsible is just a default value, where contact responsible is used as  the default value. If false, this is the medical responsible.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalRegistrationFinished
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children FinishedBy FinishedDate
annotation
documentation 
Medical registration must be set to finished before DRG is done.
Indicates whether the medical registration is finished or not. If true, the diagnosis are locked and cannot be modified.
source
<xs:element name="MedicalRegistrationFinished" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Medical registration must be set to finished before DRG is done.
Indicates whether the medical registration is finished or not. If true, the diagnosis are locked and cannot be modified.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="FinishedBy" type="xs:string">
        <xs:annotation>
          <xs:documentation>User who finished the medical registration</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FinishedDate" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation>Date and time when medical registration was finished</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalRegistrationFinished/FinishedBy
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
User who finished the medical registration
source
<xs:element name="FinishedBy" type="xs:string">
  <xs:annotation>
    <xs:documentation>User who finished the medical registration</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/Contact/MedicalRegistrationFinished/FinishedDate
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date and time when medical registration was finished
source
<xs:element name="FinishedDate" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Date and time when medical registration was finished</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SystemParameters
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children DateRegistration DefaultMedRegister DiagnosisForSeries SaveDiagnosisAfterSearch
annotation
documentation 
System parameters needed for registering diagnosis
source
<xs:element name="SystemParameters" minOccurs="0">
  <xs:annotation>
    <xs:documentation>System parameters needed for registering diagnosis</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="DateRegistration" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>J if date shall be displayed and changed by the user. If date is not displayed, date will be stored depending on the contact date.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DefaultMedRegister" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Medical register code to be used as default diagnosis register</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="DiagnosisForSeries" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>J if the contact is part of a series, has no diagnosis but there are other contacts in the series that have diagnosis.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SaveDiagnosisAfterSearch" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>J if the diagnosis shall be saved automatically after finding a medical code.</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/SystemParameters/DateRegistration
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
J if date shall be displayed and changed by the user. If date is not displayed, date will be stored depending on the contact date.
source
<xs:element name="DateRegistration" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>J if date shall be displayed and changed by the user. If date is not displayed, date will be stored depending on the contact date.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SystemParameters/DefaultMedRegister
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Medical register code to be used as default diagnosis register
source
<xs:element name="DefaultMedRegister" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Medical register code to be used as default diagnosis register</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SystemParameters/DiagnosisForSeries
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
J if the contact is part of a series, has no diagnosis but there are other contacts in the series that have diagnosis.
source
<xs:element name="DiagnosisForSeries" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>J if the contact is part of a series, has no diagnosis but there are other contacts in the series that have diagnosis.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SystemParameters/SaveDiagnosisAfterSearch
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
J if the diagnosis shall be saved automatically after finding a medical code.
source
<xs:element name="SaveDiagnosisAfterSearch" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>J if the diagnosis shall be saved automatically after finding a medical code.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/CancerReport
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children ReportSent ReportDate
source
<xs:element name="CancerReport" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="ReportSent" type="xs:boolean"/>
      <xs:element name="ReportDate" type="xs:dateTime" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/CancerReport/ReportSent
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
source
<xs:element name="ReportSent" type="xs:boolean"/>

element ContactDiagnosisRegistrationResponse/CancerReport/ReportDate
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
source
<xs:element name="ReportDate" type="xs:dateTime" minOccurs="0"/>

element ContactDiagnosisRegistrationResponse/MainDiagnosis
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of ContactDiagnosisItem
children DiagnosisDateTime DiagnosisDateTimeEnd CauseOfDeath Codes CombinationCodesExists
source
<xs:element name="MainDiagnosis" minOccurs="0">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="ContactDiagnosisItem">
        <xs:sequence>
          <xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
            <xs:annotation>
              <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/MainDiagnosis/CombinationCodesExists
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
True if the diagnosis code have combination codes (* codes) attached to it
source
<xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SubDiagnosis
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children SubDiagnosisItem
source
<xs:element name="SubDiagnosis" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="SubDiagnosisItem" maxOccurs="unbounded">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ContactDiagnosisItem">
              <xs:sequence>
                <xs:element name="SequenceNumber" type="xs:int">
                  <xs:annotation>
                    <xs:documentation>The sequence number of the sub diagnosis</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
                  </xs:annotation>
                </xs:element>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/SubDiagnosis/SubDiagnosisItem
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of ContactDiagnosisItem
children DiagnosisDateTime DiagnosisDateTimeEnd CauseOfDeath Codes SequenceNumber CombinationCodesExists
source
<xs:element name="SubDiagnosisItem" maxOccurs="unbounded">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="ContactDiagnosisItem">
        <xs:sequence>
          <xs:element name="SequenceNumber" type="xs:int">
            <xs:annotation>
              <xs:documentation>The sequence number of the sub diagnosis</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
            <xs:annotation>
              <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisRegistrationResponse/SubDiagnosis/SubDiagnosisItem/SequenceNumber
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
The sequence number of the sub diagnosis
source
<xs:element name="SequenceNumber" type="xs:int">
  <xs:annotation>
    <xs:documentation>The sequence number of the sub diagnosis</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisRegistrationResponse/SubDiagnosis/SubDiagnosisItem/CombinationCodesExists
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
True if the diagnosis code have combination codes (* codes) attached to it
source
<xs:element name="CombinationCodesExists" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>True if the diagnosis code have combination codes (* codes) attached to it</xs:documentation>
  </xs:annotation>
</xs:element>

element FinishMedicalRegistrationRequest
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId ContactId MedicalResponsibleId
annotation
documentation 
Input for ws-method FinishMedicalRegistration
source
<xs:element name="FinishMedicalRegistrationRequest">
  <xs:annotation>
    <xs:documentation>Input for ws-method FinishMedicalRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PatientId" type="xs:int">
        <xs:annotation>
          <xs:documentation>Internal patient id</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContactId" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal contact id</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MedicalResponsibleId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Internal id for the person responsible for the medical registration</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element FinishMedicalRegistrationRequest/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal patient id
source
<xs:element name="PatientId" type="xs:int">
  <xs:annotation>
    <xs:documentation>Internal patient id</xs:documentation>
  </xs:annotation>
</xs:element>

element FinishMedicalRegistrationRequest/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal contact id
source
<xs:element name="ContactId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal contact id</xs:documentation>
  </xs:annotation>
</xs:element>

element FinishMedicalRegistrationRequest/MedicalResponsibleId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal id for the person responsible for the medical registration
source
<xs:element name="MedicalResponsibleId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal id for the person responsible for the medical registration</xs:documentation>
  </xs:annotation>
</xs:element>

element FinishMedicalRegistrationResponse
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children FinishedBy FinishedDate
annotation
documentation 
Output from ws-method FinishMedicalRegistration
source
<xs:element name="FinishMedicalRegistrationResponse">
  <xs:annotation>
    <xs:documentation>Output from ws-method FinishMedicalRegistration</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="FinishedBy" type="xs:string">
        <xs:annotation>
          <xs:documentation>User who finished the medical registration</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="FinishedDate" type="xs:dateTime">
        <xs:annotation>
          <xs:documentation>Date and time when medical registration was finished</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element FinishMedicalRegistrationResponse/FinishedBy
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
User who finished the medical registration
source
<xs:element name="FinishedBy" type="xs:string">
  <xs:annotation>
    <xs:documentation>User who finished the medical registration</xs:documentation>
  </xs:annotation>
</xs:element>

element FinishMedicalRegistrationResponse/FinishedDate
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date and time when medical registration was finished
source
<xs:element name="FinishedDate" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Date and time when medical registration was finished</xs:documentation>
  </xs:annotation>
</xs:element>

element GetContactDiagnosis2GRequest
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId ContactId
source
<xs:element name="GetContactDiagnosis2GRequest">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="PatientId" type="xs:int" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Internal patient id
Not used by HIS90</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ContactId" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal contact id</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element GetContactDiagnosis2GRequest/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal patient id
Not used by HIS90
source
<xs:element name="PatientId" type="xs:int" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal patient id
Not used by HIS90</xs:documentation>
  </xs:annotation>
</xs:element>

element GetContactDiagnosis2GRequest/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal contact id
source
<xs:element name="ContactId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal contact id</xs:documentation>
  </xs:annotation>
</xs:element>

element GetContactDiagnosis2GResponse
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type ContactDiagnosisType
children PatientId ContactId MedicalResponsible MedicalRegistrationFinished Diagnosis
annotation
documentation 
Repsone from All diagnosis for a patient's contact.
source
<xs:element name="GetContactDiagnosis2GResponse" type="ContactDiagnosisType">
  <xs:annotation>
    <xs:documentation>Repsone from All diagnosis for a patient's contact.</xs:documentation>
  </xs:annotation>
</xs:element>

element SaveContactDiagnosis2GRequest
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type ContactDiagnosisType
children PatientId ContactId MedicalResponsible MedicalRegistrationFinished Diagnosis
source
<xs:element name="SaveContactDiagnosis2GRequest" type="ContactDiagnosisType"/>

element SaveContactDiagnosis2GResponse
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type ContactDiagnosisType
children PatientId ContactId MedicalResponsible MedicalRegistrationFinished Diagnosis
source
<xs:element name="SaveContactDiagnosis2GResponse" type="ContactDiagnosisType"/>

complexType ContactDiagnosisItem
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children DiagnosisDateTime DiagnosisDateTimeEnd CauseOfDeath Codes
used by
elements ContactDiagnosisRegistrationResponse/MainDiagnosis ContactDiagnosisRegistrationResponse/SubDiagnosis/SubDiagnosisItem
annotation
documentation 
Diagnosis type
source
<xs:complexType name="ContactDiagnosisItem">
  <xs:annotation>
    <xs:documentation>Diagnosis type</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="DiagnosisDateTime" type="xs:dateTime"/>
    <xs:element name="DiagnosisDateTimeEnd" type="xs:dateTime" minOccurs="0"/>
    <xs:element name="CauseOfDeath" type="xs:boolean" minOccurs="0"/>
    <xs:element name="Codes">
      <xs:annotation>
        <xs:documentation>Diagnosis codes. One diagnosis may consist of many codes. </xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Code" maxOccurs="unbounded">
            <xs:complexType>
              <xs:complexContent>
                <xs:extension base="DiagnosisType">
                  <xs:sequence>
                    <xs:element name="SequenceNumber" type="xs:int">
                      <xs:annotation>
                        <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="ChangedBy" type="xs:string">
                      <xs:annotation>
                        <xs:documentation>Userid for the person who last changed the diagnosis</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="Changed" type="xs:dateTime">
                      <xs:annotation>
                        <xs:documentation>Date and time for last change.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                    <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
                      <xs:annotation>
                        <xs:documentation>Number of diagnosis updates. </xs:documentation>
                      </xs:annotation>
                    </xs:element>
                  </xs:sequence>
                </xs:extension>
              </xs:complexContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element ContactDiagnosisItem/DiagnosisDateTime
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
source
<xs:element name="DiagnosisDateTime" type="xs:dateTime"/>

element ContactDiagnosisItem/DiagnosisDateTimeEnd
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
source
<xs:element name="DiagnosisDateTimeEnd" type="xs:dateTime" minOccurs="0"/>

element ContactDiagnosisItem/CauseOfDeath
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
source
<xs:element name="CauseOfDeath" type="xs:boolean" minOccurs="0"/>

element ContactDiagnosisItem/Codes
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Code
annotation
documentation 
Diagnosis codes. One diagnosis may consist of many codes. 
source
<xs:element name="Codes">
  <xs:annotation>
    <xs:documentation>Diagnosis codes. One diagnosis may consist of many codes. </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Code" maxOccurs="unbounded">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="DiagnosisType">
              <xs:sequence>
                <xs:element name="SequenceNumber" type="xs:int">
                  <xs:annotation>
                    <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="ChangedBy" type="xs:string">
                  <xs:annotation>
                    <xs:documentation>Userid for the person who last changed the diagnosis</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="Changed" type="xs:dateTime">
                  <xs:annotation>
                    <xs:documentation>Date and time for last change.</xs:documentation>
                  </xs:annotation>
                </xs:element>
                <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
                  <xs:annotation>
                    <xs:documentation>Number of diagnosis updates. </xs:documentation>
                  </xs:annotation>
                </xs:element>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisItem/Codes/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of DiagnosisType
children Id MedCode SequenceNumber ChangedBy Changed UpdateCount
source
<xs:element name="Code" maxOccurs="unbounded">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="DiagnosisType">
        <xs:sequence>
          <xs:element name="SequenceNumber" type="xs:int">
            <xs:annotation>
              <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="ChangedBy" type="xs:string">
            <xs:annotation>
              <xs:documentation>Userid for the person who last changed the diagnosis</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Changed" type="xs:dateTime">
            <xs:annotation>
              <xs:documentation>Date and time for last change.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="UpdateCount" type="xs:int" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Number of diagnosis updates. </xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisItem/Codes/Code/SequenceNumber
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
The sequence number of the code. This is important for DRG.
source
<xs:element name="SequenceNumber" type="xs:int">
  <xs:annotation>
    <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem/Codes/Code/ChangedBy
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Userid for the person who last changed the diagnosis
source
<xs:element name="ChangedBy" type="xs:string">
  <xs:annotation>
    <xs:documentation>Userid for the person who last changed the diagnosis</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem/Codes/Code/Changed
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date and time for last change.
source
<xs:element name="Changed" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Date and time for last change.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem/Codes/Code/UpdateCount
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Number of diagnosis updates. 
source
<xs:element name="UpdateCount" type="xs:int" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Number of diagnosis updates. </xs:documentation>
  </xs:annotation>
</xs:element>

complexType ContactDiagnosisItem2G
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children ContactId MainSubCategory DiagnosisDateTime DiagnosisDateTimeEnd CauseOfDeath Code MedicalResponsible
used by
element ContactDiagnosisType/Diagnosis/DiagnosisItem
source
<xs:complexType name="ContactDiagnosisItem2G">
  <xs:sequence>
    <xs:element name="ContactId" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Internal ContactId. 
If not set the use the one at the root/top level</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="MainSubCategory" type="MainSubCategoryType">
      <xs:annotation>
        <xs:documentation>Type/Category of diagnosis. Main or Sub Diagnosis</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="DiagnosisDateTime" type="xs:dateTime">
      <xs:annotation>
        <xs:documentation>Date(Time) the diagnosis is set</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="DiagnosisDateTimeEnd" type="xs:dateTime" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Date(Time) diagnois ends. Only used if have date/time</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="CauseOfDeath" type="xs:boolean" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Diagnosis is cause of death</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Code" maxOccurs="unbounded">
      <xs:annotation>
        <xs:documentation>Diagnosis codes. One diagnosis may consist of many codes. </xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:complexContent>
          <xs:extension base="DiagnosisType">
            <xs:sequence>
              <xs:element name="SequenceNumber" type="xs:int">
                <xs:annotation>
                  <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Information about first registration of information</xs:documentation>
                </xs:annotation>
              </xs:element>
              <xs:element name="Update" minOccurs="0">
                <xs:annotation>
                  <xs:documentation>Information about update, last changed or modification of information</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                  <xs:complexContent>
                    <xs:extension base="InsertedChangedByType">
                      <xs:sequence>
                        <xs:element name="UpdateCount" type="xs:int">
                          <xs:annotation>
                            <xs:documentation>Number of diagnosis updates. 
Count used for concurrency testing when waiting list is updated.</xs:documentation>
                          </xs:annotation>
                        </xs:element>
                      </xs:sequence>
                    </xs:extension>
                  </xs:complexContent>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:extension>
        </xs:complexContent>
      </xs:complexType>
    </xs:element>
    <xs:element name="MedicalResponsible" type="ResourceTypeDiagnosis" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Resource who is responsible for the diagnosis. If not set the uses the one at the root/top level</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element ContactDiagnosisItem2G/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal ContactId. 
If not set the use the one at the root/top level
source
<xs:element name="ContactId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal ContactId. 
If not set the use the one at the root/top level</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/MainSubCategory
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type MainSubCategoryType
facets
enumeration NotSet
enumeration MainDiagnosis
enumeration SubDiagnosis
annotation
documentation 
Type/Category of diagnosis. Main or Sub Diagnosis
source
<xs:element name="MainSubCategory" type="MainSubCategoryType">
  <xs:annotation>
    <xs:documentation>Type/Category of diagnosis. Main or Sub Diagnosis</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/DiagnosisDateTime
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date(Time) the diagnosis is set
source
<xs:element name="DiagnosisDateTime" type="xs:dateTime">
  <xs:annotation>
    <xs:documentation>Date(Time) the diagnosis is set</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/DiagnosisDateTimeEnd
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date(Time) diagnois ends. Only used if have date/time
source
<xs:element name="DiagnosisDateTimeEnd" type="xs:dateTime" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Date(Time) diagnois ends. Only used if have date/time</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/CauseOfDeath
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
Diagnosis is cause of death
source
<xs:element name="CauseOfDeath" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Diagnosis is cause of death</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of DiagnosisType
children Id MedCode SequenceNumber Registration Update
annotation
documentation 
Diagnosis codes. One diagnosis may consist of many codes. 
source
<xs:element name="Code" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>Diagnosis codes. One diagnosis may consist of many codes. </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="DiagnosisType">
        <xs:sequence>
          <xs:element name="SequenceNumber" type="xs:int">
            <xs:annotation>
              <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Information about first registration of information</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Update" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Information about update, last changed or modification of information</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:complexContent>
                <xs:extension base="InsertedChangedByType">
                  <xs:sequence>
                    <xs:element name="UpdateCount" type="xs:int">
                      <xs:annotation>
                        <xs:documentation>Number of diagnosis updates. 
Count used for concurrency testing when waiting list is updated.</xs:documentation>
                      </xs:annotation>
                    </xs:element>
                  </xs:sequence>
                </xs:extension>
              </xs:complexContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisItem2G/Code/SequenceNumber
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
The sequence number of the code. This is important for DRG.
source
<xs:element name="SequenceNumber" type="xs:int">
  <xs:annotation>
    <xs:documentation>The sequence number of the code. This is important for DRG.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/Code/Registration
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type InsertedChangedByType
children Date Name Organization SignedBy
annotation
documentation 
Information about first registration of information
source
<xs:element name="Registration" type="InsertedChangedByType" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Information about first registration of information</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/Code/Update
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of InsertedChangedByType
children Date Name Organization SignedBy UpdateCount
annotation
documentation 
Information about update, last changed or modification of information
source
<xs:element name="Update" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Information about update, last changed or modification of information</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="InsertedChangedByType">
        <xs:sequence>
          <xs:element name="UpdateCount" type="xs:int">
            <xs:annotation>
              <xs:documentation>Number of diagnosis updates. 
Count used for concurrency testing when waiting list is updated.</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element ContactDiagnosisItem2G/Code/Update/UpdateCount
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Number of diagnosis updates. 
Count used for concurrency testing when waiting list is updated.
source
<xs:element name="UpdateCount" type="xs:int">
  <xs:annotation>
    <xs:documentation>Number of diagnosis updates. 
Count used for concurrency testing when waiting list is updated.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisItem2G/MedicalResponsible
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type ResourceTypeDiagnosis
children ResourceId TypeOfId Code Name Property
annotation
documentation 
Resource who is responsible for the diagnosis. If not set the uses the one at the root/top level
source
<xs:element name="MedicalResponsible" type="ResourceTypeDiagnosis" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Resource who is responsible for the diagnosis. If not set the uses the one at the root/top level</xs:documentation>
  </xs:annotation>
</xs:element>

complexType ContactDiagnosisType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children PatientId ContactId MedicalResponsible MedicalRegistrationFinished Diagnosis
used by
elements GetContactDiagnosis2GResponse SaveContactDiagnosis2GRequest SaveContactDiagnosis2GResponse
source
<xs:complexType name="ContactDiagnosisType">
  <xs:sequence>
    <xs:element name="PatientId" type="xs:int">
      <xs:annotation>
        <xs:documentation>Internal PatientId</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="ContactId" type="xs:string">
      <xs:annotation>
        <xs:documentation>Internal ContactId</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="MedicalResponsible" type="ResourceTypeDiagnosis" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Resource who is responsible for the diagnosis.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="MedicalRegistrationFinished" type="xs:boolean" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Indicates whether the medical registration is finished for this contact or not. If true, the diagnosis are locked and cannot be modified.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Diagnosis" minOccurs="0">
      <xs:complexType>
        <xs:sequence>
          <xs:element name="DiagnosisItem" maxOccurs="unbounded">
            <xs:complexType>
              <xs:complexContent>
                <xs:extension base="ContactDiagnosisItem2G"/>
              </xs:complexContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element ContactDiagnosisType/PatientId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
annotation
documentation 
Internal PatientId
source
<xs:element name="PatientId" type="xs:int">
  <xs:annotation>
    <xs:documentation>Internal PatientId</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisType/ContactId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal ContactId
source
<xs:element name="ContactId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal ContactId</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisType/MedicalResponsible
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type ResourceTypeDiagnosis
children ResourceId TypeOfId Code Name Property
annotation
documentation 
Resource who is responsible for the diagnosis.
source
<xs:element name="MedicalResponsible" type="ResourceTypeDiagnosis" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Resource who is responsible for the diagnosis.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisType/MedicalRegistrationFinished
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:boolean
annotation
documentation 
Indicates whether the medical registration is finished for this contact or not. If true, the diagnosis are locked and cannot be modified.
source
<xs:element name="MedicalRegistrationFinished" type="xs:boolean" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Indicates whether the medical registration is finished for this contact or not. If true, the diagnosis are locked and cannot be modified.</xs:documentation>
  </xs:annotation>
</xs:element>

element ContactDiagnosisType/Diagnosis
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children DiagnosisItem
source
<xs:element name="Diagnosis" minOccurs="0">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="DiagnosisItem" maxOccurs="unbounded">
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="ContactDiagnosisItem2G"/>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element ContactDiagnosisType/Diagnosis/DiagnosisItem
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of ContactDiagnosisItem2G
children ContactId MainSubCategory DiagnosisDateTime DiagnosisDateTimeEnd CauseOfDeath Code MedicalResponsible
source
<xs:element name="DiagnosisItem" maxOccurs="unbounded">
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="ContactDiagnosisItem2G"/>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

complexType DiagnosisType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id MedCode
used by
elements ContactDiagnosisItem2G/Code ContactDiagnosisItem/Codes/Code
annotation
documentation 
Diagnosis incl. medcode and medregister
source
<xs:complexType name="DiagnosisType">
  <xs:annotation>
    <xs:documentation>Diagnosis incl. medcode and medregister</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Id" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Internal Id for the diagnosis at the contact.
ContactDiagnosisId.
Used for update, null/blank for new diagnosis</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="MedCode">
      <xs:annotation>
        <xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Id" type="xs:string">
            <xs:annotation>
              <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Code" type="xs:string">
            <xs:annotation>
              <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Text" type="xs:string">
            <xs:annotation>
              <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="MedRegister">
            <xs:annotation>
              <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:complexContent>
                <xs:extension base="IdCodeOfficialCodeTextType">
                  <xs:sequence>
                    <xs:element name="ReferenceType" type="xs:string" minOccurs="0"/>
                  </xs:sequence>
                </xs:extension>
              </xs:complexContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element DiagnosisType/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal Id for the diagnosis at the contact.
ContactDiagnosisId.
Used for update, null/blank for new diagnosis
source
<xs:element name="Id" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Internal Id for the diagnosis at the contact.
ContactDiagnosisId.
Used for update, null/blank for new diagnosis</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType/MedCode
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id Code Text MedRegister
annotation
documentation 
Medical code from a medical register, i.e. ICD10
source
<xs:element name="MedCode">
  <xs:annotation>
    <xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Id" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Code" type="xs:string">
        <xs:annotation>
          <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text" type="xs:string">
        <xs:annotation>
          <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MedRegister">
        <xs:annotation>
          <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="IdCodeOfficialCodeTextType">
              <xs:sequence>
                <xs:element name="ReferenceType" type="xs:string" minOccurs="0"/>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element DiagnosisType/MedCode/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal id for the diagnosis from the diagnosis register.
source
<xs:element name="Id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType/MedCode/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Code for the diagnosis from the diagnosis register.
source
<xs:element name="Code" type="xs:string">
  <xs:annotation>
    <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType/MedCode/Text
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Description for the diagnosis from the diagnosis register.
source
<xs:element name="Text" type="xs:string">
  <xs:annotation>
    <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType/MedCode/MedRegister
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of IdCodeOfficialCodeTextType
children Id Code OfficialCode Text ReferenceType
annotation
documentation 
Medical register, i.e. ICD10
source
<xs:element name="MedRegister">
  <xs:annotation>
    <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="IdCodeOfficialCodeTextType">
        <xs:sequence>
          <xs:element name="ReferenceType" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element DiagnosisType/MedCode/MedRegister/ReferenceType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="ReferenceType" type="xs:string" minOccurs="0"/>

complexType DiagnosisType2G
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id MedCode
annotation
documentation 
Diagnosis incl. medcode and medregister
source
<xs:complexType name="DiagnosisType2G">
  <xs:annotation>
    <xs:documentation>Diagnosis incl. medcode and medregister</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Id" type="xs:string">
      <xs:annotation>
        <xs:documentation>Internal Id for the diagnosis at the contact</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="MedCode">
      <xs:annotation>
        <xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Id" type="xs:string">
            <xs:annotation>
              <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Code" type="xs:string">
            <xs:annotation>
              <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Text" type="xs:string">
            <xs:annotation>
              <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="MedRegister">
            <xs:annotation>
              <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
            </xs:annotation>
            <xs:complexType>
              <xs:complexContent>
                <xs:extension base="IdCodeOfficialCodeTextType">
                  <xs:sequence>
                    <xs:element name="RegisterType" type="xs:string" minOccurs="0"/>
                  </xs:sequence>
                </xs:extension>
              </xs:complexContent>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element DiagnosisType2G/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal Id for the diagnosis at the contact
source
<xs:element name="Id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal Id for the diagnosis at the contact</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType2G/MedCode
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id Code Text MedRegister
annotation
documentation 
Medical code from a medical register, i.e. ICD10
source
<xs:element name="MedCode">
  <xs:annotation>
    <xs:documentation>Medical code from a medical register, i.e. ICD10</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Id" type="xs:string">
        <xs:annotation>
          <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Code" type="xs:string">
        <xs:annotation>
          <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Text" type="xs:string">
        <xs:annotation>
          <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="MedRegister">
        <xs:annotation>
          <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="IdCodeOfficialCodeTextType">
              <xs:sequence>
                <xs:element name="RegisterType" type="xs:string" minOccurs="0"/>
              </xs:sequence>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element DiagnosisType2G/MedCode/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal id for the diagnosis from the diagnosis register.
source
<xs:element name="Id" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal id for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType2G/MedCode/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Code for the diagnosis from the diagnosis register.
source
<xs:element name="Code" type="xs:string">
  <xs:annotation>
    <xs:documentation>Code for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType2G/MedCode/Text
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Description for the diagnosis from the diagnosis register.
source
<xs:element name="Text" type="xs:string">
  <xs:annotation>
    <xs:documentation>Description for the diagnosis from the diagnosis register.</xs:documentation>
  </xs:annotation>
</xs:element>

element DiagnosisType2G/MedCode/MedRegister
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type extension of IdCodeOfficialCodeTextType
children Id Code OfficialCode Text RegisterType
annotation
documentation 
Medical register, i.e. ICD10
source
<xs:element name="MedRegister">
  <xs:annotation>
    <xs:documentation>Medical register, i.e. ICD10</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:complexContent>
      <xs:extension base="IdCodeOfficialCodeTextType">
        <xs:sequence>
          <xs:element name="RegisterType" type="xs:string" minOccurs="0"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:element>

element DiagnosisType2G/MedCode/MedRegister/RegisterType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="RegisterType" type="xs:string" minOccurs="0"/>

complexType IdCodeOfficialCodeTextType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id Code OfficialCode Text
used by
elements DiagnosisType/MedCode/MedRegister DiagnosisType2G/MedCode/MedRegister
annotation
documentation 
Id, Code, Official Code and Text
source
<xs:complexType name="IdCodeOfficialCodeTextType">
  <xs:annotation>
    <xs:documentation>Id, Code, Official Code and Text</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Id" type="xs:int"/>
    <xs:element name="Code" type="xs:string"/>
    <xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>
    <xs:element name="Text" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

element IdCodeOfficialCodeTextType/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
source
<xs:element name="Id" type="xs:int"/>

element IdCodeOfficialCodeTextType/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Code" type="xs:string"/>

element IdCodeOfficialCodeTextType/OfficialCode
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="OfficialCode" type="xs:string" minOccurs="0"/>

element IdCodeOfficialCodeTextType/Text
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Text" type="xs:string"/>

complexType InsertedChangedByType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Date Name Organization SignedBy
used by
elements ContactDiagnosisItem2G/Code/Registration ContactDiagnosisItem2G/Code/Update
annotation
documentation 
Type for information about insertion and changes in the database
source
<xs:complexType name="InsertedChangedByType">
  <xs:annotation>
    <xs:documentation>Type for information about insertion and changes in the database</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Date" type="xs:dateTime" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Date when inserted/last modified.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Name" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Organization Name</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Organization" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
      </xs:annotation>
      <xs:complexType>
        <xs:sequence>
          <xs:element name="Id" type="xs:string">
            <xs:annotation>
              <xs:documentation> Internal Id.</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="ShortNameId" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Organization Code</xs:documentation>
            </xs:annotation>
          </xs:element>
          <xs:element name="Name" type="xs:string" minOccurs="0">
            <xs:annotation>
              <xs:documentation>Organization Name</xs:documentation>
            </xs:annotation>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:element>
    <xs:element name="SignedBy" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element InsertedChangedByType/Date
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:dateTime
annotation
documentation 
Date when inserted/last modified.
source
<xs:element name="Date" type="xs:dateTime" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Date when inserted/last modified.</xs:documentation>
  </xs:annotation>
</xs:element>

element InsertedChangedByType/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Organization Name
source
<xs:element name="Name" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Organization Name</xs:documentation>
  </xs:annotation>
</xs:element>

element InsertedChangedByType/Organization
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id ShortNameId Name
annotation
documentation 
Organization responsible for insertion/last modification of the instance. 
source
<xs:element name="Organization" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Organization responsible for insertion/last modification of the instance. </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Id" type="xs:string">
        <xs:annotation>
          <xs:documentation> Internal Id.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="ShortNameId" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Organization Code</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="Name" type="xs:string" minOccurs="0">
        <xs:annotation>
          <xs:documentation>Organization Name</xs:documentation>
        </xs:annotation>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element InsertedChangedByType/Organization/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
 Internal Id.
source
<xs:element name="Id" type="xs:string">
  <xs:annotation>
    <xs:documentation> Internal Id.</xs:documentation>
  </xs:annotation>
</xs:element>

element InsertedChangedByType/Organization/ShortNameId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Organization Code
source
<xs:element name="ShortNameId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Organization Code</xs:documentation>
  </xs:annotation>
</xs:element>

element InsertedChangedByType/Organization/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Organization Name
source
<xs:element name="Name" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Organization Name</xs:documentation>
  </xs:annotation>
</xs:element>

element InsertedChangedByType/SignedBy
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Initials of user that inserted/modified the instance.
source
<xs:element name="SignedBy" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Initials of user that inserted/modified the instance.</xs:documentation>
  </xs:annotation>
</xs:element>

complexType OrganizationType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id ShortNameId Name OfficialId
annotation
documentation 
Type for the organizational unit
source
<xs:complexType name="OrganizationType">
  <xs:annotation>
    <xs:documentation>Type for the organizational unit</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Id" type="xs:int"/>
    <xs:element name="ShortNameId" type="xs:string"/>
    <xs:element name="Name" type="xs:string" minOccurs="0"/>
    <xs:element name="OfficialId" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>HIS90 only. HER Id</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element OrganizationType/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:int
source
<xs:element name="Id" type="xs:int"/>

element OrganizationType/ShortNameId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="ShortNameId" type="xs:string"/>

element OrganizationType/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Name" type="xs:string" minOccurs="0"/>

element OrganizationType/OfficialId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
HIS90 only. HER Id
source
<xs:element name="OfficialId" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>HIS90 only. HER Id</xs:documentation>
  </xs:annotation>
</xs:element>

complexType ResourceType
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children Id Code Name
used by
element ContactDiagnosisRegistrationResponse/Contact/MedicalResponsible
annotation
documentation 
Type for a resource
source
<xs:complexType name="ResourceType">
  <xs:annotation>
    <xs:documentation>Type for a resource</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element name="Id" type="xs:string"/>
    <xs:element name="Code" type="xs:string" minOccurs="0"/>
    <xs:element name="Name" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

element ResourceType/Id
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Id" type="xs:string"/>

element ResourceType/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Code" type="xs:string" minOccurs="0"/>

element ResourceType/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Name" type="xs:string"/>

complexType ResourceTypeDiagnosis
diagram
namespace http://healthXML.org/PasLink/Diagnosis
children ResourceId TypeOfId Code Name Property
used by
elements ContactDiagnosisType/MedicalResponsible ContactDiagnosisItem2G/MedicalResponsible
source
<xs:complexType name="ResourceTypeDiagnosis">
  <xs:sequence>
    <xs:element name="ResourceId" type="xs:string">
      <xs:annotation>
        <xs:documentation>Internal Id</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="TypeOfId" type="xs:string">
      <xs:annotation>
        <xs:documentation>Type of Id
For internal id set to LRC</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Code" type="xs:string" minOccurs="0"/>
    <xs:element name="Name" type="xs:string" minOccurs="0"/>
    <xs:element name="Property" type="xs:string" minOccurs="0">
      <xs:annotation>
        <xs:documentation>Resource type</xs:documentation>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element ResourceTypeDiagnosis/ResourceId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Internal Id
source
<xs:element name="ResourceId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Internal Id</xs:documentation>
  </xs:annotation>
</xs:element>

element ResourceTypeDiagnosis/TypeOfId
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Type of Id
For internal id set to LRC
source
<xs:element name="TypeOfId" type="xs:string">
  <xs:annotation>
    <xs:documentation>Type of Id
For internal id set to LRC</xs:documentation>
  </xs:annotation>
</xs:element>

element ResourceTypeDiagnosis/Code
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Code" type="xs:string" minOccurs="0"/>

element ResourceTypeDiagnosis/Name
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
source
<xs:element name="Name" type="xs:string" minOccurs="0"/>

element ResourceTypeDiagnosis/Property
diagram
namespace http://healthXML.org/PasLink/Diagnosis
type xs:string
annotation
documentation 
Resource type
source
<xs:element name="Property" type="xs:string" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Resource type</xs:documentation>
  </xs:annotation>
</xs:element>

simpleType DiagnosisFilterType
namespace http://healthXML.org/PasLink/Diagnosis
type restriction of xs:string
facets
enumeration NotSet
enumeration AllOnTheContact
enumeration OnlyForGivenContact
enumeration OnlyForMedicalContact
enumeration OnlyLastContactDiagnosis
source
<xs:simpleType name="DiagnosisFilterType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="NotSet"/>
    <xs:enumeration value="AllOnTheContact"/>
    <xs:enumeration value="OnlyForGivenContact"/>
    <xs:enumeration value="OnlyForMedicalContact"/>
    <xs:enumeration value="OnlyLastContactDiagnosis"/>
  </xs:restriction>
</xs:simpleType>

simpleType MainSubCategoryType
namespace http://healthXML.org/PasLink/Diagnosis
type restriction of xs:string
used by
element ContactDiagnosisItem2G/MainSubCategory
facets
enumeration NotSet
enumeration MainDiagnosis
enumeration SubDiagnosis
source
<xs:simpleType name="MainSubCategoryType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="NotSet"/>
    <xs:enumeration value="MainDiagnosis"/>
    <xs:enumeration value="SubDiagnosis"/>
  </xs:restriction>
</xs:simpleType>


XML Schema documentation generated with
XML Spy Schema Editor www.xmlspy.com