PackagesCanonicalsLogsProblems
    Packages
    medmij.fhir.nl.r4.imageavailability@1.0.0-beta.1
    http://medmij.nl/fhir/StructureDefinition/bbs-DocumentReference
description: Imaging research including images and reports.
package_name: medmij.fhir.nl.r4.imageavailability
derivation: constraint
name: BbsDocumentReference
type: DocumentReference
elements:
  description: {short: Comments, index: 14}
  category:
    short: ClassCode
    index: 3
    elements:
      coding:
        array: true
        min: 2
        index: 4
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 2
          slices:
            radiologyStudies:
              match: {code: 18726-0, system: 'http://loinc.org'}
              schema:
                pattern:
                  type: Coding
                  value: {code: 18726-0, system: 'http://loinc.org'}
                _required: true
                type: Coding
                index: 5
              min: 1
              max: 1
            images:
              match: {code: IMAGES, system: 'urn:oid:1.3.6.1.4.1.19376.1.2.6.1'}
              schema:
                pattern:
                  type: Coding
                  value: {code: IMAGES, system: 'urn:oid:1.3.6.1.4.1.19376.1.2.6.1'}
                type: Coding
                index: 6
              min: 0
              max: 1
            reports:
              match: {code: REPORTS, system: 'urn:oid:1.3.6.1.4.1.19376.1.2.6.1'}
              schema:
                pattern:
                  type: Coding
                  value: {code: REPORTS, system: 'urn:oid:1.3.6.1.4.1.19376.1.2.6.1'}
                type: Coding
                index: 7
              min: 0
              max: 1
  date: {short: DateTime, index: 9}
  content:
    elements:
      attachment:
        elements:
          contentType:
            short: MimeType
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/mimetypes|4.0.1', bindingName: MimeType}
            index: 16
          language:
            short: LanguageCode
            binding: {strength: extensible, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.12--20131212104106'}
            index: 17
          url: {short: URI, index: 18}
          size: {short: Size, index: 19}
          hash: {short: Hash, index: 20}
          title: {short: ReportTitle / ImageTitle / Title, index: 21}
          creation: {short: DateTime / CreationTime, index: 22}
        required: [title]
      format:
        short: FormatCode
        binding: {strength: extensible, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.7--20131212104106'}
        index: 23
  type:
    short: ProcedureType / TypeCode
    binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.133.11.1--20230808113539'}
    index: 2
  author:
    short: Author
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: resolve(), type: profile}
      min: 1
      slices:
        location:
          match: {}
          schema:
            short: Location
            refers: ['http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization']
            type: Reference
            _required: true
            index: 11
          min: 1
          max: 1
        performer:
          match: {}
          schema:
            short: Performer
            refers: ['http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole']
            type: Reference
            index: 12
          min: 0
          max: 1
  masterIdentifier: {short: ReportInformationIdentificationNumber / ImageInformationIdentificationNumber / UniqueID, index: 0}
  status:
    short: AvailabilityStatus
    pattern: {type: code, value: current}
    type: code
    index: 1
  context:
    elements:
      encounter:
        type: Reference
        short: ReferenceIdList
        refers: ['http://hl7.org/fhir/StructureDefinition/Encounter', 'http://hl7.org/fhir/StructureDefinition/EpisodeOfCare', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Encounter']
        index: 24
      event:
        short: EventCodeList
        index: 25
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: null
          slices:
            procedureAnatomicalLocation:
              match: {}
              schema:
                short: ProcedureAnatomicalLocation / Location
                type: CodeableConcept
                binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.19--20240205123345'}
                index: 26
                extensions:
                  laterality:
                    url: null
                    index: 27
                    elements:
                      value:
                        choices: []
                        index: 29
                elements:
                  extension:
                    index: 27
                    slicing:
                      slices:
                        laterality:
                          match: {}
                          schema:
                            index: 27
                            elements:
                              value:
                                choices: []
                                index: 29
            modality:
              match: {}
              schema:
                short: Modality
                array: true
                binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.9--20131212104106'}
                index: 30
              min: 0
      period:
        index: 31
        elements:
          start: {short: ProcedureStartDate / ServiceStartTime, index: 32}
          end: {short: ProcedureEndDate / ServiceStopTime, index: 33}
        required: [start]
      facilityType:
        short: OrganizationType / HealthcareFacilityTypeCode
        binding: {strength: extensible, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.40.2.17.2.3--20200901000000'}
        index: 34
      practiceSetting:
        short: 'DepartmentSpecialty / PracticeSettingCode '
        binding: {strength: required, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.22--20240205133006'}
        index: 35
      sourcePatientInfo:
        type: Reference
        short: SourcePatientId / SourcePatientInfo
        refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
        index: 36
      related:
        short: ReferenceIdList
        index: 37
        slicing:
          rules: open
          discriminator:
          - {path: identifier.type, type: value}
          min: null
          slices:
            accessionNumber:
              match:
                identifier:
                  type:
                    coding:
                    - {code: 'urn:ihe:iti:xds:2013:accession', system: 'urn:ietf:rfc:3986'}
              schema:
                index: 38
                elements:
                  identifier:
                    short: AccessionNumber
                    index: 39
                    elements:
                      type:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: 'urn:ihe:iti:xds:2013:accession', system: 'urn:ietf:rfc:3986'}
                        type: CodeableConcept
                        index: 40
                      value: {index: 41}
                      assigner:
                        type: Reference
                        refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization']
                        index: 42
                    required: [type, value]
                required: [identifier]
            studyInstanceUID:
              match:
                identifier:
                  type:
                    coding:
                    - {code: 'urn:ihe:iti:xds:2016:studyInstanceUID', system: 'urn:ietf:rfc:3986'}
              schema:
                index: 43
                elements:
                  identifier:
                    short: StudyInstanceUID
                    index: 44
                    elements:
                      type:
                        pattern:
                          type: CodeableConcept
                          value:
                            coding:
                            - {code: 'urn:ihe:iti:xds:2016:studyInstanceUID', system: 'urn:ietf:rfc:3986'}
                        type: CodeableConcept
                        index: 45
                      value: {index: 46}
                    required: [type, value]
                required: [identifier]
    required: [period]
  securityLabel:
    short: ConfidentialityCode
    binding: {strength: extensible, valueSet: 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.106.11.6--20131212104106'}
    index: 15
  subject:
    type: Reference
    short: Patient / PatientId
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient']
    index: 8
  authenticator:
    type: Reference
    short: LegalAuthenticator
    refers: ['http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole', 'http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthcareProvider-Organization']
    index: 13
package_version: 1.0.0-beta.1
class: profile
kind: resource
url: http://medmij.nl/fhir/StructureDefinition/bbs-DocumentReference
base: https://profiles.ihe.net/ITI/MHD/StructureDefinition/IHE.MHD.Comprehensive.DocumentReference
version: null
required: [author, date]