PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.tools.r5@0.4.0
    http://hl7.org/fhir/tools/StructureDefinition/profile-mapping
description: 'Extension definition for Mapping between ```API``` and ```Profile```. CapabilityStatement.rest.resource.profile has two different profile statements:\n\n* profile - the overall system profile for a resource\n* supportedProfile 0..* - a particular profile that the system supports\n\nWhat is missing from this picture is defining which resources conform to\nwhich profile. Sometimes, of course, it''s impossible to define this, but\nquite often, there''s an algorithmic relationship that a server or client\ncould use to know that resources with a particular set of values will or should\nconform to a given profile.\n\nThis extension defines a relationship between a search string and a profile.\nAny resource that meets a given search string will be expected to conform to the particular profile. If more than one profile is nominated for a search string, resources SHALL conform to all the listed profiles. The last extension can be without a search matches and remaining resources\n\nThis extension repeats, and order is important - once a match is found, this profile is the one that applies. Todo: If this extension is useful, it will be moved to the core extensions pack'
package_name: hl7.fhir.uv.tools.r5
derivation: constraint
name: ProfileMapping
type: Extension
elements:
  extension:
    type: Extension
    short: The search string for this mapping
    index: 0
    slicing:
      slices:
        search:
          match: {}
          schema:
            type: Extension
            short: The search string for this mapping
            _required: true
            index: 0
            extensions: {}
            elements:
              extension: {index: 1}
              url:
                type: uri
                pattern: {type: Uri, value: search}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        profile:
          match: {}
          schema:
            min: 1
            short: The profile that must match this search string
            index: 6
            type: Extension
            array: true
            elements:
              extension: {index: 7}
              url:
                type: uri
                pattern: {type: Uri, value: profile}
                index: 8
              value:
                choices: [valueCanonical]
                index: 10
              valueCanonical: {type: canonical, choiceOf: value, index: 11}
            _required: true
            extensions: {}
            required: [valueCanonical, value]
        documentation:
          match: {}
          schema:
            type: Extension
            short: Documentation about this particular profile-mapping
            index: 12
            extensions: {}
            elements:
              extension: {index: 13}
              url:
                type: uri
                pattern: {type: Uri, value: documentation}
                index: 14
              value:
                choices: [valueMarkdown]
                index: 16
              valueMarkdown: {type: markdown, choiceOf: value, index: 17}
            required: [valueMarkdown, value]
  url:
    pattern: {type: Uri, value: 'http://hl7.org/fhir/tools/StructureDefinition/profile-mapping'}
    index: 18
package_version: 0.4.0
extensions:
  search:
    url: null
    type: Extension
    short: The search string for this mapping
    _required: true
    index: 0
    extensions: {}
    elements:
      extension: {index: 1}
      url:
        type: uri
        pattern: {type: Uri, value: search}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  profile:
    min: 1
    short: The profile that must match this search string
    index: 6
    type: Extension
    array: true
    elements:
      extension: {index: 7}
      url:
        type: uri
        pattern: {type: Uri, value: profile}
        index: 8
      value:
        choices: [valueCanonical]
        index: 10
      valueCanonical: {type: canonical, choiceOf: value, index: 11}
    _required: true
    extensions: {}
    url: null
    required: [valueCanonical, value]
  documentation:
    url: null
    type: Extension
    short: Documentation about this particular profile-mapping
    index: 12
    extensions: {}
    elements:
      extension: {index: 13}
      url:
        type: uri
        pattern: {type: Uri, value: documentation}
        index: 14
      value:
        choices: [valueMarkdown]
        index: 16
      valueMarkdown: {type: markdown, choiceOf: value, index: 17}
    required: [valueMarkdown, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/tools/StructureDefinition/profile-mapping
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 0.4.0
required: [extension]