Implementation Guide
ePA MHD Service
Version 1.1.1 - release

Extension: FullTextSearchMatchSnippet - TTL Profile

Active as of 2026-02-18

TTL representation of the ihe-full-text-search-match-snippet extension.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "ihe-full-text-search-match-snippet"] ; # 
  fhir:url [
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet"^^xsd:anyURI ;
fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet>
  ] ; # 
  fhir:version [ fhir:v "4.2.4-current"] ; # 
  fhir:name [ fhir:v "FullTextSearchMatchSnippet"] ; # 
  fhir:title [ fhir:v "Full-Text Search Match Snippet"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:date [ fhir:v "2026-02-18T15:27:46+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "IHE IT Infrastructure Technical Committee"] ; # 
  fhir:contact ( [
    ( fhir:telecom [
fhir:system [ fhir:v "url" ] ;
fhir:value [ fhir:v "https://www.ihe.net/ihe_domains/it_infrastructure/" ]     ] )
  ] [
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "iti@ihe.net" ]     ] )
  ] [
fhir:name [ fhir:v "IHE IT Infrastructure Technical Committee" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "iti@ihe.net" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "This extension contains a text snippet describing the context of a full-text search match. It highlights relevant content that corresponds to the provided search terms and provides a concise preview of the search result."] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [
fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
fhir:l <urn:iso:std:iso:3166>       ] ;
fhir:code [ fhir:v "DE" ]     ] )
  ] ) ; # 
  fhir:fhirVersion [ fhir:v "4.0.1"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [
fhir:v "http://hl7.org/v3"^^xsd:anyURI ;
fhir:l <http://hl7.org/v3>     ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "complex-type"] ; # 
  fhir:abstract [ fhir:v false] ; # 
  fhir:context ( [
fhir:type [ fhir:v "element" ] ;
fhir:expression [ fhir:v "Bundle.entry.search" ]
  ] ) ; # 
  fhir:type [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension
  ] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>
  ] ; # 
  fhir:derivation [ fhir:v "constraint"] ; # 
  fhir:snapshot [
    ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version>       ] ;
fhir:value [
a fhir:String ;
fhir:v "4.0.1"       ]     ] ) ;
    ( fhir:element [
fhir:id [ fhir:v "Extension" ] ;
fhir:path [ fhir:v "Extension" ] ;
fhir:short [ fhir:v "Full-Text Search Match Snippet" ] ;
fhir:definition [ fhir:v "This extension contains a text snippet describing the context of a full-text search match. It highlights relevant content that corresponds to the provided search terms and provides a concise preview of the search result." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:condition [ fhir:v "ele-1" ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.id" ] ;
fhir:path [ fhir:v "Extension.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "closed" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "snippet" ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet.id" ] ;
fhir:path [ fhir:v "Extension.extension.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:snippet.extension" ] ;
fhir:path [ fhir:v "Extension.extension.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:fixed [
a fhir:Uri ;
fhir:v "snippet"^^xsd:anyURI ;
fhir:l fhir:snippet       ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:snippet.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "Human-readable text snippet describing the context of the search match." ] ;
fhir:definition [ fhir:v "This value contains a short, human-readable text snippet that describes the context of the search match. It enables quick orientation by presenting relevant content from the identified document or resource." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "pageNumber" ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.id" ] ;
fhir:path [ fhir:v "Extension.extension.id" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "Unique id for inter-element referencing" ] ;
fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Element.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.extension" ] ;
fhir:path [ fhir:v "Extension.extension.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "open" ]       ] ;
fhir:short [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "An Extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Element.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "Extension"^^xsd:anyURI ;
fhir:l fhir:Extension         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] [
fhir:key [ fhir:v "ext-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ;
fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ;
fhir:xpath [ fhir:v "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Extension"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Extension>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ]     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:fixed [
a fhir:Uri ;
fhir:v "pageNumber"^^xsd:anyURI ;
fhir:l fhir:pageNumber       ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "For paginated documents (e.g. PDF), indicates the page on which the full-text search match was found." ] ;
fhir:definition [ fhir:v "For documents with pagination, such as PDF files, this element may be used to indicate the specific page on which the full-text search identified a match." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.url" ] ;
fhir:path [ fhir:v "Extension.url" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:short [ fhir:v "identifies the meaning of the extension" ] ;
fhir:definition [ fhir:v "Source of the definition for the extension code - a logical name or a URL." ] ;
fhir:comment [ fhir:v "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.url" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
        ( fhir:extension [
fhir:url [
fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type>           ] ;
fhir:value [
a fhir:Url ;
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri           ]         ] ) ;
fhir:code [
fhir:v "http://hl7.org/fhirpath/System.String"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhirpath/System.String>         ]       ] ) ;
fhir:fixed [
a fhir:Uri ;
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet"^^xsd:anyURI ;
fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet>       ] ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] [
fhir:id [ fhir:v "Extension.value[x]" ] ;
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:short [ fhir:v "Value of extension" ] ;
fhir:definition [ fhir:v "Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "0" ] ;
fhir:base [
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [
fhir:v "base64Binary"^^xsd:anyURI ;
fhir:l fhir:base64Binary         ]       ] [
fhir:code [
fhir:v "boolean"^^xsd:anyURI ;
fhir:l fhir:boolean         ]       ] [
fhir:code [
fhir:v "canonical"^^xsd:anyURI ;
fhir:l fhir:canonical         ]       ] [
fhir:code [
fhir:v "code"^^xsd:anyURI ;
fhir:l fhir:code         ]       ] [
fhir:code [
fhir:v "date"^^xsd:anyURI ;
fhir:l fhir:date         ]       ] [
fhir:code [
fhir:v "dateTime"^^xsd:anyURI ;
fhir:l fhir:dateTime         ]       ] [
fhir:code [
fhir:v "decimal"^^xsd:anyURI ;
fhir:l fhir:decimal         ]       ] [
fhir:code [
fhir:v "id"^^xsd:anyURI ;
fhir:l fhir:id         ]       ] [
fhir:code [
fhir:v "instant"^^xsd:anyURI ;
fhir:l fhir:instant         ]       ] [
fhir:code [
fhir:v "integer"^^xsd:anyURI ;
fhir:l fhir:integer         ]       ] [
fhir:code [
fhir:v "markdown"^^xsd:anyURI ;
fhir:l fhir:markdown         ]       ] [
fhir:code [
fhir:v "oid"^^xsd:anyURI ;
fhir:l fhir:oid         ]       ] [
fhir:code [
fhir:v "positiveInt"^^xsd:anyURI ;
fhir:l fhir:positiveInt         ]       ] [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] [
fhir:code [
fhir:v "time"^^xsd:anyURI ;
fhir:l fhir:time         ]       ] [
fhir:code [
fhir:v "unsignedInt"^^xsd:anyURI ;
fhir:l fhir:unsignedInt         ]       ] [
fhir:code [
fhir:v "uri"^^xsd:anyURI ;
fhir:l fhir:uri         ]       ] [
fhir:code [
fhir:v "url"^^xsd:anyURI ;
fhir:l fhir:url         ]       ] [
fhir:code [
fhir:v "uuid"^^xsd:anyURI ;
fhir:l fhir:uuid         ]       ] [
fhir:code [
fhir:v "Address"^^xsd:anyURI ;
fhir:l fhir:Address         ]       ] [
fhir:code [
fhir:v "Age"^^xsd:anyURI ;
fhir:l fhir:Age         ]       ] [
fhir:code [
fhir:v "Annotation"^^xsd:anyURI ;
fhir:l fhir:Annotation         ]       ] [
fhir:code [
fhir:v "Attachment"^^xsd:anyURI ;
fhir:l fhir:Attachment         ]       ] [
fhir:code [
fhir:v "CodeableConcept"^^xsd:anyURI ;
fhir:l fhir:CodeableConcept         ]       ] [
fhir:code [
fhir:v "Coding"^^xsd:anyURI ;
fhir:l fhir:Coding         ]       ] [
fhir:code [
fhir:v "ContactPoint"^^xsd:anyURI ;
fhir:l fhir:ContactPoint         ]       ] [
fhir:code [
fhir:v "Count"^^xsd:anyURI ;
fhir:l fhir:Count         ]       ] [
fhir:code [
fhir:v "Distance"^^xsd:anyURI ;
fhir:l fhir:Distance         ]       ] [
fhir:code [
fhir:v "Duration"^^xsd:anyURI ;
fhir:l fhir:Duration         ]       ] [
fhir:code [
fhir:v "HumanName"^^xsd:anyURI ;
fhir:l fhir:HumanName         ]       ] [
fhir:code [
fhir:v "Identifier"^^xsd:anyURI ;
fhir:l fhir:Identifier         ]       ] [
fhir:code [
fhir:v "Money"^^xsd:anyURI ;
fhir:l fhir:Money         ]       ] [
fhir:code [
fhir:v "Period"^^xsd:anyURI ;
fhir:l fhir:Period         ]       ] [
fhir:code [
fhir:v "Quantity"^^xsd:anyURI ;
fhir:l fhir:Quantity         ]       ] [
fhir:code [
fhir:v "Range"^^xsd:anyURI ;
fhir:l fhir:Range         ]       ] [
fhir:code [
fhir:v "Ratio"^^xsd:anyURI ;
fhir:l fhir:Ratio         ]       ] [
fhir:code [
fhir:v "Reference"^^xsd:anyURI ;
fhir:l fhir:Reference         ]       ] [
fhir:code [
fhir:v "SampledData"^^xsd:anyURI ;
fhir:l fhir:SampledData         ]       ] [
fhir:code [
fhir:v "Signature"^^xsd:anyURI ;
fhir:l fhir:Signature         ]       ] [
fhir:code [
fhir:v "Timing"^^xsd:anyURI ;
fhir:l fhir:Timing         ]       ] [
fhir:code [
fhir:v "ContactDetail"^^xsd:anyURI ;
fhir:l fhir:ContactDetail         ]       ] [
fhir:code [
fhir:v "Contributor"^^xsd:anyURI ;
fhir:l fhir:Contributor         ]       ] [
fhir:code [
fhir:v "DataRequirement"^^xsd:anyURI ;
fhir:l fhir:DataRequirement         ]       ] [
fhir:code [
fhir:v "Expression"^^xsd:anyURI ;
fhir:l fhir:Expression         ]       ] [
fhir:code [
fhir:v "ParameterDefinition"^^xsd:anyURI ;
fhir:l fhir:ParameterDefinition         ]       ] [
fhir:code [
fhir:v "RelatedArtifact"^^xsd:anyURI ;
fhir:l fhir:RelatedArtifact         ]       ] [
fhir:code [
fhir:v "TriggerDefinition"^^xsd:anyURI ;
fhir:l fhir:TriggerDefinition         ]       ] [
fhir:code [
fhir:v "UsageContext"^^xsd:anyURI ;
fhir:l fhir:UsageContext         ]       ] [
fhir:code [
fhir:v "Dosage"^^xsd:anyURI ;
fhir:l fhir:Dosage         ]       ] [
fhir:code [
fhir:v "Meta"^^xsd:anyURI ;
fhir:l fhir:Meta         ]       ] ) ;
      ( fhir:constraint [
fhir:key [ fhir:v "ele-1" ] ;
fhir:severity [ fhir:v "error" ] ;
fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ;
fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ;
fhir:xpath [ fhir:v "@value|f:*|h:div" ] ;
fhir:source [
fhir:v "http://hl7.org/fhir/StructureDefinition/Element"^^xsd:anyURI ;
fhir:l <http://hl7.org/fhir/StructureDefinition/Element>         ]       ] ) ;
fhir:isModifier [ fhir:v false ] ;
fhir:isSummary [ fhir:v false ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "N/A" ]       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "Extension" ] ;
fhir:path [ fhir:v "Extension" ] ;
fhir:short [ fhir:v "Full-Text Search Match Snippet" ] ;
fhir:definition [ fhir:v "This extension contains a text snippet describing the context of a full-text search match. It highlights relevant content that corresponds to the provided search terms and provides a concise preview of the search result." ]     ] [
fhir:id [ fhir:v "Extension.extension" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:slicing [
        ( fhir:discriminator [
fhir:type [ fhir:v "value" ] ;
fhir:path [ fhir:v "url" ]         ] ) ;
fhir:description [ fhir:v "Extensions are always sliced by (at least) url" ] ;
fhir:rules [ fhir:v "closed" ]       ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "snippet" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet.extension" ] ;
fhir:path [ fhir:v "Extension.extension.extension" ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
fhir:fixed [
a fhir:Uri ;
fhir:v "snippet"^^xsd:anyURI ;
fhir:l fhir:snippet       ]     ] [
fhir:id [ fhir:v "Extension.extension:snippet.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "Human-readable text snippet describing the context of the search match." ] ;
fhir:definition [ fhir:v "This value contains a short, human-readable text snippet that describes the context of the search match. It enables quick orientation by presenting relevant content from the identified document or resource." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] )     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber" ] ;
fhir:path [ fhir:v "Extension.extension" ] ;
fhir:sliceName [ fhir:v "pageNumber" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.extension" ] ;
fhir:path [ fhir:v "Extension.extension.extension" ] ;
fhir:max [ fhir:v "0" ]     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.url" ] ;
fhir:path [ fhir:v "Extension.extension.url" ] ;
fhir:fixed [
a fhir:Uri ;
fhir:v "pageNumber"^^xsd:anyURI ;
fhir:l fhir:pageNumber       ]     ] [
fhir:id [ fhir:v "Extension.extension:pageNumber.value[x]" ] ;
fhir:path [ fhir:v "Extension.extension.value[x]" ] ;
fhir:short [ fhir:v "For paginated documents (e.g. PDF), indicates the page on which the full-text search match was found." ] ;
fhir:definition [ fhir:v "For documents with pagination, such as PDF files, this element may be used to indicate the specific page on which the full-text search identified a match." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
      ( fhir:type [
fhir:code [
fhir:v "string"^^xsd:anyURI ;
fhir:l fhir:string         ]       ] )     ] [
fhir:id [ fhir:v "Extension.url" ] ;
fhir:path [ fhir:v "Extension.url" ] ;
fhir:fixed [
a fhir:Uri ;
fhir:v "https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet"^^xsd:anyURI ;
fhir:l <https://profiles.ihe.net/ITI/MHD/StructureDefinition/ihe-full-text-search-match-snippet>       ]     ] [
fhir:id [ fhir:v "Extension.value[x]" ] ;
fhir:path [ fhir:v "Extension.value[x]" ] ;
fhir:max [ fhir:v "0" ]     ] )
  ] . #