PackagesCanonicalsLogsProblems
    Packages
    nictiz.fhir.nl.r4.zib2020@0.1.0-beta1
    http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions
description: Conformance profile to check profiles for conformance to the [Nictiz profiling guidelines for FHIR R4](https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4).\r\n\r\nThis profile contains the common rules for all profiles. Checks for specific situations (extensions, different layers, etc.) are implemented using derived profiles.
package_name: nictiz.fhir.nl.r4.zib2020
derivation: constraint
name: ProfilingGuidelinesR4StructureDefinitions
type: StructureDefinition
elements:
  description: {index: 7}
  publisher:
    pattern: {type: String, value: Nictiz}
    index: 3
  fhirVersion:
    pattern: {type: Code, value: 4.0.1}
    index: 9
  name: {index: 1}
  mapping:
    elements:
      uri: {index: 10}
      name: {index: 11}
    required: [uri, name]
  copyright:
    pattern: {type: Markdown, value: 'Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.'}
    index: 8
  title: {index: 2}
  snapshot: {index: 13}
  url: {index: 0}
  differential:
    elements:
      element:
        constraint:
          sd-pg-11: {human: 'If an alias exists and this element is not the root element, mapping.map needs to be present.', source: 'https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4', severity: error, expression: (alias.exists() and $this.indexOf('.') != -1) implies mapping.map.exists()}
        index: 14
        elements:
          sliceName:
            constraint:
              sd-pg-13: {human: Slice names should be camelCased starting with a lowercase letter., source: 'https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4', severity: warning, expression: '$this.substring(0, 1).matches(''[a-z]'')'}
            index: 15
          binding:
            constraint:
              sd-pg-05: {human: 'If a ConceptMap is defined for a binding, it should be mentioned in the description.', source: 'https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4', severity: error, expression: 'valueSet.extension.where(url = ''http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap'').exists() implies description.contains(''ConceptMap'')'}
            index: 16
          mapping:
            elements:
              comment: {index: 17}
            required: [comment]
  contact:
    index: 4
    elements:
      name:
        pattern: {type: String, value: Nictiz}
        index: 5
      telecom:
        pattern:
          type: ContactPoint
          value: {use: work, value: info@nictiz.nl, system: email}
        index: 6
    required: [name, telecom]
  baseDefinition: {index: 12}
package_version: 0.1.0-beta1
class: profile
kind: resource
url: http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions
base: http://hl7.org/fhir/StructureDefinition/StructureDefinition
version: null
required: [title, fhirVersion, copyright, baseDefinition, publisher, contact, description]