bundle-templates.test-bundle.xml Maven / Gradle / Ivy
The newest version!
<Bundle xmlns="http://hl7.org/fhir"> <type value="transaction"/> <entry> <fullUrl value="urn:uuid:bb73165c-c7b9-4342-8e28-531f07fa7735"/> <resource> <Organization xmlns="http://hl7.org/fhir"> <meta> <profile value="http://dsf.dev/fhir/StructureDefinition/organization"/> <tag> <system value="http://dsf.dev/fhir/CodeSystem/read-access-tag"/> <code value="ALL"/> </tag> </meta> <extension url="http://dsf.dev/fhir/StructureDefinition/extension-certificate-thumbprint"> <valueString value="TODO"/> </extension> <identifier> <system value="http://dsf.dev/sid/organization-identifier"/> <value value="Test_Organization"/> </identifier> <active value="true"/> <endpoint> <reference value="urn:uuid:b879e904-d666-45de-a995-accdd4429b79"/> <type value="Endpoint"/> </endpoint> </Organization> </resource> <request> <method value="POST"/> <url value="Organization"/> <ifNoneExist value="identifier=http://dsf.dev/sid/organization-identifier|Test_Organization"/> </request> </entry> <entry> <fullUrl value="urn:uuid:b879e904-d666-45de-a995-accdd4429b79"/> <resource> <Endpoint xmlns="http://hl7.org/fhir"> <meta> <profile value="http://dsf.dev/fhir/StructureDefinition/endpoint"/> <tag> <system value="http://dsf.dev/fhir/CodeSystem/read-access-tag"/> <code value="ALL"/> </tag> </meta> <identifier> <system value="http://dsf.dev/sid/endpoint-identifier"/> <value value="${dev.dsf.fhir.server.endpoint.identifier.value}"/> </identifier> <status value="active"/> <connectionType> <system value="http://terminology.hl7.org/CodeSystem/endpoint-connection-type"/> <code value="hl7-fhir-rest"/> </connectionType> <managingOrganization> <reference value="urn:uuid:bb73165c-c7b9-4342-8e28-531f07fa7735"/> <type value="Organization"/> </managingOrganization> <payloadType> <coding> <system value="http://hl7.org/fhir/resource-types"/> <code value="Task"/> </coding> </payloadType> <payloadMimeType value="application/fhir+json"/> <payloadMimeType value="application/fhir+xml"/> <address value="${dev.dsf.fhir.server.endpoint.address}"/> </Endpoint> </resource> <request> <method value="POST"/> <url value="Endpoint"/> <ifNoneExist value="identifier=http://dsf.dev/sid/endpoint-identifier|${dev.dsf.fhir.server.endpoint.identifier.value}"/> </request> </entry> <entry> <fullUrl value="urn:uuid:c4a7b553-01b1-4b50-bcb3-1467f5ae6791"/> <resource> <Organization xmlns="http://hl7.org/fhir"> <meta> <profile value="http://dsf.dev/fhir/StructureDefinition/organization-parent"/> <tag> <system value="http://dsf.dev/fhir/CodeSystem/read-access-tag"/> <code value="ALL"/> </tag> </meta> <identifier> <system value="http://dsf.dev/sid/organization-identifier"/> <value value="Parent_Organization"/> </identifier> <active value="true"/> </Organization> </resource> <request> <method value="POST"/> <url value="Organization"/> <ifNoneExist value="identifier=http://dsf.dev/sid/organization-identifier|Parent_Organization"/> </request> </entry> <entry> <fullUrl value="urn:uuid:78eee72c-a682-4648-bcc9-909d7c2f2c84"/> <resource> <OrganizationAffiliation xmlns="http://hl7.org/fhir"> <meta> <profile value="http://dsf.dev/fhir/StructureDefinition/organization-affiliation"/> <tag> <system value="http://dsf.dev/fhir/CodeSystem/read-access-tag"/> <code value="ALL"/> </tag> </meta> <active value="true"/> <organization> <reference value="urn:uuid:c4a7b553-01b1-4b50-bcb3-1467f5ae6791"/> <type value="Organization"/> <type value="Organization"/> </organization> <participatingOrganization> <reference value="urn:uuid:bb73165c-c7b9-4342-8e28-531f07fa7735"/> <type value="Organization"/> <type value="Organization"/> </participatingOrganization> <code> <coding> <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/> <code value="DIC"/> </coding> <coding> <system value="http://dsf.dev/fhir/CodeSystem/organization-role"/> <code value="COS"/> </coding> </code> <endpoint> <reference value="urn:uuid:b879e904-d666-45de-a995-accdd4429b79"/> <type value="Endpoint"/> </endpoint> </OrganizationAffiliation> </resource> <request> <method value="POST"/> <url value="OrganizationAffiliation"/> <ifNoneExist value="primary-organization:identifier=http://dsf.dev/sid/organization-identifier|Parent_Organization&participating-organization:identifier=http://dsf.dev/sid/organization-identifier|Test_Organization"/> </request> </entry> </Bundle>