PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch@orf-2.0.0
    http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-document
description: Profile to set constraints that specify the CH ORF-conformant presentation of a document. \nThe CH ORF exchange format is defined as a document type corresponding to a Bundle resource.
package_name: ch.fhir.ig.ch
derivation: constraint
name: ChOrfDocument
type: Bundle
elements:
  identifier:
    short: Document Identifier
    mustSupport: true
    index: 0
    elements:
      system:
        pattern: {type: Uri, value: 'urn:ietf:rfc:3986'}
        mustSupport: true
        index: 1
      value: {short: UUID as Document Identifier, mustSupport: true, index: 2}
  type: {mustSupport: true, index: 3}
  timestamp: {short: 'Date, the document was created', mustSupport: true, index: 4}
  total: {index: 5}
  link: {index: 6}
  entry:
    mustSupport: true
    array: true
    min: 2
    index: 7
    slicing:
      slices:
        Composition:
          match: {}
          schema:
            mustSupport: true
            index: 8
            elements:
              resource: {type: Resource, mustSupport: true, index: 9}
        Questionnaire:
          match: {}
          schema:
            mustSupport: true
            index: 10
            elements:
              resource: {type: Resource, mustSupport: true, index: 11}
            required: [resource]
        QuestionnaireResponse:
          match: {}
          schema:
            mustSupport: true
            index: 12
            elements:
              resource: {type: Resource, mustSupport: true, index: 13}
            required: [resource]
        ServiceRequest:
          match: {}
          schema:
            mustSupport: true
            array: true
            min: 1
            _required: true
            index: 14
            elements:
              resource: {type: Resource, mustSupport: true, index: 15}
            required: [resource]
        DocumentReference:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 16
            elements:
              resource: {type: Resource, mustSupport: true, index: 17}
            required: [resource]
        Binary:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 18
            elements:
              resource: {type: Resource, mustSupport: true, index: 19}
            required: [resource]
        Appointment:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 20
            elements:
              resource: {type: Resource, mustSupport: true, index: 21}
            required: [resource]
        Coverage:
          match: {}
          schema:
            mustSupport: true
            array: true
            index: 22
            elements:
              resource: {type: Resource, mustSupport: true, index: 23}
            required: [resource]
package_version: orf-2.0.0
class: profile
kind: resource
url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-document
base: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-document
version: 2.0.0