Skip to content

Commit

Permalink
changes for communication
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschoffke committed Sep 19, 2024
1 parent 31df896 commit 6fc8566
Show file tree
Hide file tree
Showing 16 changed files with 233 additions and 414 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
}
}],
"payload": [{
"contentString": "{ \"version\": 1, \"supplyOptionsType\": \"delivery\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"hint\": \"Bitte im Morsecode klingeln: -.-.\", \"phone\": \"004916094858168\" }"
"contentString": "{ \"version\": 1, \"supplyOptionsType\": \"onPremise\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"phone\": \"004916094858168\" }"
}]
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"payload": [
{
"contentString": "{ \"version\": 1, \"supplyOptionsType\": \"delivery\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"hint\": \"Bitte im Morsecode klingeln: -.-.\", \"phone\": \"004916094858168\" }"
"contentString": "{ \"version\": 1, \"supplyOptionsType\": \"onPremise\", \"name\": \"Dr. Maximilian von Muster\", \"address\": [ \"wohnhaft bei Emilia Fischer\", \"Bundesallee 312\", \"123. OG\", \"12345 Berlin\" ], \"phone\": \"004916094858168\" }"
}
]
}
168 changes: 43 additions & 125 deletions API-Examples/2023-07-01/erp_communication/08_response_GetAllMessages.xml
Original file line number Diff line number Diff line change
@@ -1,126 +1,44 @@
<Bundle xmlns="http://hl7.org/fhir">
<id value="48829c84-7ad7-4834-8362-2c2c109379b1"/>
<meta>
<lastUpdated value="2020-04-13T07:11:18.245+00:00"/>
</meta>
<type value="searchset"/>
<total value="391"/>
<link>
<relation value="self"/>
<url value="https://erp.zentral.erp.splitdns.ti-dienste.de/Communication?_format=html%2Fxml&amp;_sort=sent&amp;sent=gt2020-04-01&sent=lt2020-04-30"/>
</link>
<link>
<relation value="next"/>
<url value="https://erp.zentral.erp.splitdns.ti-dienste.de?_getpages=48829c84-7ad7-4834-8362-2c2c109379b1&amp;_getpagesoffset=50&amp;_count=50&amp;_bundletype=searchset"/>
</link>
<entry>
<fullUrl value="https://erp.zentral.erp.splitdns.ti-dienste.de/Communication/74671"/>
<resource>
<Communication xmlns="http://hl7.org/fhir">
<id value="74671"/>
<meta>
<versionId value="1"/>
<lastUpdated value="2020-04-12T18:01:10+00:00"/>
<source value="#H8gavJ2v535x6V3f"/>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_InfoReq|1.2" />
</meta>
<contained>
<Medication>
<id value="5fe6e06c-8725-46d5-aecd-e65e041ca3de" />
<meta>
<profile value="https://fhir.kbv.de/StructureDefinition/KBV_PR_ERP_Medication_PZN|1.1.0" />
</meta>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Category">
<valueCoding>
<system value="https://fhir.kbv.de/CodeSystem/KBV_CS_ERP_Medication_Category" />
<code value="00" />
</valueCoding>
</extension>
<extension url="https://fhir.kbv.de/StructureDefinition/KBV_EX_ERP_Medication_Vaccine">
<valueBoolean value="false" />
</extension>
<extension url="http://fhir.de/StructureDefinition/normgroesse">
<valueCode value="N1" />
</extension>
<code>
<coding>
<system value="http://fhir.de/CodeSystem/ifa/pzn" />
<code value="06313728" />
</coding>
<text value="Sumatriptan-1a Pharma 100 mg Tabletten" />
</code>
<form>
<coding>
<system value="https://fhir.kbv.de/CodeSystem/KBV_CS_SFHIR_KBV_DARREICHUNGSFORM" />
<code value="TAB" />
</coding>
</form>
<amount>
<numerator>
<value value="12" />
<unit value="TAB" />
<system value="http://unitsofmeasure.org" />
<code value="{tbl}" />
</numerator>
<denominator>
<value value="1" />
</denominator>
</amount>
</Medication>
</contained>
<status value="unknown" />
<about>
<reference value="#5fe6e06c-8725-46d5-aecd-e65e041ca3de" />
</about>
<sent value="2020-04-12T18:01:10+00:00" />
<received value="2020-04-12T18:02:10+00:00" />
<recipient>
<identifier>
<system value="https://gematik.de/fhir/sid/telematik-id" />
<value value="3-1.54.10123404" />
</identifier>
</recipient>
<sender>
<identifier>
<system value="http://fhir.de/sid/gkv/kvid-10" />
<value value="X234567890" />
</identifier>
</sender>
<payload>
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_InsuranceProvider">
<valueIdentifier>
<system value="http://fhir.de/sid/arge-ik/iknr" />
<value value="104212059" />
</valueIdentifier>
</extension>
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SupplyOptionsType">
<extension url="onPremise">
<valueBoolean value="true" />
</extension>
<extension url="delivery">
<valueBoolean value="true" />
</extension>
<extension url="shipment">
<valueBoolean value="false" />
</extension>
</extension>
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_SubstitutionAllowedType">
<valueBoolean value="true" />
</extension>
<extension url="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_EX_PrescriptionType">
<valueCoding>
<system value="https://gematik.de/fhir/erp/CodeSystem/GEM_ERP_CS_FlowType" />
<code value="160" />
<display value="Muster 16 (Apothekenpflichtige Arzneimittel)" />
</valueCoding>
</extension>
<contentString value="Hallo, ich wollte gern fragen, ob das Medikament bei Ihnen vorraetig ist." />
</payload>
</Communication>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
[...]
<?xml version="1.0" encoding="UTF-8"?>
<Bundle xmlns="http://hl7.org/fhir">
<id value="erp-communication-08-response-GetAllMessages"/>
<meta>
<lastUpdated value="2020-04-13T07:11:18.245+00:00"/>
</meta>
<type value="searchset"/>
<total value="391"/>
<link>
<relation value="self"/>
<url value="https://erp.zentral.erp.splitdns.ti-dienste.de/Communication?_format=html%2Fxml&amp;_sort=sent&amp;sent=gt2020-04-01&amp;sent=lt2020-04-30"/>
</link>
<link>
<relation value="next"/>
<url value="https://erp.zentral.erp.splitdns.ti-dienste.de?_getpages=48829c84-7ad7-4834-8362-2c2c109379b1&amp;_getpagesoffset=50&amp;_count=50&amp;_bundletype=searchset"/>
</link>
<entry>
<fullUrl value="https://erp.zentral.erp.splitdns.ti-dienste.de/Communication/d6e013c3-656f-43c4-9ca6-4cd46ffeb37e"/>
<resource>
<Communication>
<id value="d6e013c3-656f-43c4-9ca6-4cd46ffeb37e"/>
<meta>
<profile value="https://gematik.de/fhir/erp/StructureDefinition/GEM_ERP_PR_Communication_DispReq|1.3"/>
</meta>
<basedOn>
<reference value="Task/160.123.456.789.123.58/$accept?ac=777bea0e13cc9c42ceec14aec3ddee2263325dc2c6c699db115f58fe423607ea"/>
</basedOn>
<status value="unknown"/>
<recipient>
<identifier>
<system value="https://gematik.de/fhir/sid/telematik-id"/>
<value value="3-1.54.10123404"/>
</identifier>
</recipient>
<payload>
<contentString value="{ &quot;version&quot;: 1, &quot;supplyOptionsType&quot;: &quot;onPremise&quot;, &quot;name&quot;: &quot;Dr. Maximilian von Muster&quot;, &quot;address&quot;: [ &quot;wohnhaft bei Emilia Fischer&quot;, &quot;Bundesallee 312&quot;, &quot;123. OG&quot;, &quot;12345 Berlin&quot; ], &quot;phone&quot;: &quot;004916094858168&quot; }"/>
</payload>
</Communication>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
</Bundle>
Loading

0 comments on commit 6fc8566

Please sign in to comment.