PackagesCanonicalsLogsProblems
    Packages
    rs/iknl.fhir.nl.r4.ncr@ehr-0.4.0-alpha
    http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/StructureDefinition/ncr-ehr-schema-document
description: null
package_name: rs/iknl.fhir.nl.r4.ncr
derivation: constraint
name: NcrEhrSchemaDocument
type: DocumentReference
elements:
  status:
    pattern: {type: code, value: current}
    type: code
    index: 0
  category:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: 1
      slices:
        schema:
          match:
            coding:
            - {code: schema, system: 'http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/NamingSystem/document-type'}
          schema:
            pattern:
              type: CodeableConcept
              value:
                coding:
                - {code: schema, system: 'http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/NamingSystem/document-type'}
            _required: true
            type: CodeableConcept
            index: 2
          min: 1
          max: 1
  content:
    elements:
      attachment:
        elements:
          contentType:
            pattern: {type: code, value: application/schema-instance+json}
            type: code
            index: 3
          data: {index: 4}
        required: [contentType, data]
package_version: ehr-0.4.0-alpha
class: profile
kind: resource
url: http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/StructureDefinition/ncr-ehr-schema-document
base: http://hl7.org/fhir/StructureDefinition/DocumentReference
version: null
required: [category]