PackagesCanonicalsLogsProblems
    Packages
    ihe.iti.mhd@4.2.5-comment
    https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessageFullTextSearch
description: A profile on the Find Document References Response message for ITI-67 with Full-Text Search Option
package_name: ihe.iti.mhd
derivation: constraint
name: FindDocumentReferencesResponseFullTextSearch
type: Bundle
elements:
  type:
    pattern: {type: Code, value: searchset}
    index: 0
  total: {index: 1}
  entry:
    index: 2
    elements:
      fullUrl: {index: 3}
    required: [fullUrl]
    slicing:
      rules: open
      discriminator:
      - {path: resource, type: profile}
      min: null
      slices:
        DocumentReference:
          match: {}
          schema:
            short: DocumentReference
            array: true
            index: 4
            elements:
              resource: {type: DocumentReference, index: 5}
              search:
                index: 6
                extensions:
                  matchSnippet: {url: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet', min: 0, type: Extension, index: 8}
                  totalHits: {url: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits', min: 0, max: 1, type: Extension, index: 9}
                elements:
                  extension:
                    index: 7
                    slicing:
                      rules: open
                      ordered: false
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        matchSnippet:
                          match: {url: null}
                          schema: {type: Extension, url: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet', index: 8}
                          min: 0
                        totalHits:
                          match: {url: null}
                          schema: {type: Extension, url: 'https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-total-hits', index: 9}
                          min: 0
                          max: 1
                  mode: {short: 'Indicates how a document was included in the full-text search result (i.e. as a direct match, by relationship, or as supplementary information).', index: 10}
                  score: {short: Represents the relevance of a document to the search query based on a calculated relevance value., index: 11}
                required: [score, mode]
            required: [resource, search]
package_version: 4.2.5-comment
class: profile
kind: resource
url: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.FindDocumentReferencesResponseMessageFullTextSearch
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 4.2.5-comment
required: [total]