3.73 Organization search response
Raw XML
<Bundle xmlns="http://hl7.org/fhir">
<!-- id will typically be a guid -->
<id value="example-organization-search"/>
<!-- The profile declaration isn't required, but will help with automated validation using existing tools for examples -->
<meta>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/interaction-bundle-query-organization"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="Shared3.0"/>
</tag>
</meta>
<type value="searchset"/>
<link>
<relation value="self"/>
<url
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization?address-postalcode=A&_include=Organization%3Apractitioner&address-state=ON&role=PROFF&_count=1"/>
</link>
<entry>
<fullUrl
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
<resource>
<Organization>
<id value="CPR1000991"/>
<meta>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-organization-tpr"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="Shared3.0"/>
</tag>
</meta>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-entity-service">
<extension url="code">
<valueCode value="prescribeit-rx"/>
</extension>
<extension url="status">
<valueCode value="active"/>
</extension>
</extension>
<identifier>
<system
value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-organization"/>
<value value="CPR1000991"/>
</identifier>
<name value="PS Suite #8888"/>
<telecom>
<system value="phone"/>
<value value="(123) 123-4567"/>
<use value="work"/>
</telecom>
<address>
<line value="456 Some Street"/>
<city value="Hamilton"/>
<state value="ON"/>
<postalCode value="A1B 2C4"/>
<country value="Canada"/>
</address>
</Organization>
</resource>
<search>
<mode value="match"/>
</search>
</entry>
<entry>
<fullUrl
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Practitioner/2263396629"/>
<resource>
<Practitioner>
<id value="2263396629"/>
<meta>
<profile
value="http://sharedhealth.exchange/fhir/StructureDefinition/profile-practitioner-tpr"/>
<tag>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedspecificationversion"/>
<code value="Shared3.0"/>
</tag>
</meta>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-entity-service">
<extension url="code">
<valueCode value="prescribeit-rx"/>
</extension>
<extension url="status">
<valueCode value="active"/>
</extension>
</extension>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-entity-service">
<extension url="code">
<valueCode value="prescribeit-rx"/>
</extension>
<extension url="status">
<valueCode value="active"/>
</extension>
</extension>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-entity-service">
<extension url="code">
<valueCode value="clinician-comm"/>
</extension>
<extension url="status">
<valueCode value="active"/>
</extension>
</extension>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="LN"/>
</coding>
<text value="License number"/>
</type>
<system value="urn:oid:2.16.840.1.113883.4.41"/>
<!-- License ID may be part of the SAML token -->
<value value="134IDY41W988"/>
</identifier>
<identifier>
<type>
<coding>
<system value="http://hl7.org/fhir/v2/0203"/>
<code value="PRN"/>
</coding>
</type>
<system
value="http://sharedhealth.exchange/fhir/NamingSystem/registry-id-practitioner"/>
<!-- Provider ID may be part of the SAML token -->
<value value="2263396629"/>
</identifier>
<name>
<use value="official"/>
<family value="Mouse"/>
<!-- EMR Suffix will be included in the family tag -->
<given value="Mickey"/>
<prefix value="Dr"/>
</name>
<telecom>
<system value="phone"/>
<value value="2263396629"/>
<use value="work"/>
</telecom>
<practitionerRole>
<organization>
<reference
value="https://api.sharedhealth.exchange/rest/v1/preconf/THP/TPR_vs1/Organization/CPR1000991"/>
</organization>
</practitionerRole>
<communication>
<coding>
<system value="urn:ietf:bcp:47"/>
<code value="en-CA"/>
</coding>
</communication>
</Practitioner>
</resource>
<search>
<mode value="include"/>
</search>
</entry>
<entry>
<fullUrl value="urn:uuid:16daab52-d3a5-4ff2-a821-95d6a11c9e68"/>
<resource>
<OperationOutcome>
<id value="16daab52-d3a5-4ff2-a821-95d6a11c9e68"/>
<issue>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-referencenum">
<valueString value="238476"/>
</extension>
<extension
url="http://sharedhealth.exchange/fhir/StructureDefinition/ext-operationoutcome-usertext">
<valueString
value="An error has occurred. Please revert to manual processing for this message. (Detail Code: 1SS121 Reference Number: 83034433)"/>
</extension>
<severity value="error"/>
<code value="invalid"/>
<details>
<coding>
<system
value="https://fhir.infoway-inforoute.ca/CodeSystem/sharedissuedetails"/>
<code value="ISS121"/>
</coding>
<text
value="FHIR Message Validation failed. Message is not properly formatted."/>
</details>
<diagnostics
value="Error at line 125. This text comes from the Central Switch validator or contains key diagnostic information."/>
</issue>
</OperationOutcome>
</resource>
<search>
<mode value="outcome"/>
</search>
</entry>
</Bundle>