Skip to content

Data Transfer Process Start v0.5.1

Hauke Hund edited this page Jun 25, 2022 · 1 revision

ToDo Description of elements within XML that need to be modified ToDo Example curl command to post Task resource to local DSF FHIR Server.

When the pseudonym is already part of the patient resource in the local GECCO FHIR server, start with a logical reference to the patient resource using the pseudonym.

<Task xmlns="http://hl7.org/fhir">
   <meta>
      <profile value="http://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/task-start-data-send|0.5.1"/>
   </meta>
   <instantiatesUri value="http://www.netzwerk-universitaetsmedizin.de/bpe/Process/dataSend/0.5.1"/>
   <status value="requested"/>
   <intent value="order"/>
   <authoredOn value="2022-06-25T12:00:00+01:00"/>
   <requester>
      <type value="Organization"/>
      <identifier>
         <system value="http://highmed.org/sid/organization-identifier"/>
         <value value="Test_DIC"/>
      </identifier>
   </requester>
   <restriction>
      <recipient>
         <type value="Organization"/>
         <identifier>
            <system value="http://highmed.org/sid/organization-identifier"/>
            <value value="Test_DIC"/>
         </identifier>
      </recipient>
   </restriction>
   <input>
      <type>
         <coding>
            <system value="http://highmed.org/fhir/CodeSystem/bpmn-message"/>
            <code value="message-name"/>
         </coding>
      </type>
      <valueString value="startDataSend"/>
   </input>
   <!-- parameter defined the patient, for whom data should be transferred,
		specified using the dic-pseudonym NamingSystem in the form source/original 
		(source = fttp domain, original = DIC pseudonym) -->
   <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="patient"/>
         </coding>
      </type>
      <valueReference>
         <type value="Patient"></type>
         <identifier>
            <system value="http://www.netzwerk-universitaetsmedizin.de/sid/dic-pseudonym"/>
            <value value="source/original"/>
         </identifier>
      </valueReference>
   </input>
   <!-- parameter specifying GECCO resources should be send stopping at the 
		defined date, resources that have been modified after the specified date 
		will not be transmitted, typically this will be the current date time -->
   <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="export-to"/>
         </coding>
      </type>
      <valueInstant value="2022-06-25T12:00:00+01:00"/>
   </input>
   <!-- optional parameter specifying GECCO resources should be send starting 
		at the defined date, resources older than the specified date will not be 
		transported -->
   <!-- <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="export-from"/>
         </coding>
      </type>
      <valueDateTime value="2020-06-25T00:00:00+01:00"/>
   </input> -->
</Task>

When requesting pseudonyms from the fTTP using the data transfer process. Start with an absolute reference to the patient resource in the local GECCO FHIR server.

<Task xmlns="http://hl7.org/fhir">
   <meta>
      <profile value="http://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/task-start-data-send|0.5.1"/>
   </meta>
   <instantiatesUri value="http://www.netzwerk-universitaetsmedizin.de/bpe/Process/dataSend/0.5.1"/>
   <status value="requested"/>
   <intent value="order"/>
   <authoredOn value="2022-06-25T12:00:00+01:00"/>
   <requester>
      <type value="Organization"/>
      <identifier>
         <system value="http://highmed.org/sid/organization-identifier"/>
         <value value="Test_DIC"/>
      </identifier>
   </requester>
   <restriction>
      <recipient>
         <type value="Organization"/>
         <identifier>
            <system value="http://highmed.org/sid/organization-identifier"/>
            <value value="Test_DIC"/>
         </identifier>
      </recipient>
   </restriction>
   <input>
      <type>
         <coding>
            <system value="http://highmed.org/fhir/CodeSystem/bpmn-message"/>
            <code value="message-name"/>
         </coding>
      </type>
      <valueString value="startDataSend"/>
   </input>
   <!-- parameter defined the patient, for whom data should be transferred,
		specified using an absolute reference -->
   <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="patient"/>
         </coding>
      </type>
      <valueReference>
         <reference value="http://dic-fhir-store:8080/fhir/Patient/1"/>
      </valueReference>
   </input>
   <!-- parameter specifying GECCO resources should be send stopping at the 
		defined date, resources that have been modified after the specified date 
		will not be transmitted, typically this will be the current date time -->
   <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="export-to"/>
         </coding>
      </type>
      <valueInstant value="2022-06-25T12:00:00+01:00"/>
   </input>
   <!-- optional parameter specifying GECCO resources should be send starting 
		at the defined date, resources older than the specified date will not be 
		transported -->
   <!-- <input>
      <type>
         <coding>
            <system value="http://www.netzwerk-universitaetsmedizin.de/fhir/CodeSystem/data-transfer"/>
            <code value="export-from"/>
         </coding>
      </type>
      <valueDateTime value="2020-06-25T00:00:00+01:00"/>
   </input> -->
</Task>
Clone this wiki locally