PackagesCanonicalsLogsProblems
    Packages
    smart.who.int.ph4h@0.9.9
    http://smart.who.int/ph4h/StructureDefinition/SmartIPS
description: 'This profile represents the constraints applied to the Bundle resource by the International Patient Summary (IPS) for use within the SMART Guidelines.\n\nNote: The profile expects atleast one SMART Consent entry to be present.'
package_name: smart.who.int.ph4h
derivation: constraint
name: SmartIPS
type: Bundle
elements:
  entry:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        patient:
          match: {}
          schema:
            index: 6
            elements:
              fullUrl: {mustSupport: true, index: 7}
              search: {index: 8}
              request: {index: 9}
              response: {index: 10}
            required: [fullUrl]
        immunization:
          match: {}
          schema:
            index: 41
            elements:
              fullUrl: {mustSupport: true, index: 42}
              search: {index: 43}
              request: {index: 44}
              response: {index: 45}
            required: [fullUrl]
        deviceusestatement:
          match: {}
          schema:
            index: 26
            elements:
              fullUrl: {mustSupport: true, index: 27}
              search: {index: 28}
              request: {index: 29}
              response: {index: 30}
            required: [fullUrl]
        diagnosticreport:
          match: {}
          schema:
            index: 31
            elements:
              fullUrl: {mustSupport: true, index: 32}
              search: {index: 33}
              request: {index: 34}
              response: {index: 35}
            required: [fullUrl]
        specimen:
          match: {}
          schema:
            index: 116
            elements:
              fullUrl: {mustSupport: true, index: 117}
              search: {index: 118}
              request: {index: 119}
              response: {index: 120}
            required: [fullUrl]
        medicationrequest:
          match: {}
          schema:
            index: 56
            elements:
              fullUrl: {mustSupport: true, index: 57}
              search: {index: 58}
              request: {index: 59}
              response: {index: 60}
            required: [fullUrl]
        allergyintolerance:
          match: {}
          schema:
            index: 11
            elements:
              fullUrl: {mustSupport: true, index: 12}
              search: {index: 13}
              request: {index: 14}
              response: {index: 15}
            required: [fullUrl]
        practitionerrole:
          match: {}
          schema:
            index: 71
            elements:
              fullUrl: {mustSupport: true, index: 72}
              search: {index: 73}
              request: {index: 74}
              response: {index: 75}
            required: [fullUrl]
        observation-pregnancy-status:
          match: {}
          schema:
            index: 96
            elements:
              fullUrl: {mustSupport: true, index: 97}
              search: {index: 98}
              request: {index: 99}
              response: {index: 100}
            required: [fullUrl]
        procedure:
          match: {}
          schema:
            index: 76
            elements:
              fullUrl: {mustSupport: true, index: 77}
              search: {index: 78}
              request: {index: 79}
              response: {index: 80}
            required: [fullUrl]
        organization:
          match: {}
          schema:
            index: 81
            elements:
              fullUrl: {mustSupport: true, index: 82}
              search: {index: 83}
              request: {index: 84}
              response: {index: 85}
            required: [fullUrl]
        consent:
          match: {}
          schema:
            array: true
            min: 1
            _required: true
            index: 121
            elements:
              resource: {type: Consent, index: 122}
        observation-pregnancy-outcome:
          match: {}
          schema:
            index: 91
            elements:
              fullUrl: {mustSupport: true, index: 92}
              search: {index: 93}
              request: {index: 94}
              response: {index: 95}
            required: [fullUrl]
        condition:
          match: {}
          schema:
            index: 16
            elements:
              fullUrl: {mustSupport: true, index: 17}
              search: {index: 18}
              request: {index: 19}
              response: {index: 20}
            required: [fullUrl]
        medicationstatement:
          match: {}
          schema:
            index: 61
            elements:
              fullUrl: {mustSupport: true, index: 62}
              search: {index: 63}
              request: {index: 64}
              response: {index: 65}
            required: [fullUrl]
        practitioner:
          match: {}
          schema:
            index: 66
            elements:
              fullUrl: {mustSupport: true, index: 67}
              search: {index: 68}
              request: {index: 69}
              response: {index: 70}
            required: [fullUrl]
        observation-tobacco-use:
          match: {}
          schema:
            index: 106
            elements:
              fullUrl: {mustSupport: true, index: 107}
              search: {index: 108}
              request: {index: 109}
              response: {index: 110}
            required: [fullUrl]
        device:
          match: {}
          schema:
            index: 21
            elements:
              fullUrl: {mustSupport: true, index: 22}
              search: {index: 23}
              request: {index: 24}
              response: {index: 25}
            required: [fullUrl]
        composition:
          match: {}
          schema:
            index: 1
            elements:
              fullUrl: {mustSupport: true, index: 2}
              search: {index: 3}
              request: {index: 4}
              response: {index: 5}
            required: [fullUrl]
        imagingstudy:
          match: {}
          schema:
            index: 36
            elements:
              fullUrl: {mustSupport: true, index: 37}
              search: {index: 38}
              request: {index: 39}
              response: {index: 40}
            required: [fullUrl]
        observation-results:
          match: {}
          schema:
            index: 111
            elements:
              fullUrl: {mustSupport: true, index: 112}
              search: {index: 113}
              request: {index: 114}
              response: {index: 115}
            required: [fullUrl]
        media:
          match: {}
          schema:
            index: 46
            elements:
              fullUrl: {mustSupport: true, index: 47}
              search: {index: 48}
              request: {index: 49}
              response: {index: 50}
            required: [fullUrl]
        observation-alcohol-use:
          match: {}
          schema:
            index: 101
            elements:
              fullUrl: {mustSupport: true, index: 102}
              search: {index: 103}
              request: {index: 104}
              response: {index: 105}
            required: [fullUrl]
        observation-pregnancy-edd:
          match: {}
          schema:
            index: 86
            elements:
              fullUrl: {mustSupport: true, index: 87}
              search: {index: 88}
              request: {index: 89}
              response: {index: 90}
            required: [fullUrl]
        medication:
          match: {}
          schema:
            index: 51
            elements:
              fullUrl: {mustSupport: true, index: 52}
              search: {index: 53}
              request: {index: 54}
              response: {index: 55}
            required: [fullUrl]
package_version: 0.9.9
class: profile
kind: resource
url: http://smart.who.int/ph4h/StructureDefinition/SmartIPS
base: http://hl7.org/fhir/uv/ips/StructureDefinition/Bundle-uv-ips
version: 0.9.9