PackagesCanonicalsLogsProblems
    Packages
    swiss.mednet.fhir@0.18.0
    https://mednet.swiss/fhir/StructureDefinition/mni-patientOverview-bundle
description: MedNet Interface (MNI) - PatientOverview Bundle
package_name: swiss.mednet.fhir
derivation: constraint
name: MNIPatientOverviewBundle
type: Bundle
elements:
  id: {short: 'The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters ''A''..''Z'', and ''a''..''z'', numerals (''0''..''9''), ''-'' and ''.'' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.)', mustSupport: true, index: 0}
  implicitRules: {mustSupport: false, index: 1}
  identifier:
    short: A unique identifier of the Bundle in UUID format. Could represent a transaction number
    mustSupport: true
    index: 2
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        mustSupport: true
        index: 3
      value: {short: 'A UUID for the Bundle. It can be the same as Bundle/id if it is also an UUID (prefixed with urn:uuid)', mustSupport: true, index: 4}
    required: [value, system]
  type:
    short: 'Fixed value : document'
    pattern: {type: Code, value: document}
    mustSupport: true
    index: 5
  timestamp: {mustSupport: true, index: 6}
  entry:
    short: First Composition must be a mni-patientOverview-composition
    mustSupport: true
    index: 7
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: resource, type: profile}
      min: 1
      slices:
        ServiceRequest:
          match: {}
          schema:
            short: all the ServiceRequest objects included
            mustSupport: true
            array: true
            index: 16
            elements:
              modifierExtension: {mustSupport: false, index: 17}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 18}
              resource: {type: ServiceRequest, mustSupport: true, index: 19}
            required: [resource, fullUrl]
        BodyMassIndex:
          match: {}
          schema:
            short: all the BodyMassIndex objects included
            mustSupport: true
            array: true
            index: 64
            elements:
              modifierExtension: {mustSupport: false, index: 65}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:0359a120-223b-4169-83f4-1325a53f25de       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 66}
              resource: {type: Observation, mustSupport: true, index: 67}
            required: [resource, fullUrl]
        DocumentReference:
          match: {}
          schema:
            short: all the DocumentReference objects included
            mustSupport: true
            array: true
            index: 104
            elements:
              modifierExtension: {mustSupport: false, index: 105}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 106}
              resource: {type: DocumentReference, mustSupport: true, index: 107}
            required: [resource, fullUrl]
        Laboratory:
          match: {}
          schema:
            short: all the Laboratory objects included
            mustSupport: true
            array: true
            index: 96
            elements:
              modifierExtension: {mustSupport: false, index: 97}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:3d365d98-d069-4194-bf6d-bfbdfd91a703       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 98}
              resource: {type: Observation, mustSupport: true, index: 99}
            required: [resource, fullUrl]
        Coverage:
          match: {}
          schema:
            short: all the Coverage objects included
            mustSupport: true
            array: true
            index: 44
            elements:
              modifierExtension: {mustSupport: false, index: 45}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 46}
              resource: {type: Coverage, mustSupport: true, index: 47}
            required: [resource, fullUrl]
        Contract:
          match: {}
          schema:
            short: all the Contract objects included
            mustSupport: true
            array: true
            index: 48
            elements:
              modifierExtension: {mustSupport: false, index: 49}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 50}
              resource: {type: Contract, mustSupport: true, index: 51}
            required: [resource, fullUrl]
        EstimatedDateOfConception:
          match: {}
          schema:
            short: all the EstimatedDateOfConception objects included
            mustSupport: true
            array: true
            index: 80
            elements:
              modifierExtension: {mustSupport: false, index: 81}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:7c3334b0-4d26-4cc2-a970-27b6c2fbe4e9       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 82}
              resource: {type: Observation, mustSupport: true, index: 83}
            required: [resource, fullUrl]
        HearingImplant:
          match: {}
          schema:
            short: all the HearingImplant objects included
            mustSupport: true
            array: true
            index: 124
            elements:
              modifierExtension: {mustSupport: false, index: 125}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 126}
              resource: {type: Condition, mustSupport: true, index: 127}
            required: [resource, fullUrl]
        RiskFactor:
          match: {}
          schema:
            short: all the RiskFactor objects included
            mustSupport: true
            array: true
            index: 76
            elements:
              modifierExtension: {mustSupport: false, index: 77}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:3906daac-6063-43cf-85c4-8608f14f6d39       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 78}
              resource: {type: Observation, mustSupport: true, index: 79}
            required: [resource, fullUrl]
        BodyHeight:
          match: {}
          schema:
            short: all the BodyHeight objects included
            mustSupport: true
            array: true
            index: 60
            elements:
              modifierExtension: {mustSupport: false, index: 61}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:194bded3-96d7-46e3-ad73-98d38100d702       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 62}
              resource: {type: Observation, mustSupport: true, index: 63}
            required: [resource, fullUrl]
        FamilyMemberHistory:
          match: {}
          schema:
            short: all the FamilyMemberHistory objects included
            mustSupport: true
            array: true
            index: 144
            elements:
              modifierExtension: {mustSupport: false, index: 145}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 146}
              resource: {type: FamilyMemberHistory, mustSupport: true, index: 147}
            required: [resource, fullUrl]
        Composition:
          match: {}
          schema:
            short: Composition
            mustSupport: true
            _required: true
            index: 8
            elements:
              modifierExtension: {mustSupport: false, index: 9}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 10}
              resource: {type: Composition, mustSupport: true, index: 11}
            required: [resource, fullUrl]
        TimeOfGestation:
          match: {}
          schema:
            short: all the TimeOfGestation objects included
            mustSupport: true
            array: true
            index: 92
            elements:
              modifierExtension: {mustSupport: false, index: 93}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:b14e0f82-d131-4280-a736-c4dfae9d4a45       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 94}
              resource: {type: Observation, mustSupport: true, index: 95}
            required: [resource, fullUrl]
        PractitionerRole:
          match: {}
          schema:
            short: all the PractitionerRole objects included
            mustSupport: true
            array: true
            index: 32
            elements:
              modifierExtension: {mustSupport: false, index: 33}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:8675b428-fc7b-4b47-b1f4-ea20cbeaa2a5       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 34}
              resource: {type: PractitionerRole, mustSupport: true, index: 35}
            required: [resource, fullUrl]
        MetalFragment:
          match: {}
          schema:
            short: all the MetalFragment objects included
            mustSupport: true
            array: true
            index: 132
            elements:
              modifierExtension: {mustSupport: false, index: 133}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 134}
              resource: {type: Condition, mustSupport: true, index: 135}
            required: [resource, fullUrl]
        Patient:
          match: {}
          schema:
            short: all the Patient objects included
            mustSupport: true
            array: true
            index: 20
            elements:
              modifierExtension: {mustSupport: false, index: 21}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 22}
              resource: {type: Patient, mustSupport: true, index: 23}
            required: [resource, fullUrl]
        MetallicImplant:
          match: {}
          schema:
            short: all the MetallicImplant objects included
            mustSupport: true
            array: true
            index: 136
            elements:
              modifierExtension: {mustSupport: false, index: 137}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 138}
              resource: {type: Condition, mustSupport: true, index: 139}
            required: [resource, fullUrl]
        Diabetes:
          match: {}
          schema:
            short: all the Diabetes objects included
            mustSupport: true
            index: 120
            elements:
              modifierExtension: {mustSupport: false, index: 121}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 122}
              resource: {type: Condition, mustSupport: true, index: 123}
            required: [resource, fullUrl]
        Practitioner:
          match: {}
          schema:
            short: all the Practitioner objects included
            mustSupport: true
            array: true
            index: 24
            elements:
              modifierExtension: {mustSupport: false, index: 25}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 26}
              resource: {type: Practitioner, mustSupport: true, index: 27}
            required: [resource, fullUrl]
        MedicationStatement:
          match: {}
          schema:
            short: all the MedicationStatement objects included
            mustSupport: true
            array: true
            index: 156
            elements:
              modifierExtension: {mustSupport: false, index: 157}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 158}
              resource: {type: MedicationStatement, mustSupport: true, index: 159}
            required: [resource, fullUrl]
        BodyWeight:
          match: {}
          schema:
            short: all the BodyWeight objects included
            mustSupport: true
            array: true
            index: 56
            elements:
              modifierExtension: {mustSupport: false, index: 57}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 58}
              resource: {type: Observation, mustSupport: true, index: 59}
            required: [resource, fullUrl]
        DateOfLastMenstruation:
          match: {}
          schema:
            short: all the DateOfLastMenstruation objects included
            mustSupport: true
            array: true
            index: 88
            elements:
              modifierExtension: {mustSupport: false, index: 89}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 90}
              resource: {type: Observation, mustSupport: true, index: 91}
            required: [resource, fullUrl]
        BloodGroup:
          match: {}
          schema:
            short: all the BloodGroup objects included
            mustSupport: true
            array: true
            index: 72
            elements:
              modifierExtension: {mustSupport: false, index: 73}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:f0f2f934-046a-4744-90c4-27133cd7a0fe       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 74}
              resource: {type: Observation, mustSupport: true, index: 75}
            required: [resource, fullUrl]
        Pacemaker:
          match: {}
          schema:
            short: all the Pacemaker objects included
            mustSupport: true
            index: 140
            elements:
              modifierExtension: {mustSupport: false, index: 141}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 142}
              resource: {type: Condition, mustSupport: true, index: 143}
            required: [resource, fullUrl]
        Claim:
          match: {}
          schema:
            short: all the Claim objects included
            mustSupport: true
            array: true
            index: 52
            elements:
              modifierExtension: {mustSupport: false, index: 53}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 54}
              resource: {type: Claim, mustSupport: true, index: 55}
            required: [resource, fullUrl]
        BloodPressure:
          match: {}
          schema:
            short: all the BloodPressure objects included
            mustSupport: true
            array: true
            index: 68
            elements:
              modifierExtension: {mustSupport: false, index: 69}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:566f7907-642a-4e97-a2ec-9e98b2e7b48d       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 70}
              resource: {type: Observation, mustSupport: true, index: 71}
            required: [resource, fullUrl]
        Encounter:
          match: {}
          schema:
            short: all the Encounter objects included
            mustSupport: true
            array: true
            index: 12
            elements:
              modifierExtension: {mustSupport: false, index: 13}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 14}
              resource: {type: Encounter, mustSupport: true, index: 15}
            required: [resource, fullUrl]
        RelatedPerson:
          match: {}
          schema:
            short: all the RelatedPerson objects included
            mustSupport: true
            array: true
            index: 36
            elements:
              modifierExtension: {mustSupport: false, index: 37}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 38}
              resource: {type: RelatedPerson, mustSupport: true, index: 39}
            required: [resource, fullUrl]
        Medication:
          match: {}
          schema:
            short: all the Medication objects included
            mustSupport: true
            array: true
            index: 160
            elements:
              modifierExtension: {mustSupport: false, index: 161}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 162}
              resource: {type: Medication, mustSupport: true, index: 163}
            required: [resource, fullUrl]
        EstimatedDateOfDelivery:
          match: {}
          schema:
            short: all the EstimatedDateOfDelivery objects included
            mustSupport: true
            array: true
            index: 84
            elements:
              modifierExtension: {mustSupport: false, index: 85}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:923b4572-a6c9-415b-8ebe-0038accfe8f3       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 86}
              resource: {type: Observation, mustSupport: true, index: 87}
            required: [resource, fullUrl]
        Condition:
          match: {}
          schema:
            short: all the Condition objects included
            mustSupport: true
            array: true
            index: 112
            elements:
              modifierExtension: {mustSupport: false, index: 113}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 114}
              resource: {type: Condition, mustSupport: true, index: 115}
            required: [resource, fullUrl]
        ContrastMediaAllergy:
          match: {}
          schema:
            short: Contrast Media Allergy
            mustSupport: true
            index: 152
            elements:
              modifierExtension: {mustSupport: false, index: 153}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 154}
              resource: {type: AllergyIntolerance, mustSupport: true, index: 155}
            required: [resource, fullUrl]
        KidneyFailure:
          match: {}
          schema:
            short: all the KidneyFailure objects included
            mustSupport: true
            index: 128
            elements:
              modifierExtension: {mustSupport: false, index: 129}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 130}
              resource: {type: Condition, mustSupport: true, index: 131}
            required: [resource, fullUrl]
        Procedure:
          match: {}
          schema:
            short: all the Procedure objects included
            mustSupport: true
            array: true
            index: 108
            elements:
              modifierExtension: {mustSupport: false, index: 109}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 110}
              resource: {type: Procedure, mustSupport: true, index: 111}
            required: [resource, fullUrl]
        Organization:
          match: {}
          schema:
            short: all the Organization objects included
            mustSupport: true
            array: true
            index: 28
            elements:
              modifierExtension: {mustSupport: false, index: 29}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 30}
              resource: {type: Organization, mustSupport: true, index: 31}
            required: [resource, fullUrl]
        Device:
          match: {}
          schema:
            short: all the Device objects included
            mustSupport: true
            array: true
            index: 40
            elements:
              modifierExtension: {mustSupport: false, index: 41}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 42}
              resource: {type: Device, mustSupport: true, index: 43}
            required: [resource, fullUrl]
        Claustrophobia:
          match: {}
          schema:
            short: all the Claustrophobia objects included
            mustSupport: true
            index: 116
            elements:
              modifierExtension: {mustSupport: false, index: 117}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:2efc9728-d0dd-4214-8bdc-77a428ae421b       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 118}
              resource: {type: Condition, mustSupport: true, index: 119}
            required: [resource, fullUrl]
        AllergyIntolerance:
          match: {}
          schema:
            short: all the AllergyIntolerance objects included
            mustSupport: true
            array: true
            index: 148
            elements:
              modifierExtension: {mustSupport: false, index: 149}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:148d342c-5052-4b9e-8370-2923af30e867       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 150}
              resource: {type: AllergyIntolerance, mustSupport: true, index: 151}
            required: [resource, fullUrl]
        Annotation:
          match: {}
          schema:
            short: all the Annotation objects included
            mustSupport: true
            array: true
            index: 100
            elements:
              modifierExtension: {mustSupport: false, index: 101}
              fullUrl: {short: 'URI for the resource. Made from /       This could also be an url from type https://server//       or an UUID like urn:uuid:3a29da06-4994-4c84-8cc9-3b1210c934ed       In this case, this should also be used as reference value in all the bundle.', mustSupport: true, index: 102}
              resource: {type: Observation, mustSupport: true, index: 103}
            required: [resource, fullUrl]
package_version: 0.18.0
class: profile
kind: resource
url: https://mednet.swiss/fhir/StructureDefinition/mni-patientOverview-bundle
base: http://hl7.org/fhir/StructureDefinition/Bundle
version: 0.18.0
required: [entry, timestamp, identifier]