FHIR:Vissue-MM-2759 Search result examples: verschil tussen versies

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
Regel 8: Regel 8:
 
     <total value="1"/> <!-- Bundle.total is set to the number of matches for the request -->
 
     <total value="1"/> <!-- Bundle.total is set to the number of matches for the request -->
 
     <link>
 
     <link>
      <relation value="self"/>
+
        <relation value="self"/>
      <url value="https://example-server.nl/fhir/Observation?code=http://loinc.org|85354-9"/> <!-- The "self link" reflects the search as it was understood by the server -->
+
        <url value="https://example-server.nl/fhir/Observation?code=http://loinc.org|85354-9"/> <!-- The "self link" reflects the search as it was understood by the server -->
 
     </link>
 
     </link>
 
     <entry>
 
     <entry>
      <fullUrl value="https://example-server.nl/fhir/Observation/observation-123"/>
+
        <fullUrl value="https://example-server.nl/fhir/Observation/observation-123"/>
      <resource>
+
        <resource>
        <Observation>
+
            <Observation>
          <id value="observation-123" />
+
                <id value="observation-123" />
          ...
+
                ...
        </Observation>
+
            </Observation>
      </resource>
+
        </resource>
      <search>
+
        <search>
        <mode value="match"/> <!-- Resources that match the search request have mode set to 'match' -->
+
            <mode value="match"/> <!-- Resources that match the search request have mode set to 'match' -->
      </search>
+
        </search>
 
     </entry>
 
     </entry>
 +
</Bundle>
 
</syntaxhighlight>
 
</syntaxhighlight>

Versie van 13 mei 2022 15:01


<Bundle xmlns="http://hl7.org/fhir" >
    <id value="example-id"/> <!-- Bundle.id is not different than any other Resource.id -->
    <type value="searchset"/> <!-- Bundle.type should be set to 'searchset' -->
    <total value="1"/> <!-- Bundle.total is set to the number of matches for the request -->
    <link>
        <relation value="self"/>
        <url value="https://example-server.nl/fhir/Observation?code=http://loinc.org|85354-9"/> <!-- The "self link" reflects the search as it was understood by the server -->
    </link>
    <entry>
        <fullUrl value="https://example-server.nl/fhir/Observation/observation-123"/>
        <resource>
            <Observation>
                <id value="observation-123" />
                ...
            </Observation>
        </resource>
        <search>
            <mode value="match"/> <!-- Resources that match the search request have mode set to 'match' -->
        </search>
    </entry>
</Bundle>