<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
    xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" 
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
    xmlns:s="http://www.w3.org/2001/XMLSchema" 
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" 
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    
    xmlns:hfw="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/"
	  xmlns:iinterface="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IInterface/"

	  xmlns:ihrdb_V1="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/"
    targetNamespace="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/"
    >
  <wsdl:types>
    <s:schema
        elementFormDefault="qualified"
        targetNamespace="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/">

      <s:import
         namespace="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/"
         schemaLocation="Common_V1.xsd"
        />



      <s:complexType name="IDAndBLOB">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="id" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="blob" type="s:base64Binary" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfIDAndBLOB">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="IDAndBLOB" type="ihrdb_V1:IDAndBLOB" />
        </s:sequence>
      </s:complexType>


      <s:complexType name="IDAndBLOBAndContentType">
        <s:sequence>
          <s:element minOccurs="1" maxOccurs="1" name="id" type="s:string" />
          <s:element minOccurs="1" maxOccurs="1" name="blob" type="s:base64Binary" />
          <s:element minOccurs="1" maxOccurs="1" name="blobContentType" type="hfw:MIMEContentType" />
        </s:sequence>
      </s:complexType>
      <s:complexType name="ArrayOfIDAndBLOBAndContentType">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="IDAndBLOBAndContentType" type="ihrdb_V1:IDAndBLOBAndContentType" />
        </s:sequence>
      </s:complexType>


      <s:simpleType name="HRDBFeature">
        <s:restriction base="s:string">
          <s:enumeration value="Readable"/>
          <s:enumeration value="Writable"/>
        </s:restriction>
      </s:simpleType>
      <s:complexType name="ArrayOfHRDBFeature">
        <s:sequence>
          <s:element minOccurs="0" maxOccurs="unbounded" name="HRDBFeature" type="ihrdb_V1:HRDBFeature"/>
        </s:sequence>
      </s:complexType>






      <s:element name="GetHRDBFeatures">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetHRDBFeaturesResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="GetHRDBFeaturesResult" type="ihrdb_V1:ArrayOfHRDBFeature"/>
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="EnumSupportedSourceFormats">
        <s:complexType />
      </s:element>
      <s:element name="EnumSupportedSourceFormatsResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="EnumSupportedSourceFormatsResult" type="hfw:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="EnumSupportedTargetFormatsForSource">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="srcContentType" type="hfw:MIMEContentType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="EnumSupportedTargetFormatsForSourceResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="EnumSupportedTargetFormatsForSourceResult" type="hfw:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="EnumAvailableFilters">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="EnumAvailableFiltersResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="EnumAvailableFiltersResult" type="hfw:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="MakeTempHR">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="data" type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
            <s:element minOccurs="0" maxOccurs="1" name="ttlInSeconds" type="s:unsignedInt" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="MakeTempHRResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="MakeTempHRResult" type="hfw:HRID" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="Import">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="data" type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ImportResponse">
        <s:complexType />
      </s:element>

      <s:element name="Export">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
            <s:element minOccurs="0" maxOccurs="1" name="filterName" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="ExportResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="ExportResult" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="Merge">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1" name="fromHRID" type="hfw:HRID" />
            <s:element minOccurs="0" maxOccurs="1" name="intoHRID" type="hfw:HRID" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="MergeResponse">
        <s:complexType />
      </s:element>

      <s:element name="GetAuxBLOBModeHRData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetAuxBLOBModeHRDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="GetAuxBLOBModeHRDataResult" type="s:base64Binary" />
            <s:element minOccurs="1" maxOccurs="1" name="blobIDs" type="hfw:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="GetAuxBLOBModeBLOBData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
            <s:element minOccurs="1" maxOccurs="1" name="blobIDs" type="hfw:ArrayOfString" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="GetAuxBLOBModeBLOBDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="GetAuxBLOBModeBLOBDataResult" type="ihrdb_V1:ArrayOfIDAndBLOB" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="SetAuxBLOBModeBLOBData">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="mimeContentType" type="hfw:MIMEContentType" />
            <s:element minOccurs="1" maxOccurs="1" name="data" type="s:base64Binary" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="SetAuxBLOBModeBLOBDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="clientShouldRefetchData" type="s:boolean" />
          </s:sequence>
        </s:complexType>
      </s:element>

      <s:element name="RunReport">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="hrid" type="hfw:HRID" />
            <s:element minOccurs="1" maxOccurs="1" name="reportID" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="filterName" type="s:string" />
            <s:element minOccurs="0" maxOccurs="1" name="userAgent" type="s:string" />
          </s:sequence>
        </s:complexType>
      </s:element>
      <s:element name="RunReportResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="1" maxOccurs="1" name="reportMimeContentType" type="hfw:MIMEContentType" />
            <s:element minOccurs="1" maxOccurs="1" name="reportData" type="s:base64Binary" />
            <s:element minOccurs="0" maxOccurs="1" name="referencedBLOBs" type="ihrdb_V1:ArrayOfIDAndBLOBAndContentType" />
          </s:sequence>
        </s:complexType>
      </s:element>

    </s:schema>
  </wsdl:types>



  <!-- specific to IInterface Interface-->
  <wsdl:message name="GetInterfaceSoapIn">
    <wsdl:part name="parameters" element="iinterface:GetInterface" />
  </wsdl:message>
  <wsdl:message name="GetInterfaceSoapOut">
    <wsdl:part name="parameters" element="iinterface:GetInterfaceResponse" />
  </wsdl:message>



  <!-- specific to IHRDB_V1 Interface-->
  <wsdl:message name="GetHRDBFeaturesSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:GetHRDBFeatures" />
  </wsdl:message>
  <wsdl:message name="GetHRDBFeaturesSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:GetHRDBFeaturesResponse" />
  </wsdl:message>

  <wsdl:message name="EnumSupportedSourceFormatsSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumSupportedSourceFormats" />
  </wsdl:message>
  <wsdl:message name="EnumSupportedSourceFormatsSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumSupportedSourceFormatsResponse" />
  </wsdl:message>

  <wsdl:message name="EnumSupportedTargetFormatsForSourceSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumSupportedTargetFormatsForSource" />
  </wsdl:message>
  <wsdl:message name="EnumSupportedTargetFormatsForSourceSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumSupportedTargetFormatsForSourceResponse" />
  </wsdl:message>

  <wsdl:message name="EnumAvailableFiltersSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumAvailableFilters" />
  </wsdl:message>
  <wsdl:message name="EnumAvailableFiltersSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:EnumAvailableFiltersResponse" />
  </wsdl:message>

  <wsdl:message name="MakeTempHRSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:MakeTempHR" />
  </wsdl:message>
  <wsdl:message name="MakeTempHRSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:MakeTempHRResponse" />
  </wsdl:message>

  <wsdl:message name="ImportSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:Import" />
  </wsdl:message>
  <wsdl:message name="ImportSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:ImportResponse" />
  </wsdl:message>

  <wsdl:message name="ExportSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:Export" />
  </wsdl:message>
  <wsdl:message name="ExportSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:ExportResponse" />
  </wsdl:message>

  <wsdl:message name="MergeSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:Merge" />
  </wsdl:message>
  <wsdl:message name="MergeSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:MergeResponse" />
  </wsdl:message>

  <wsdl:message name="GetAuxBLOBModeHRDataSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:GetAuxBLOBModeHRData" />
  </wsdl:message>
  <wsdl:message name="GetAuxBLOBModeHRDataSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:GetAuxBLOBModeHRDataResponse" />
  </wsdl:message>

  <wsdl:message name="GetAuxBLOBModeBLOBDataSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:GetAuxBLOBModeBLOBData" />
  </wsdl:message>
  <wsdl:message name="GetAuxBLOBModeBLOBDataSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:GetAuxBLOBModeBLOBDataResponse" />
  </wsdl:message>

  <wsdl:message name="SetAuxBLOBModeBLOBDataSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:SetAuxBLOBModeBLOBData" />
  </wsdl:message>
  <wsdl:message name="SetAuxBLOBModeBLOBDataSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:SetAuxBLOBModeBLOBDataResponse" />
  </wsdl:message>

  <wsdl:message name="RunReportSoapIn">
    <wsdl:part name="parameters" element="ihrdb_V1:RunReport" />
  </wsdl:message>
  <wsdl:message name="RunReportSoapOut">
    <wsdl:part name="parameters" element="ihrdb_V1:RunReportResponse" />
  </wsdl:message>


  <wsdl:portType name="ServiceSoap">

    <wsdl:operation name="GetInterface">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">This function is used to provide a uniform 'interface' to interface versioning. You can call this web method on most HealthFrameWorks web interfaces to request a particular interface. Generally - the 'ID' passed is the same as the namespace used to define the WSDL defining th einterface. The object is often optional, but whether its needed depends on context. Since different interfaces maybe supported on different ports or even hosts, this method returns a URL.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:GetInterfaceSoapIn" />
      <wsdl:output message="ihrdb_V1:GetInterfaceSoapOut" />
    </wsdl:operation>


    <wsdl:operation name="GetHRDBFeatures">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Returns the feautres associated given HR (and dependent on the authentication provided with the SOAP message).</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:GetHRDBFeaturesSoapIn" />
      <wsdl:output message="ihrdb_V1:GetHRDBFeaturesSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedSourceFormats">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">List all input formats (MIME Content-Types) the server supports.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:EnumSupportedSourceFormatsSoapIn" />
      <wsdl:output message="ihrdb_V1:EnumSupportedSourceFormatsSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedTargetFormatsForSource">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">List all output formats (MIME Content-Types) the server supports. Optionally specify a source-content-type.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:EnumSupportedTargetFormatsForSourceSoapIn" />
      <wsdl:output message="ihrdb_V1:EnumSupportedTargetFormatsForSourceSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="EnumAvailableFilters">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">List the global 'filters' - data subsetting customizations - associated with the given HR.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:EnumAvailableFiltersSoapIn" />
      <wsdl:output message="ihrdb_V1:EnumAvailableFiltersSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="MakeTempHR">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Create a temporary HR object. The caller can optionally specify data to initialize the health record. And the health record will automatically expire after the amount of time given by the ttlInSeconds. Note - the server may save teh HR for less time than the given ttl.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:MakeTempHRSoapIn" />
      <wsdl:output message="ihrdb_V1:MakeTempHRSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="Import">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Import the given medical record (given by 'data'). The caller can specify a 'mimeContentType' to tell how to interpret 'data' or it can be guessed by the server. Import overwriting the given (required) hrid.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:ImportSoapIn" />
      <wsdl:output message="ihrdb_V1:ImportSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="Export">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Export the contents of the named health record, and return the result as a BLOB. The caller can specify a MIMEContentType for the format of the medical record, and an optional filter to produce a subset of the medical record.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:ExportSoapIn" />
      <wsdl:output message="ihrdb_V1:ExportSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="Merge">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Merge the contents of the health record named by fromHRID into the already existing health record named by 'intoHRID'.</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:MergeSoapIn" />
      <wsdl:output message="ihrdb_V1:MergeSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeHRData">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">GetAuxBLOBModeHRData () is a way to fetch a HR object more efficiently - not necessarily downloading all the BLOBs associated with the file. The BLOBs may be removed by the server, and replaced with IDs in the source document, and an array of blobs is returned by this function. The actual data can be feteched via GetAuxBLOBModeBLOBData ().</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:GetAuxBLOBModeHRDataSoapIn" />
      <wsdl:output message="ihrdb_V1:GetAuxBLOBModeHRDataSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeBLOBData">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Fetch tbe BLOB data associated with a prior call to GetAuxBLOBModeHRData (). See GetAuxBLOBModeHRData ().</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:GetAuxBLOBModeBLOBDataSoapIn" />
      <wsdl:output message="ihrdb_V1:GetAuxBLOBModeBLOBDataSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="SetAuxBLOBModeBLOBData">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Upload a document (which had previously been downloaded via GetAuxBLOBModeHRData () - and with BLOB data not included. Any NEW BLOBs - get inlined. The process of uploading the docuemnt could cause the set of 'blob-ids' to change, or other things could cause change. So clientShouldRefetchData is set true on result if the caller should refetch the health record after calling Set (nb. - most BLOBs will be preserved)</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:SetAuxBLOBModeBLOBDataSoapIn" />
      <wsdl:output message="ihrdb_V1:SetAuxBLOBModeBLOBDataSoapOut" />
    </wsdl:operation>

    <wsdl:operation name="RunReport">
      <wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">NB: reportID can be a GUID or symbolic name (using report aliases).</wsdl:documentation>
      <wsdl:input message="ihrdb_V1:RunReportSoapIn" />
      <wsdl:output message="ihrdb_V1:RunReportSoapOut" />
    </wsdl:operation>

  </wsdl:portType>
  

  
  <wsdl:binding name="ServiceSoap" type="ihrdb_V1:ServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />

    <wsdl:operation name="GetInterface">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/GetInterface" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>


    <wsdl:operation name="GetHRDBFeatures">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetHRDBFeatures" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedSourceFormats">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumSupportedSourceFormats" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedTargetFormatsForSource">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumSupportedTargetFormatsForSource" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumAvailableFilters">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumAvailableFilters" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="MakeTempHR">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/MakeTempHR" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Import">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Import" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Export">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Export" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Merge">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Merge" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeHRData">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetAuxBLOBModeHRData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeBLOBData">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetAuxBLOBModeBLOBData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="SetAuxBLOBModeBLOBData">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/SetAuxBLOBModeBLOBData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="RunReport">
      <soap:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/RunReport" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

  </wsdl:binding>

  

  <wsdl:binding name="ServiceSoap12" type="ihrdb_V1:ServiceSoap">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />


    <wsdl:operation name="GetInterface">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/GetInterface" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>



    <wsdl:operation name="GetHRDBFeatures">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetHRDBFeatures" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedSourceFormats">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumSupportedSourceFormats" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumSupportedTargetFormatsForSource">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumSupportedTargetFormatsForSource" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="EnumAvailableFilters">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/EnumAvailableFilters" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="MakeTempHR">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/MakeTempHR" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Import">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Import" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Export">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Export" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="Merge">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/Merge" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeHRData">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetAuxBLOBModeHRData" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="GetAuxBLOBModeBLOBData">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/GetAuxBLOBModeBLOBData" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="SetAuxBLOBModeBLOBData">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/SetAuxBLOBModeBLOBData" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

    <wsdl:operation name="RunReport">
      <soap12:operation soapAction="http://www.RecordsForLiving.com/Schemas/2009-04/HealthFrameWorks/IHRDB_V1/RunReport" style="document" />
      <wsdl:input>
        <soap12:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal" />
      </wsdl:output>
    </wsdl:operation>

  </wsdl:binding>

  
  
  <wsdl:service name="Service">
    <wsdl:port name="ServiceSoap" binding="ihrdb_V1:ServiceSoap">
      <soap:address location="https://Demo.HealthFrameWorks.com:8087/" />
    </wsdl:port>
    <wsdl:port name="ServiceSoap12" binding="ihrdb_V1:ServiceSoap12">
      <soap12:address location="https://Demo.HealthFrameWorks.com:8087/" />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

