PackagesCanonicalsLogsProblems
    Packages
    nictiz.nl.nlps@1.0.0-alpha.1
    http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary
{
  "description": "This profile defines how the Composition resource is used to represent a Dutch Patient Summary.",
  "_filename": "StructureDefinition-nl-PatientSummary.json",
  "package_name": "nictiz.nl.nlps",
  "date": "2026-10-09T15:35:12+02:00",
  "derivation": "constraint",
  "publisher": "Nictiz",
  "fhirVersion": "4.0.1",
  "purpose": "This Composition resource represents the Netherlands Patient Summary.",
  "name": "NlPatientSummary",
  "mapping": [ {
    "uri": "http://ig.nictiz.nl/nlps/Requirements/PatientSummary",
    "name": "Information requirements for PatientSummary",
    "identity": "requirements-PatientSummary"
  }, {
    "uri": "http://ig.nictiz.nl/nlps/StructureDefinition/PatientSummary",
    "name": "Dataset NLPS-PatientSummary-v0.1",
    "identity": "NLPS-PatientSummary-v0.1"
  }, {
    "uri": "http://hl7.org/fhir/workflow",
    "name": "Workflow Pattern",
    "identity": "workflow"
  }, {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  }, {
    "uri": "http://hl7.org/v3/cda",
    "name": "CDA (R2)",
    "identity": "cda"
  }, {
    "uri": "http://hl7.org/fhir/documentreference",
    "name": "FHIR DocumentReference",
    "identity": "fhirdocumentreference"
  }, {
    "uri": "http://hl7.org/fhir/fivews",
    "name": "FiveWs Pattern Mapping",
    "identity": "w5"
  } ],
  "abstract": false,
  "copyright": "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.",
  "type": "Composition",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "nl PatientSummary",
  "package_version": "1.0.0-alpha.1",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-imposeProfile",
    "valueCanonical": "http://hl7.eu/fhir/eps/StructureDefinition/composition-eu-eps"
  } ],
  "snapshot": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "xpath": "not(parent::f:contained and f:contained)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "xpath": "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "xpath": "not(exists(f:contained/*/f:meta/f:security))",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "xpath": "exists(f:text/h:div)",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
          "valueBoolean": true
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
          "valueMarkdown": "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
        } ],
        "expression": "text.`div`.exists()"
      } ],
      "path": "Composition",
      "min": 0,
      "definition": "A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).",
      "isModifier": false,
      "short": "A set of resources composed into a single coherent clinical statement with clinical attestation",
      "mapping": [ {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "Event",
        "identity": "workflow"
      }, {
        "map": "Document[classCode=\"DOC\" and moodCode=\"EVN\" and isNormalAct()]",
        "identity": "rim"
      }, {
        "map": "ClinicalDocument",
        "identity": "cda"
      }, {
        "map": "when described by DocumentReference",
        "identity": "fhirdocumentreference"
      } ],
      "max": "*",
      "id": "Composition",
      "comment": "While the focus of this specification is on patient-specific clinical statements, this resource can also apply to other healthcare-related statements such as study protocol designs, healthcare invoices and other activities that are not necessarily patient-specific or clinical.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition"
      },
      "isSummary": false
    }, {
      "path": "Composition.id",
      "min": 0,
      "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
      "isModifier": false,
      "short": "Logical id of this artifact",
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "max": "1",
      "id": "Composition.id",
      "comment": "The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.id"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.meta",
      "min": 0,
      "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
      "isModifier": false,
      "short": "Metadata about the resource",
      "type": [ {
        "code": "Meta"
      } ],
      "max": "1",
      "id": "Composition.meta",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.meta"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.implicitRules",
      "min": 0,
      "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
      "isModifier": true,
      "short": "A set of rules under which this content was created",
      "type": [ {
        "code": "uri"
      } ],
      "max": "1",
      "id": "Composition.implicitRules",
      "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.implicitRules"
      },
      "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.language",
      "min": 0,
      "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
      "isModifier": false,
      "short": "Language",
      "mapping": [ {
        "map": "007",
        "comment": "Language",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-32",
        "comment": "Language",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
          "valueCanonical": "http://hl7.org/fhir/ValueSet/all-languages"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "Language"
        } ],
        "description": "A human language."
      },
      "alias": [ "Taal" ],
      "max": "1",
      "id": "Composition.language",
      "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Resource.language"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.text",
      "min": 0,
      "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
      "isModifier": false,
      "short": "Text summary of the resource, for human interpretation",
      "mapping": [ {
        "map": "Act.text?",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "alias": [ "narrative", "html", "xhtml", "display" ],
      "max": "1",
      "id": "Composition.text",
      "comment": "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "DomainResource.text"
      },
      "isSummary": false
    }, {
      "path": "Composition.contained",
      "min": 0,
      "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
      "isModifier": false,
      "short": "Contained, inline Resources",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Resource"
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources" ],
      "max": "*",
      "id": "Composition.contained",
      "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.contained"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "max": "*",
      "id": "Composition.extension",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.extension",
      "min": 0,
      "definition": "R5: `Composition.version` (new:string)",
      "isModifier": false,
      "short": "R5: An explicitly assigned identifer of a variation of the content in the Composition (new)",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version" ]
      } ],
      "sliceName": "version",
      "max": "1",
      "id": "Composition.extension:version",
      "condition": [ "ele-1" ],
      "comment": "Element `Composition.version` has a context of Composition based on following the parent source element upwards and mapping to `Composition`.\nElement `Composition.version` has no mapping targets in FHIR R4. Typically, this is because the element has been added (is a new element).\nWhile each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the Composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.extension:version.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension|4.0.1",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.extension:version.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.extension:version.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element|4.0.1",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.extension.value[x]",
      "min": 0,
      "definition": "Business version of the document. The exact algorithm for versioning is decided by the producer/custodian.",
      "isModifier": false,
      "short": "Version",
      "mapping": [ {
        "map": "011",
        "comment": "Version",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-36",
        "comment": "Version",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Versie" ],
      "max": "1",
      "id": "Composition.extension:version.value[x]",
      "comment": "While each resource, including the composition itself, has its own version identifier, this is a formal identifier for the logical version of the Composition as a whole. It would remain constant if the resources were moved to a new server, and all got new individual resource versions, for example.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.identifier",
      "min": 1,
      "definition": "Unique identifier of the document.",
      "isModifier": false,
      "short": "Identifier",
      "mapping": [ {
        "map": "003",
        "comment": "Identifier",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-24",
        "comment": "Identifier",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "Event.identifier",
        "identity": "workflow"
      }, {
        "map": "FiveWs.identifier",
        "identity": "w5"
      }, {
        "map": "Document.id / Document.setId",
        "identity": "rim"
      }, {
        "map": ".setId",
        "identity": "cda"
      }, {
        "map": "DocumentReference.masterIdentifier",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Identifier"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Identificatienummer" ],
      "max": "1",
      "id": "Composition.identifier",
      "comment": "Similar to ClinicalDocument/setId in CDA. See discussion in resource definition for how these relate.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.identifier"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.status",
      "requirements": "Need to be able to mark interim, amended, or withdrawn compositions or documents.",
      "min": 1,
      "definition": "Status of the document.",
      "isModifier": true,
      "short": "Status",
      "mapping": [ {
        "map": "006",
        "comment": "Status",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-31",
        "comment": "Status",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "Event.status",
        "identity": "workflow"
      }, {
        "map": "FiveWs.status",
        "identity": "w5"
      }, {
        "map": "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\";  final: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct()]);  amended: .completionCode=\"AU\" &&  ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct() and statusCode=\"completed\"];  withdrawn : .completionCode=NI &&  ./statusCode[isNormalDatatype()]=\"obsolete\"",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      }, {
        "map": "DocumentReference.status",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/composition-status|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionStatus"
        } ],
        "description": "The workflow/clinical status of the composition."
      },
      "alias": [ "Status" ],
      "max": "1",
      "id": "Composition.status",
      "comment": "If a composition is marked as withdrawn, the compositions/documents in the series, or data from the composition or document series, should never be displayed to a user without being clearly marked as untrustworthy. The flag \"entered-in-error\" is why this element is labeled as a modifier of other elements.   \n\nSome reporting work flows require that the original narrative of a final document never be altered; instead, only new narrative can be added. The composition resource has no explicit status for explicitly noting whether this business rule is in effect. This would be handled by an extension if required.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.status"
      },
      "isModifierReason": "This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.type",
      "requirements": "Key metadata element describing the composition, used in searching/filtering.",
      "min": 1,
      "definition": "Type of document at hand, in this case always 60591-5 Patient summary document.",
      "isModifier": false,
      "short": "Kind of composition (LOINC if possible)",
      "mapping": [ {
        "map": "008",
        "comment": "Type",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "Event.code",
        "identity": "workflow"
      }, {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      }, {
        "map": "DocumentReference.type",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-typecodes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentType"
        } ],
        "description": "Type of a composition."
      },
      "max": "1",
      "id": "Composition.type",
      "comment": "For Composition type, LOINC is ubiquitous and strongly endorsed by HL7. Most implementation guides will require a specific LOINC code, or use LOINC as an extensible binding.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "60591-5",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.type"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.category",
      "requirements": "Helps humans to assess whether the composition is of interest when viewing an index of compositions or documents.",
      "min": 0,
      "definition": "Additional details about where the content was created (e.g. clinical specialty).",
      "isModifier": false,
      "short": "ServiceSpecialty",
      "mapping": [ {
        "map": "021",
        "comment": "ServiceSpecialty",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-50",
        "comment": "ServiceSpecialty",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "Event.subject",
        "identity": "workflow"
      }, {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      }, {
        "map": "DocumenttReference.category",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/document-classcodes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentCategory"
        } ],
        "description": "High-level kind of a clinical document at a macro level."
      },
      "alias": [ "ZorgSpecialisme" ],
      "max": "*",
      "id": "Composition.category",
      "comment": "This is a metadata field from [XDS/MHD](http://wiki.ihe.net/index.php?title=Mobile_access_to_Health_Documents_(MHD)).",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.category"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.subject",
      "requirements": "Essential metadata for searching for the composition. Identifies who and/or what the composition/document is about.",
      "min": 1,
      "definition": "Patient/subject information.",
      "isModifier": false,
      "short": "Patient",
      "mapping": [ {
        "map": "002",
        "comment": "Subject",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-23",
        "comment": "Patient",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "FiveWs.subject[x]",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]",
        "identity": "rim"
      }, {
        "map": ".recordTarget",
        "identity": "cda"
      }, {
        "map": "DocumentReference.subject",
        "identity": "fhirdocumentreference"
      }, {
        "map": "FiveWs.subject",
        "identity": "w5"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Patient" ],
      "max": "1",
      "id": "Composition.subject",
      "comment": "For clinical documents, this is usually the patient.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.subject"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.encounter",
      "requirements": "Provides context for the composition and supports searching.",
      "min": 0,
      "definition": "Describes the clinical encounter or type of care this documentation is associated with.",
      "isModifier": false,
      "short": "Context of the Composition",
      "mapping": [ {
        "map": "Event.context",
        "identity": "workflow"
      }, {
        "map": "FiveWs.context",
        "identity": "w5"
      }, {
        "map": "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])",
        "identity": "rim"
      }, {
        "map": ".componentOf.encompassingEncounter",
        "identity": "cda"
      }, {
        "map": "DocumentReference.context.encounter",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Encounter|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.encounter",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.encounter"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.date",
      "requirements": "dateTime is used for tracking, organizing versions and searching. Note that this is the time of *authoring*. When packaged in a document, [Bundle.timestamp](http://hl7.org/fhir/R4/bundle-definitions.html#Bundle.timestamp) is the date of packaging.",
      "min": 1,
      "definition": "Date of finalizing/issuing the document.",
      "isModifier": false,
      "short": "Date",
      "mapping": [ {
        "map": "005",
        "comment": "Date",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-30",
        "comment": "Date",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "Event.occurrence[x]",
        "identity": "workflow"
      }, {
        "map": "FiveWs.done[x]",
        "identity": "w5"
      }, {
        "map": ".effectiveTime[type=\"TS\"]",
        "identity": "rim"
      }, {
        "map": ".effectiveTime",
        "identity": "cda"
      }, {
        "map": "DocumentReference.content.attachment.date, DocumentReference.created",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Datum" ],
      "max": "1",
      "id": "Composition.date",
      "comment": "The Last Modified Date on the composition may be after the date of the document was attested without being changed.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.date"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 1,
      "definition": "Author(s) of the document.",
      "isModifier": false,
      "short": "Author",
      "mapping": [ {
        "map": "004",
        "comment": "Author",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-26",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-27",
        "comment": "Pracititioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-28",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-29",
        "comment": "Device",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "Event.performer",
        "identity": "workflow"
      }, {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      }, {
        "map": "DocumentReference.agent",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Auteur" ],
      "max": "*",
      "id": "Composition.author",
      "base": {
        "max": "*",
        "min": 1,
        "path": "Composition.author"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.title",
      "min": 1,
      "definition": "Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Patient Summary of Jane Green 10.12.2024'.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "009",
        "comment": "Title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-34",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      }, {
        "map": "DocumentReference.description, DocumentReference.content.attachment.title",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Titel" ],
      "max": "1",
      "id": "Composition.title",
      "comment": "For many compositions, the title is the same as the text or a display name of Composition.type (e.g. a \"consultation\" or \"progress note\"). Note that CDA does not make title mandatory, but there are no known cases where it is useful for title to be omitted, so it is mandatory here. Feedback on this requirement is welcome during the trial use period.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.title"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.confidentiality",
      "min": 0,
      "definition": "The code specifying the level of confidentiality of the Composition.",
      "isModifier": false,
      "short": "As defined by affinity domain",
      "mapping": [ {
        "map": ".confidentialityCode",
        "identity": "rim"
      }, {
        "map": ".confidentialityCode",
        "identity": "cda"
      }, {
        "map": "DocumentReference.securityLabel",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentConfidentiality"
        } ],
        "description": "Codes specifying the level of confidentiality of the composition."
      },
      "max": "1",
      "id": "Composition.confidentiality",
      "comment": "The exact use of this element, and enforcement and issues related to highly sensitive documents are out of scope for the base specification, and delegated to implementation profiles (see security section).  This element is labeled as a modifier because highly confidential documents must not be treated as if they are not.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.confidentiality"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester",
      "requirements": "Identifies responsibility for the accuracy of the composition content.",
      "min": 0,
      "definition": "A participant who has attested to the accuracy of the composition/document.",
      "isModifier": false,
      "short": "Attests to accuracy of composition",
      "mapping": [ {
        "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".authenticator/.legalAuthenticator",
        "identity": "cda"
      }, {
        "map": "DocumentReference.authenticator",
        "identity": "fhirdocumentreference"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "mode",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Composition.attester",
      "comment": "Only list each attester once.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.attester"
      },
      "isSummary": false
    }, {
      "path": "Composition.attester.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.attester.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.attester.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.attester.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.mode",
      "requirements": "Indicates the level of authority of the attestation.",
      "min": 1,
      "definition": "The type of attestation the authenticator offers.",
      "isModifier": false,
      "short": "personal | professional | legal | official",
      "mapping": [ {
        "map": "unique(./modeCode)",
        "identity": "rim"
      }, {
        "map": "implied by .authenticator/.legalAuthenticator",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionAttestationMode"
        } ],
        "description": "The way in which a person authenticated a composition."
      },
      "max": "1",
      "id": "Composition.attester.mode",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.attester.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.time",
      "requirements": "Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.).",
      "min": 0,
      "definition": "When the composition was attested by the party.",
      "isModifier": false,
      "short": "When the composition was attested",
      "mapping": [ {
        "map": "./time[type=\"TS\" and isNormalDatatype()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.time",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "max": "1",
      "id": "Composition.attester.time",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.time"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.party",
      "requirements": "Identifies who has taken on the responsibility for accuracy of the composition content.",
      "min": 0,
      "definition": "Who attested the composition in the specified way.",
      "isModifier": false,
      "short": "Who attested the composition",
      "mapping": [ {
        "map": "FiveWs.witness",
        "identity": "w5"
      }, {
        "map": "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.assignedEnttty",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.attester.party",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.party"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester",
      "requirements": "Identifies responsibility for the accuracy of the composition content.",
      "min": 0,
      "definition": "Document legal authentication details.",
      "isModifier": false,
      "short": "legalAuthentication",
      "mapping": [ {
        "map": "016",
        "comment": "legalAuthentication",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-43",
        "comment": "legalAuthentication",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".authenticator/.legalAuthenticator",
        "identity": "cda"
      }, {
        "map": "DocumentReference.authenticator",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "legalAuthenticator",
      "alias": [ "JuridischeAuthenticatie" ],
      "max": "*",
      "id": "Composition.attester:legalAuthenticator",
      "comment": "Only list each attester once.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.attester"
      },
      "isSummary": false
    }, {
      "path": "Composition.attester.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.attester:legalAuthenticator.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.attester:legalAuthenticator.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.attester:legalAuthenticator.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.mode",
      "requirements": "Indicates the level of authority of the attestation.",
      "min": 1,
      "definition": "Indicates the level of authority of the attestation. The type of attestation the authenticator offers.",
      "isModifier": false,
      "short": "personal | professional | legal | official",
      "mapping": [ {
        "map": "019",
        "comment": "mode of legal authentication",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "unique(./modeCode)",
        "identity": "rim"
      }, {
        "map": "implied by .authenticator/.legalAuthenticator",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "patternCode": "legal",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionAttestationMode"
        } ],
        "description": "The way in which a person authenticated a composition."
      },
      "max": "1",
      "id": "Composition.attester:legalAuthenticator.mode",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.attester.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.time",
      "requirements": "Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.).",
      "min": 1,
      "definition": "Date and time when the document was authorised.",
      "isModifier": false,
      "short": "DateTime",
      "mapping": [ {
        "map": "018",
        "comment": "dateTime of legal authentication",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-48",
        "comment": "DateTime",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./time[type=\"TS\" and isNormalDatatype()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.time",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "DatumTijd" ],
      "max": "1",
      "id": "Composition.attester:legalAuthenticator.time",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.time"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.party",
      "requirements": "Identifies who has taken on the responsibility for accuracy of the composition content.",
      "min": 1,
      "definition": "The person or organisation taking responsibility for the content of the document.",
      "isModifier": false,
      "short": "legalAuthenticator",
      "mapping": [ {
        "map": "017",
        "comment": "legalAuthenticator",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-46",
        "comment": "Practitioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-45",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-47",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "FiveWs.witness",
        "identity": "w5"
      }, {
        "map": "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.assignedEnttty",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "JuridischVerantwoordelijke" ],
      "max": "1",
      "id": "Composition.attester:legalAuthenticator.party",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.party"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester",
      "requirements": "Identifies responsibility for the accuracy of the composition content.",
      "min": 0,
      "definition": "Document attestation details.",
      "isModifier": false,
      "short": "Validator",
      "mapping": [ {
        "map": "012",
        "comment": "attestation",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-37",
        "comment": "Validator",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".authenticator/.legalAuthenticator",
        "identity": "cda"
      }, {
        "map": "DocumentReference.authenticator",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "sliceName": "validator",
      "alias": [ "Validator" ],
      "max": "*",
      "id": "Composition.attester:validator",
      "comment": "Only list each attester once.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.attester"
      },
      "isSummary": false
    }, {
      "path": "Composition.attester.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.attester:validator.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.attester:validator.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.attester.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.attester:validator.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.mode",
      "requirements": "Indicates the level of authority of the attestation.",
      "min": 1,
      "definition": "Indicates the level of authority of the attestation. The type of attestation the authenticator offers.",
      "isModifier": false,
      "short": "personal | professional | legal | official",
      "mapping": [ {
        "map": "014",
        "comment": "Mode of attestion",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "unique(./modeCode)",
        "identity": "rim"
      }, {
        "map": "implied by .authenticator/.legalAuthenticator",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "mustSupport": true,
      "patternCode": "professional",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionAttestationMode"
        } ],
        "description": "The way in which a person authenticated a composition."
      },
      "max": "1",
      "id": "Composition.attester:validator.mode",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.attester.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.time",
      "requirements": "Identifies when the information in the composition was deemed accurate.  (Things may have changed since then.).",
      "min": 1,
      "definition": "Date and time of the approval of the document by Attester.",
      "isModifier": false,
      "short": "DateTime",
      "mapping": [ {
        "map": "015",
        "comment": "dateTime of attestation",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-42",
        "comment": "DateTime",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./time[type=\"TS\" and isNormalDatatype()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.time",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "dateTime"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "DatumTijd" ],
      "max": "1",
      "id": "Composition.attester:validator.time",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.time"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.attester.party",
      "requirements": "Identifies who has taken on the responsibility for accuracy of the composition content.",
      "min": 1,
      "definition": "Attester who validated the document.",
      "isModifier": false,
      "short": "validator",
      "mapping": [ {
        "map": "013",
        "comment": "attester[x]",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-40",
        "comment": "Practitioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-39",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-41",
        "comment": "Device",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "FiveWs.witness",
        "identity": "w5"
      }, {
        "map": "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]",
        "identity": "rim"
      }, {
        "map": ".authenticator.assignedEnttty",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Validator" ],
      "max": "1",
      "id": "Composition.attester:validator.party",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.attester.party"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.custodian",
      "requirements": "Identifies where to go to find the current version, where to report issues, etc.",
      "min": 0,
      "definition": "Organisation that is in charge of maintaining the document/report.",
      "isModifier": false,
      "short": "Organization",
      "mapping": [ {
        "map": "022",
        "comment": "custodian",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-52",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]",
        "identity": "rim"
      }, {
        "map": ".custodian.assignedCustodian",
        "identity": "cda"
      }, {
        "map": "DocumentReference.custodian",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Organisatie" ],
      "max": "1",
      "id": "Composition.custodian",
      "comment": "This is useful when documents are derived from a composition - provides guidance for how to get the latest version of the document. This is optional because this is sometimes not known by the authoring system, and can be inferred by context. However, it is important that this information be known when working with a derived document, so providing a custodian is encouraged.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.custodian"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.relatesTo",
      "min": 0,
      "definition": "Relationships that this composition has with other compositions or documents that already exist.",
      "isModifier": false,
      "short": "Relationships to other compositions/documents",
      "mapping": [ {
        "map": ".outboundRelationship",
        "identity": "rim"
      }, {
        "map": ".relatedDocument",
        "identity": "cda"
      }, {
        "map": "DocumentReference.relatesTo",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Composition.relatesTo",
      "comment": "A document is a version specific composition.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.relatesTo"
      },
      "isSummary": false
    }, {
      "path": "Composition.relatesTo.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.relatesTo.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.relatesTo.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.relatesTo.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.relatesTo.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.relatesTo.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.relatesTo.code",
      "min": 1,
      "definition": "The type of relationship that this composition has with anther composition or document.",
      "isModifier": false,
      "short": "replaces | transforms | signs | appends",
      "mapping": [ {
        "map": ".outboundRelationship.typeCode",
        "identity": "rim"
      }, {
        "map": ".relatedDocument.typeCode",
        "identity": "cda"
      }, {
        "map": "DocumentReference.relatesTo.code",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentRelationshipType"
        } ],
        "description": "The type of relationship between documents."
      },
      "max": "1",
      "id": "Composition.relatesTo.code",
      "comment": "If this document appends another document, then the document cannot be fully understood without also accessing the referenced document.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.relatesTo.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.relatesTo.target[x]",
      "min": 1,
      "definition": "The target composition/document of this relationship.",
      "isModifier": false,
      "short": "Target of the relationship",
      "mapping": [ {
        "map": ".target[classCode=\"DOC\", moodCode=\"EVN\"].id",
        "identity": "rim"
      }, {
        "map": ".relatedDocument.id",
        "identity": "cda"
      }, {
        "map": "DocumentReference.relatesTo.target",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Identifier"
      }, {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Composition|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.relatesTo.target[x]",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Composition.relatesTo.target[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.event",
      "requirements": "Provides context for the composition and creates a linkage between a resource describing an event and the composition created describing the event.",
      "min": 0,
      "definition": "The clinical service, such as a colonoscopy or an appendectomy, being documented.",
      "isModifier": false,
      "short": "The clinical service(s) being documented",
      "mapping": [ {
        "map": "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']",
        "identity": "rim"
      }, {
        "map": ".documentationOf.serviceEvent",
        "identity": "cda"
      }, {
        "map": "DocumentReference.event",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Composition.event",
      "comment": "The event needs to be consistent with the type element, though can provide further information if desired.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.event"
      },
      "isSummary": true
    }, {
      "path": "Composition.event.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.event.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.event.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.event.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.event.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.event.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.event.code",
      "min": 0,
      "definition": "Categorisation of the event covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of such tags or labels depends on the use case and agreement between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.",
      "isModifier": false,
      "short": "EventType",
      "mapping": [ {
        "map": "020",
        "comment": "eventType",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-49",
        "comment": "EventType",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      }, {
        "map": "DocumentReference.event.code",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://terminology.hl7.org/ValueSet/v3-ActCode",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentEventType"
        } ],
        "description": "This list of codes represents the main clinical acts being documented."
      },
      "alias": [ "EvenementType" ],
      "max": "*",
      "id": "Composition.event.code",
      "comment": "An event can further specialize the act inherent in the typeCode, such as where it is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If one or more eventCodes are included, they SHALL NOT conflict with the values inherent in the classCode, practiceSettingCode or typeCode, as such a conflict would create an ambiguous situation. This short list of codes is provided to be used as key words for certain types of queries.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.event.code"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.event.period",
      "min": 0,
      "definition": "Time period of information covered in the document.",
      "isModifier": false,
      "short": "Period",
      "mapping": [ {
        "map": "010",
        "comment": "Period",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-172",
        "comment": "Period",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".effectiveTime",
        "identity": "rim"
      }, {
        "map": ".effectiveTime",
        "identity": "cda"
      }, {
        "map": "DocumentReference.event.period",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Periode" ],
      "max": "1",
      "id": "Composition.event.period",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.event.period"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.event.detail",
      "min": 0,
      "definition": "The description and/or reference of the event(s) being documented. For example, this could be used to document such a colonoscopy or an appendectomy.",
      "isModifier": false,
      "short": "The event(s) being documented",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=\"SUBJ\"].target",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.event.detail",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.event.detail"
      },
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section",
      "min": 5,
      "definition": "The root of the sections that make up the composition.",
      "isModifier": false,
      "short": "Composition is broken into sections",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "*",
      "id": "Composition.section",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 0,
      "definition": "The label for this particular section.  This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Label for section (e.g. for ToC)",
      "mapping": [ {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "alias": [ "header", "label", "caption" ],
      "max": "1",
      "id": "Composition.section.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 0,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "A human-readable narrative that contains the attested content of the section, used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative.",
      "isModifier": false,
      "short": "Text summary of the section, for human interpretation",
      "mapping": [ {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "max": "1",
      "id": "Composition.section.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section.entry",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "If the section is empty, why the list is empty. An empty section typically has some text explaining the empty reason.",
      "isModifier": false,
      "short": "Why the section is empty",
      "mapping": [ {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "max": "1",
      "id": "Composition.section.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Problems. Human readable denominator to identify the topic of this section.",
      "isModifier": false,
      "short": "Problems",
      "mapping": [ {
        "map": "033",
        "comment": "problems",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-147",
        "comment": "Problems",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "sectionProblems",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Problemen" ],
      "max": "1",
      "id": "Composition.section:sectionProblems",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionProblems.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "note",
      "max": "*",
      "id": "Composition.section:sectionProblems.extension:note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.extension:note.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionProblems.extension:note.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "note",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.extension:note.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.extension.value[x]",
      "min": 0,
      "definition": "Free text notes by the health professional.",
      "isModifier": false,
      "short": "Note",
      "mapping": [ {
        "map": "037",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-148",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.extension:note.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section:sectionProblems.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "039",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-149",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "header", "label", "caption", "Titel" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 1,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "038",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section:sectionProblems.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "11450-4",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionProblems.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section:sectionProblems.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "isModifier": false,
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "034",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-160",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "GegenereerdeSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section:sectionProblems.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section:sectionProblems.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "Health conditions affecting the health of the patient.",
      "isModifier": false,
      "short": "Condition",
      "mapping": [ {
        "map": "035",
        "comment": "problem",
        "identity": "requirements-PatientSummary"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Gezondheidstoestand" ],
      "max": "*",
      "id": "Composition.section:sectionProblems.entry",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": "nlps-dataelement-167",
        "comment": "Condition",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition" ]
      } ],
      "sliceName": "problem",
      "max": "*",
      "id": "Composition.section:sectionProblems.entry:problem",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "Use if no conditions are listed.",
      "isModifier": false,
      "short": "EmptyReason",
      "mapping": [ {
        "map": "036",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-164",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "alias": [ "RedenAfwezigheid" ],
      "max": "1",
      "id": "Composition.section:sectionProblems.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section:sectionProblems.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Allergies and Intolerances. Human readable denominator to identify the topic of this section.",
      "isModifier": false,
      "short": "AllergiesAndIntolerances",
      "mapping": [ {
        "map": "024",
        "comment": "allergiesAndIntolerances",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-74",
        "comment": "AllergiesAndIntolerances",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "sectionAllergies",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "AllergieEnIntoleranties" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionAllergies.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "note",
      "max": "*",
      "id": "Composition.section:sectionAllergies.extension:note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.extension:note.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionAllergies.extension:note.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "note",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.extension:note.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.extension.value[x]",
      "min": 0,
      "definition": "Free text notes by the health professional.",
      "isModifier": false,
      "short": "Note",
      "mapping": [ {
        "map": "030",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-75",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.extension:note.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section:sectionAllergies.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "032",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-76",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "header", "label", "caption", "Titel" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 1,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "031",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section:sectionAllergies.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "48765-2",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionAllergies.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "isModifier": false,
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "025",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-87",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "GegenereerdeSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section:sectionAllergies.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section:sectionAllergies.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "List of structured allergies and intolerances.",
      "isModifier": false,
      "short": "AllergyIntolerance",
      "mapping": [ {
        "map": "026",
        "comment": "Entry.AllergyIntolerance",
        "identity": "requirements-PatientSummary"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "AllergieIntolerantie" ],
      "max": "*",
      "id": "Composition.section:sectionAllergies.entry",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": "nlps-dataelement-92",
        "comment": "AllergyIntolerance",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance" ]
      } ],
      "sliceName": "allergyOrIntolerance",
      "max": "*",
      "id": "Composition.section:sectionAllergies.entry:allergyOrIntolerance",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "Use if no Allergies are listed.",
      "isModifier": false,
      "short": "EmptyReason",
      "mapping": [ {
        "map": "027",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "028",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "029",
        "comment": "EmptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-91",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "alias": [ "RedenAfwezigheid" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section:sectionAllergies.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Medication Summary. Human readable denominator to identify the topic of this section.",
      "isModifier": false,
      "short": "MedicationSummary",
      "mapping": [ {
        "map": "040",
        "comment": "medicationSummary",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-129",
        "comment": "MedicationSummary",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "sectionMedications",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "MedicatieSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionMedications",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionMedications.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "note",
      "max": "*",
      "id": "Composition.section:sectionMedications.extension:note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.extension:note.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionMedications.extension:note.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "note",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.extension:note.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.extension.value[x]",
      "min": 0,
      "definition": "Free text notes by the health professional.",
      "isModifier": false,
      "short": "Note",
      "mapping": [ {
        "map": "044",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-130",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.extension:note.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section:sectionMedications.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "046",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-131",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "header", "label", "caption", "Titel" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 1,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "045",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section:sectionMedications.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "10160-0",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionMedications.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section:sectionMedications.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "isModifier": false,
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "041",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-142",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "GegenereerdeSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section:sectionMedications.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section:sectionMedications.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": "042",
        "comment": "medicationUse",
        "identity": "requirements-PatientSummary"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionMedications.entry",
      "condition": [ "cmp-2" ],
      "comment": "For medication data within NL-PS, the FHIR profiles representing MedicationUse (Medicatiegebruik), including InstructionsForUse (Gebruiksinstructies) and PharmaceuticalProduct (FarmaceutischProduct), from the Medication Process 9 (MP9) information standard, version 3.0.0-rc.x, will be used. These profiles are expected to become EHDS-compliant in the near future and will be incorporated into the NL-PS FHIR specification once available.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "Use if no medicines are listed.",
      "isModifier": false,
      "short": "EmptyReason",
      "mapping": [ {
        "map": "043",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-146",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "alias": [ "RedenAfwezigheid" ],
      "max": "1",
      "id": "Composition.section:sectionMedications.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section:sectionMedications.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Procedures. Human readable denominator to identify the topic of this section.",
      "isModifier": false,
      "short": "Procedures",
      "mapping": [ {
        "map": "054",
        "comment": "Procedures",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-93",
        "comment": "Procedures",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "sectionProceduresHx",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Verrichtingen" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "note",
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.extension:note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.extension:note.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.extension:note.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "note",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.extension:note.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.extension.value[x]",
      "min": 0,
      "definition": "Free text notes by the health professional.",
      "isModifier": false,
      "short": "Note",
      "mapping": [ {
        "map": "058",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-94",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.extension:note.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "060",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-95",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "header", "label", "caption", "Titel" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 1,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "059",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "47519-4",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "isModifier": false,
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "055",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-106",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "GegenereerdeSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "List of structured procedures.",
      "isModifier": false,
      "short": "Procedure",
      "mapping": [ {
        "map": "056",
        "comment": "procedure",
        "identity": "requirements-PatientSummary"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Verrichting" ],
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.entry",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": "nlps-dataelement-165",
        "comment": "Procedure",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure" ]
      } ],
      "sliceName": "procedure",
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.entry:procedure",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "Use if no procedures are listed.",
      "isModifier": false,
      "short": "EmptyReason",
      "mapping": [ {
        "map": "057",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-110",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "alias": [ "RedenAfwezigheid" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section:sectionProceduresHx.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "cmp-1",
        "human": "A section must contain at least one of text, entries, or sub-sections",
        "xpath": "exists(f:text) or exists(f:entry) or exists(f:section)",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "text.exists() or entry.exists() or section.exists()"
      }, {
        "key": "cmp-2",
        "human": "A section can only have an emptyReason if it is empty",
        "xpath": "not(exists(f:emptyReason) and exists(f:entry))",
        "source": "http://hl7.org/fhir/StructureDefinition/Composition",
        "severity": "error",
        "expression": "emptyReason.empty() or entry.empty()"
      }, {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Medical devices and implants. Human readable denominator to identify the topic of this section.",
      "isModifier": false,
      "short": "MedicalDevicesAndImplants",
      "mapping": [ {
        "map": "047",
        "comment": "medicalDevicesAndImplants",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-111",
        "comment": "MedicalDevicesAndImplants",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.structuredBody.component.section",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "sliceName": "sectionMedicalDevices",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "MedischeHulpmiddelenEnImplantaten" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension",
      "min": 0,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension"
      } ],
      "sliceName": "note",
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.extension:note",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "string"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.extension:note.id",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.extension.extension",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.extension:note.extension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "path": "Composition.section.extension.url",
      "min": 1,
      "definition": "Source of the definition for the extension code - a logical name or a URL.",
      "isModifier": false,
      "short": "identifies the meaning of the extension",
      "fixedUri": "note",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "uri"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.extension:note.url",
      "comment": "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.",
      "base": {
        "max": "1",
        "min": 1,
        "path": "Extension.url"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.extension.value[x]",
      "min": 0,
      "definition": "Free text notes by the health professional.",
      "isModifier": false,
      "short": "Note",
      "mapping": [ {
        "map": "051",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-19",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.extension:note.value[x]",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Extension.value[x]"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "Composition.section.modifierExtension",
      "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension).",
      "min": 0,
      "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.modifierExtension",
      "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.title",
      "requirements": "Section headings are often standardized for different types of documents.  They give guidance to humans on how the document is organized.",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "isModifier": false,
      "short": "Title",
      "mapping": [ {
        "map": "053",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-113",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "header", "label", "caption", "Titel" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.title",
      "comment": "The title identifies the section for a human reader. The title must be consistent with the narrative of the resource that is the target of the section.content reference. Generally, sections SHOULD have titles, but in some documents, it is unnecessary or inappropriate. Typically, this is where a section has subsections that have their own adequately distinguishing title,  or documents that only have a single section. Most Implementation Guides will make section title to be a required element.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.title"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.code",
      "requirements": "Provides computable standardized labels to topics within the document.",
      "min": 1,
      "definition": "A code identifying the kind of content contained within the section. This must be consistent with the section title.",
      "isModifier": false,
      "short": "Classification of section (recommended)",
      "mapping": [ {
        "map": "052",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "CompositionSectionType"
        } ],
        "description": "Classification of a section of a composition/document."
      },
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.code",
      "comment": "The code identifies the section for an automated processor of the document. This is particularly relevant when using profiles to control the structure of the document.   \n\nIf the section has content (instead of sub-sections), the section.code does not change the meaning or interpretation of the resource that is the content of the section in the comments for the section.code.",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "46264-8",
          "system": "http://loinc.org"
        } ]
      },
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.code"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.author",
      "requirements": "Identifies who is responsible for the content.",
      "min": 0,
      "definition": "Identifies who is responsible for the information in this section, not necessarily who typed it in.",
      "isModifier": false,
      "short": "Who and/or what authored the section",
      "mapping": [ {
        "map": "FiveWs.author",
        "identity": "w5"
      }, {
        "map": ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]",
        "identity": "rim"
      }, {
        "map": ".author.assignedAuthor",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Practitioner|4.0.1", "http://hl7.org/fhir/StructureDefinition/PractitionerRole|4.0.1", "http://hl7.org/fhir/StructureDefinition/Device|4.0.1", "http://hl7.org/fhir/StructureDefinition/Patient|4.0.1", "http://hl7.org/fhir/StructureDefinition/RelatedPerson|4.0.1", "http://hl7.org/fhir/StructureDefinition/Organization|4.0.1" ]
      } ],
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.author",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.author"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.focus",
      "min": 0,
      "definition": "The actual focus of the section when it is not the subject of the composition, but instead represents something or someone associated with the subject such as (for a patient subject) a spouse, parent, fetus, or donor. If not focus is specified, the focus is assumed to be focus of the parent section, or, for a section in the Composition itself, the subject of the composition. Sections with a focus SHALL only include resources where the logical subject (patient, subject, focus, etc.) matches the section focus, or the resources have no logical subject (few resources).",
      "isModifier": false,
      "short": "Who/what the section is about, when it is not about the subject of composition",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ]
      } ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.focus",
      "comment": "Typically, sections in a doument are about the subject of the document, whether that is a  patient, or group of patients, location, or device, or whatever. For some kind of documents, some sections actually contain data about related entities. Typical examples are  a section in a newborn discharge summary concerning the mother, or family history documents, with a section about each family member, though there are many other examples.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.focus"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.text",
      "min": 0,
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "isModifier": false,
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "048",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-124",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".text",
        "identity": "rim"
      }, {
        "map": ".text",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Narrative"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "GegenereerdeSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.text",
      "condition": [ "cmp-1" ],
      "comment": "Document profiles may define what content should be represented in the narrative to ensure clinical safety.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.text"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.mode",
      "requirements": "Sections are used in various ways, and it must be known in what way it is safe to use the entries in them.",
      "min": 0,
      "definition": "How the entry list was prepared - whether it is a working list that is suitable for being maintained on an ongoing basis, or if it represents a snapshot of a list of items from another source, or whether it is a prepared list where items may be marked as added, modified or deleted.",
      "isModifier": false,
      "short": "working | snapshot | changes",
      "mapping": [ {
        "map": "FiveWs.class",
        "identity": "w5"
      }, {
        "map": ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "required",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-mode|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionMode"
        } ],
        "description": "The processing mode that applies to this section."
      },
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.mode",
      "comment": "This element is labeled as a modifier because a change list must not be misunderstood as a complete list.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.mode"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.orderedBy",
      "requirements": "Important for presentation and rendering.  Lists may be sorted to place more important information first or to group related entries.",
      "min": 0,
      "definition": "Specifies the order applied to the items in the section entries.",
      "isModifier": false,
      "short": "Order of section entries",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP].sequenceNumber > 1",
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-order|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEntryOrder"
        } ],
        "description": "What order applies to the items in the entry."
      },
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.orderedBy",
      "comment": "Applications SHOULD render ordered lists in the order provided, but MAY allow users to re-order based on their own preferences as well. If there is no order specified, the order is unknown, though there may still be some order.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.orderedBy"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "Describes the patient's implanted and external medical devices and equipment that their health status depends on. Includes devices (such as cardiac pacemakers, implantable defibrillator, prothesis, ferromagnetic bone implants etc.) that are important to know by the HP.",
      "isModifier": false,
      "short": "DeviceUse",
      "mapping": [ {
        "map": "049",
        "comment": "deviceUse",
        "identity": "requirements-PatientSummary"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "alias": [ "MedischHulpmiddel" ],
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.entry",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.entry",
      "min": 0,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "A reference to data that supports this section",
      "mapping": [ {
        "map": "nlps-dataelement-166",
        "comment": "DeviceUse",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse" ]
      } ],
      "sliceName": "deviceStatement",
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.entry:deviceStatement",
      "condition": [ "cmp-2" ],
      "comment": "If there are no entries in the list, an emptyReason SHOULD be provided.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.entry"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.emptyReason",
      "requirements": "Allows capturing things like \"none exist\" or \"not asked\" which can be important for most lists.",
      "min": 0,
      "definition": "Use if no medical devices or implants are listed.",
      "isModifier": false,
      "short": "EmptyReason",
      "mapping": [ {
        "map": "050",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-128",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": ".inboundRelationship[typeCode=SUBJ,code,
        "identity": "rim"
      }, {
        "map": "n/a",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        }, {
          "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-source",
          "valueCanonical": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary|1.0.0-alpha.1"
        } ]
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/list-empty-reason|4.0.1",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "SectionEmptyReason"
        } ],
        "description": "If a section is empty, why it is empty."
      },
      "alias": [ "RedenAfwezigheid" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices.emptyReason",
      "condition": [ "cmp-2" ],
      "comment": "The various reasons for an empty section make a significant interpretation to its interpretation. Note that this code is for use when the entire section content has been suppressed, and not for when individual items are omitted - implementers may consider using a text note or a flag on an entry in these cases.",
      "base": {
        "max": "1",
        "min": 0,
        "path": "Composition.section.emptyReason"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "xpath": "@value|f:*|h:div",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "Composition.section.section",
      "min": 0,
      "definition": "A nested sub-section within this section.",
      "isModifier": false,
      "short": "Nested Section",
      "mapping": [ {
        "map": "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]",
        "identity": "rim"
      }, {
        "map": ".component.section",
        "identity": "cda"
      } ],
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
      "max": "*",
      "id": "Composition.section:sectionMedicalDevices.section",
      "condition": [ "cmp-1" ],
      "comment": "Nested sections are primarily used to help human readers navigate to particular portions of the document.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Composition.section.section"
      },
      "isSummary": false
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "4.0.1"
    } ]
  },
  "status": "draft",
  "id": "b637bf0f-9ede-4060-9fa5-e48bad094ff1",
  "kind": "resource",
  "url": "http://ig.nictiz.nl/nlps/StructureDefinition/nl-PatientSummary",
  "version": "1.0.0-alpha.1",
  "differential": {
    "element": [ {
      "id": "Composition",
      "path": "Composition"
    }, {
      "id": "Composition.language",
      "path": "Composition.language",
      "alias": [ "Taal" ],
      "short": "Language",
      "mapping": [ {
        "map": "007",
        "comment": "Language",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-32",
        "comment": "Language",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
      "mustSupport": true
    }, {
      "id": "Composition.extension:version",
      "path": "Composition.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version" ]
      } ],
      "sliceName": "version"
    }, {
      "id": "Composition.extension:version.url",
      "path": "Composition.extension.url",
      "fixedUri": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Composition.version"
    }, {
      "id": "Composition.extension:version.value[x]",
      "path": "Composition.extension.value[x]",
      "alias": [ "Versie" ],
      "short": "Version",
      "mapping": [ {
        "map": "011",
        "comment": "Version",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-36",
        "comment": "Version",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Business version of the document. The exact algorithm for versioning is decided by the producer/custodian.",
      "mustSupport": true
    }, {
      "path": "Composition.identifier",
      "min": 1,
      "definition": "Unique identifier of the document.",
      "short": "Identifier",
      "mapping": [ {
        "map": "003",
        "comment": "Identifier",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-24",
        "comment": "Identifier",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Identificatienummer" ],
      "id": "Composition.identifier"
    }, {
      "id": "Composition.status",
      "path": "Composition.status",
      "alias": [ "Status" ],
      "short": "Status",
      "mapping": [ {
        "map": "006",
        "comment": "Status",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-31",
        "comment": "Status",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Status of the document.",
      "mustSupport": true
    }, {
      "id": "Composition.type",
      "path": "Composition.type",
      "mapping": [ {
        "map": "008",
        "comment": "Type",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Type of document at hand, in this case always 60591-5 Patient summary document.",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "60591-5",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.category",
      "path": "Composition.category",
      "alias": [ "ZorgSpecialisme" ],
      "short": "ServiceSpecialty",
      "mapping": [ {
        "map": "021",
        "comment": "ServiceSpecialty",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-50",
        "comment": "ServiceSpecialty",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Additional details about where the content was created (e.g. clinical specialty).",
      "mustSupport": true
    }, {
      "path": "Composition.subject",
      "min": 1,
      "definition": "Patient/subject information.",
      "short": "Patient",
      "mapping": [ {
        "map": "002",
        "comment": "Subject",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-23",
        "comment": "Patient",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Patient" ],
      "id": "Composition.subject"
    }, {
      "id": "Composition.date",
      "path": "Composition.date",
      "alias": [ "Datum" ],
      "short": "Date",
      "mapping": [ {
        "map": "005",
        "comment": "Date",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-30",
        "comment": "Date",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Date of finalizing/issuing the document.",
      "mustSupport": true
    }, {
      "path": "Composition.author",
      "definition": "Author(s) of the document.",
      "short": "Author",
      "mapping": [ {
        "map": "004",
        "comment": "Author",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-26",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-27",
        "comment": "Pracititioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-28",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-29",
        "comment": "Device",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Patient", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization", "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Auteur" ],
      "id": "Composition.author"
    }, {
      "id": "Composition.title",
      "path": "Composition.title",
      "alias": [ "Titel" ],
      "short": "Title",
      "mapping": [ {
        "map": "009",
        "comment": "Title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-34",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Patient Summary of Jane Green 10.12.2024'.",
      "mustSupport": true
    }, {
      "id": "Composition.attester",
      "path": "Composition.attester",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "mode",
          "type": "value"
        } ]
      }
    }, {
      "id": "Composition.attester:legalAuthenticator",
      "path": "Composition.attester",
      "alias": [ "JuridischeAuthenticatie" ],
      "short": "legalAuthentication",
      "mapping": [ {
        "map": "016",
        "comment": "legalAuthentication",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-43",
        "comment": "legalAuthentication",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "legalAuthenticator",
      "definition": "Document legal authentication details."
    }, {
      "id": "Composition.attester:legalAuthenticator.mode",
      "path": "Composition.attester.mode",
      "mapping": [ {
        "map": "019",
        "comment": "mode of legal authentication",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Indicates the level of authority of the attestation. The type of attestation the authenticator offers.",
      "mustSupport": true,
      "patternCode": "legal"
    }, {
      "path": "Composition.attester.time",
      "min": 1,
      "definition": "Date and time when the document was authorised.",
      "short": "DateTime",
      "mapping": [ {
        "map": "018",
        "comment": "dateTime of legal authentication",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-48",
        "comment": "DateTime",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "DatumTijd" ],
      "id": "Composition.attester:legalAuthenticator.time"
    }, {
      "path": "Composition.attester.party",
      "min": 1,
      "definition": "The person or organisation taking responsibility for the content of the document.",
      "short": "legalAuthenticator",
      "mapping": [ {
        "map": "017",
        "comment": "legalAuthenticator",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-46",
        "comment": "Practitioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-45",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-47",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "JuridischVerantwoordelijke" ],
      "id": "Composition.attester:legalAuthenticator.party"
    }, {
      "id": "Composition.attester:validator",
      "path": "Composition.attester",
      "alias": [ "Validator" ],
      "short": "Validator",
      "mapping": [ {
        "map": "012",
        "comment": "attestation",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-37",
        "comment": "Validator",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "validator",
      "definition": "Document attestation details."
    }, {
      "id": "Composition.attester:validator.mode",
      "path": "Composition.attester.mode",
      "mapping": [ {
        "map": "014",
        "comment": "Mode of attestion",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Indicates the level of authority of the attestation. The type of attestation the authenticator offers.",
      "mustSupport": true,
      "patternCode": "professional"
    }, {
      "path": "Composition.attester.time",
      "min": 1,
      "definition": "Date and time of the approval of the document by Attester.",
      "short": "DateTime",
      "mapping": [ {
        "map": "015",
        "comment": "dateTime of attestation",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-42",
        "comment": "DateTime",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "DatumTijd" ],
      "id": "Composition.attester:validator.time"
    }, {
      "path": "Composition.attester.party",
      "min": 1,
      "definition": "Attester who validated the document.",
      "short": "validator",
      "mapping": [ {
        "map": "013",
        "comment": "attester[x]",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-40",
        "comment": "Practitioner",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-39",
        "comment": "PractitionerRole",
        "identity": "NLPS-PatientSummary-v0.1"
      }, {
        "map": "nlps-dataelement-41",
        "comment": "Device",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Practitioner", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-PractitionerRole", "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Device" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Validator" ],
      "id": "Composition.attester:validator.party"
    }, {
      "path": "Composition.custodian",
      "definition": "Organisation that is in charge of maintaining the document/report.",
      "short": "Organization",
      "mapping": [ {
        "map": "022",
        "comment": "custodian",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-52",
        "comment": "Organization",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Organization" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Organisatie" ],
      "id": "Composition.custodian"
    }, {
      "id": "Composition.event.code",
      "path": "Composition.event.code",
      "alias": [ "EvenementType" ],
      "short": "EventType",
      "mapping": [ {
        "map": "020",
        "comment": "eventType",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-49",
        "comment": "EventType",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Categorisation of the event covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of such tags or labels depends on the use case and agreement between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.",
      "mustSupport": true
    }, {
      "id": "Composition.event.period",
      "path": "Composition.event.period",
      "alias": [ "Periode" ],
      "short": "Period",
      "mapping": [ {
        "map": "010",
        "comment": "Period",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-172",
        "comment": "Period",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Time period of information covered in the document.",
      "mustSupport": true
    }, {
      "id": "Composition.section",
      "min": 5,
      "path": "Composition.section",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "value"
        } ]
      }
    }, {
      "constraint": [ {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Problems. Human readable denominator to identify the topic of this section.",
      "short": "Problems",
      "mapping": [ {
        "map": "033",
        "comment": "problems",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-147",
        "comment": "Problems",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "sliceName": "sectionProblems",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Problemen" ],
      "max": "1",
      "id": "Composition.section:sectionProblems"
    }, {
      "id": "Composition.section:sectionProblems.extension:note",
      "path": "Composition.section.extension",
      "sliceName": "note",
      "isModifier": false
    }, {
      "id": "Composition.section:sectionProblems.extension:note.url",
      "path": "Composition.section.extension.url",
      "fixedUri": "note"
    }, {
      "path": "Composition.section.extension.value[x]",
      "definition": "Free text notes by the health professional.",
      "short": "Note",
      "mapping": [ {
        "map": "037",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-148",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "id": "Composition.section:sectionProblems.extension:note.value[x]"
    }, {
      "path": "Composition.section.title",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "short": "Title",
      "mapping": [ {
        "map": "039",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-149",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Titel" ],
      "id": "Composition.section:sectionProblems.title"
    }, {
      "id": "Composition.section:sectionProblems.code",
      "min": 1,
      "path": "Composition.section.code",
      "mapping": [ {
        "map": "038",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "11450-4",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:sectionProblems.text",
      "path": "Composition.section.text",
      "alias": [ "GegenereerdeSamenvatting" ],
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "034",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-160",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "mustSupport": true
    }, {
      "path": "Composition.section.entry",
      "definition": "Health conditions affecting the health of the patient.",
      "short": "Condition",
      "mapping": [ {
        "map": "035",
        "comment": "problem",
        "identity": "requirements-PatientSummary"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Gezondheidstoestand" ],
      "id": "Composition.section:sectionProblems.entry"
    }, {
      "id": "Composition.section:sectionProblems.entry:problem",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Condition" ]
      } ],
      "mapping": [ {
        "map": "nlps-dataelement-167",
        "comment": "Condition",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "problem"
    }, {
      "id": "Composition.section:sectionProblems.emptyReason",
      "path": "Composition.section.emptyReason",
      "alias": [ "RedenAfwezigheid" ],
      "short": "EmptyReason",
      "mapping": [ {
        "map": "036",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-164",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Use if no conditions are listed.",
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Allergies and Intolerances. Human readable denominator to identify the topic of this section.",
      "short": "AllergiesAndIntolerances",
      "mapping": [ {
        "map": "024",
        "comment": "allergiesAndIntolerances",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-74",
        "comment": "AllergiesAndIntolerances",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "sliceName": "sectionAllergies",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "AllergieEnIntoleranties" ],
      "max": "1",
      "id": "Composition.section:sectionAllergies"
    }, {
      "id": "Composition.section:sectionAllergies.extension:note",
      "path": "Composition.section.extension",
      "sliceName": "note",
      "isModifier": false
    }, {
      "id": "Composition.section:sectionAllergies.extension:note.url",
      "path": "Composition.section.extension.url",
      "fixedUri": "note"
    }, {
      "path": "Composition.section.extension.value[x]",
      "definition": "Free text notes by the health professional.",
      "short": "Note",
      "mapping": [ {
        "map": "030",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-75",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "id": "Composition.section:sectionAllergies.extension:note.value[x]"
    }, {
      "path": "Composition.section.title",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "short": "Title",
      "mapping": [ {
        "map": "032",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-76",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Titel" ],
      "id": "Composition.section:sectionAllergies.title"
    }, {
      "id": "Composition.section:sectionAllergies.code",
      "min": 1,
      "path": "Composition.section.code",
      "mapping": [ {
        "map": "031",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "48765-2",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:sectionAllergies.text",
      "path": "Composition.section.text",
      "alias": [ "GegenereerdeSamenvatting" ],
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "025",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-87",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "mustSupport": true
    }, {
      "path": "Composition.section.entry",
      "definition": "List of structured allergies and intolerances.",
      "short": "AllergyIntolerance",
      "mapping": [ {
        "map": "026",
        "comment": "Entry.AllergyIntolerance",
        "identity": "requirements-PatientSummary"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "AllergieIntolerantie" ],
      "id": "Composition.section:sectionAllergies.entry"
    }, {
      "id": "Composition.section:sectionAllergies.entry:allergyOrIntolerance",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-AllergyIntolerance" ]
      } ],
      "mapping": [ {
        "map": "nlps-dataelement-92",
        "comment": "AllergyIntolerance",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "allergyOrIntolerance"
    }, {
      "id": "Composition.section:sectionAllergies.emptyReason",
      "path": "Composition.section.emptyReason",
      "alias": [ "RedenAfwezigheid" ],
      "short": "EmptyReason",
      "mapping": [ {
        "map": "027",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "028",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "029",
        "comment": "EmptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-91",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Use if no Allergies are listed.",
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Medication Summary. Human readable denominator to identify the topic of this section.",
      "short": "MedicationSummary",
      "mapping": [ {
        "map": "040",
        "comment": "medicationSummary",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-129",
        "comment": "MedicationSummary",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "sliceName": "sectionMedications",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "MedicatieSamenvatting" ],
      "max": "1",
      "id": "Composition.section:sectionMedications"
    }, {
      "id": "Composition.section:sectionMedications.extension:note",
      "path": "Composition.section.extension",
      "sliceName": "note",
      "isModifier": false
    }, {
      "id": "Composition.section:sectionMedications.extension:note.url",
      "path": "Composition.section.extension.url",
      "fixedUri": "note"
    }, {
      "path": "Composition.section.extension.value[x]",
      "definition": "Free text notes by the health professional.",
      "short": "Note",
      "mapping": [ {
        "map": "044",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-130",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "id": "Composition.section:sectionMedications.extension:note.value[x]"
    }, {
      "path": "Composition.section.title",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "short": "Title",
      "mapping": [ {
        "map": "046",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-131",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Titel" ],
      "id": "Composition.section:sectionMedications.title"
    }, {
      "id": "Composition.section:sectionMedications.code",
      "min": 1,
      "path": "Composition.section.code",
      "mapping": [ {
        "map": "045",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "10160-0",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:sectionMedications.text",
      "path": "Composition.section.text",
      "alias": [ "GegenereerdeSamenvatting" ],
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "041",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-142",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "mustSupport": true
    }, {
      "id": "Composition.section:sectionMedications.entry",
      "path": "Composition.section.entry",
      "comment": "For medication data within NL-PS, the FHIR profiles representing MedicationUse (Medicatiegebruik), including InstructionsForUse (Gebruiksinstructies) and PharmaceuticalProduct (FarmaceutischProduct), from the Medication Process 9 (MP9) information standard, version 3.0.0-rc.x, will be used. These profiles are expected to become EHDS-compliant in the near future and will be incorporated into the NL-PS FHIR specification once available.",
      "mapping": [ {
        "map": "042",
        "comment": "medicationUse",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true
    }, {
      "id": "Composition.section:sectionMedications.emptyReason",
      "path": "Composition.section.emptyReason",
      "alias": [ "RedenAfwezigheid" ],
      "short": "EmptyReason",
      "mapping": [ {
        "map": "043",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-146",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Use if no medicines are listed.",
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Procedures. Human readable denominator to identify the topic of this section.",
      "short": "Procedures",
      "mapping": [ {
        "map": "054",
        "comment": "Procedures",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-93",
        "comment": "Procedures",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "sliceName": "sectionProceduresHx",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Verrichtingen" ],
      "max": "1",
      "id": "Composition.section:sectionProceduresHx"
    }, {
      "id": "Composition.section:sectionProceduresHx.extension:note",
      "path": "Composition.section.extension",
      "sliceName": "note",
      "isModifier": false
    }, {
      "id": "Composition.section:sectionProceduresHx.extension:note.url",
      "path": "Composition.section.extension.url",
      "fixedUri": "note"
    }, {
      "path": "Composition.section.extension.value[x]",
      "definition": "Free text notes by the health professional.",
      "short": "Note",
      "mapping": [ {
        "map": "058",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-94",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "id": "Composition.section:sectionProceduresHx.extension:note.value[x]"
    }, {
      "path": "Composition.section.title",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "short": "Title",
      "mapping": [ {
        "map": "060",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-95",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Titel" ],
      "id": "Composition.section:sectionProceduresHx.title"
    }, {
      "id": "Composition.section:sectionProceduresHx.code",
      "min": 1,
      "path": "Composition.section.code",
      "mapping": [ {
        "map": "059",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "47519-4",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:sectionProceduresHx.text",
      "path": "Composition.section.text",
      "alias": [ "GegenereerdeSamenvatting" ],
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "055",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-106",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "mustSupport": true
    }, {
      "path": "Composition.section.entry",
      "definition": "List of structured procedures.",
      "short": "Procedure",
      "mapping": [ {
        "map": "056",
        "comment": "procedure",
        "identity": "requirements-PatientSummary"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Verrichting" ],
      "id": "Composition.section:sectionProceduresHx.entry"
    }, {
      "id": "Composition.section:sectionProceduresHx.entry:procedure",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-Procedure" ]
      } ],
      "mapping": [ {
        "map": "nlps-dataelement-165",
        "comment": "Procedure",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "procedure"
    }, {
      "id": "Composition.section:sectionProceduresHx.emptyReason",
      "path": "Composition.section.emptyReason",
      "alias": [ "RedenAfwezigheid" ],
      "short": "EmptyReason",
      "mapping": [ {
        "map": "057",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-110",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Use if no procedures are listed.",
      "mustSupport": true
    }, {
      "constraint": [ {
        "key": "nl-ps-comp-1",
        "human": "Either section.entry or emptyReason are present",
        "xpath": "(/f:entry.reference and not /f:emptyReason) or (not(/f:emptyReason) and /f:entry.reference)",
        "severity": "error",
        "expression": "(entry.reference.exists() or emptyReason.exists())"
      } ],
      "path": "Composition.section",
      "min": 1,
      "definition": "Section: Medical devices and implants. Human readable denominator to identify the topic of this section.",
      "short": "MedicalDevicesAndImplants",
      "mapping": [ {
        "map": "047",
        "comment": "medicalDevicesAndImplants",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-111",
        "comment": "MedicalDevicesAndImplants",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "sliceName": "sectionMedicalDevices",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "MedischeHulpmiddelenEnImplantaten" ],
      "max": "1",
      "id": "Composition.section:sectionMedicalDevices"
    }, {
      "id": "Composition.section:sectionMedicalDevices.extension:note",
      "path": "Composition.section.extension",
      "sliceName": "note",
      "isModifier": false
    }, {
      "id": "Composition.section:sectionMedicalDevices.extension:note.url",
      "path": "Composition.section.extension.url",
      "fixedUri": "note"
    }, {
      "path": "Composition.section.extension.value[x]",
      "definition": "Free text notes by the health professional.",
      "short": "Note",
      "mapping": [ {
        "map": "051",
        "comment": "note",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-19",
        "comment": "Note",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Notitie" ],
      "id": "Composition.section:sectionMedicalDevices.extension:note.value[x]"
    }, {
      "path": "Composition.section.title",
      "min": 1,
      "definition": "The label for this particular section. This will be part of the rendered content for the document, and is often used to build a table of contents.",
      "short": "Title",
      "mapping": [ {
        "map": "053",
        "comment": "title",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-113",
        "comment": "Title",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "Titel" ],
      "id": "Composition.section:sectionMedicalDevices.title"
    }, {
      "id": "Composition.section:sectionMedicalDevices.code",
      "min": 1,
      "path": "Composition.section.code",
      "mapping": [ {
        "map": "052",
        "comment": "code",
        "identity": "requirements-PatientSummary"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:populate"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:handle"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "46264-8",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:sectionMedicalDevices.text",
      "path": "Composition.section.text",
      "alias": [ "GegenereerdeSamenvatting" ],
      "short": "GeneratedNarrative",
      "mapping": [ {
        "map": "048",
        "comment": "generatedNarrative",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-124",
        "comment": "GeneratedNarrative",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Narrative, potentially formatted, content of the whole section. Must be automatically generated only; manually written narratives are not allowed. Use the healthcare provider's free-text note for that purpose.",
      "mustSupport": true
    }, {
      "path": "Composition.section.entry",
      "definition": "Describes the patient's implanted and external medical devices and equipment that their health status depends on. Includes devices (such as cardiac pacemakers, implantable defibrillator, prothesis, ferromagnetic bone implants etc.) that are important to know by the HP.",
      "short": "DeviceUse",
      "mapping": [ {
        "map": "049",
        "comment": "deviceUse",
        "identity": "requirements-PatientSummary"
      } ],
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse", "http://hl7.org/fhir/StructureDefinition/DocumentReference" ]
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "alias": [ "MedischHulpmiddel" ],
      "id": "Composition.section:sectionMedicalDevices.entry"
    }, {
      "id": "Composition.section:sectionMedicalDevices.entry:deviceStatement",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://ig.nictiz.nl/gbb/StructureDefinition/nl-core-DeviceUse" ]
      } ],
      "mapping": [ {
        "map": "nlps-dataelement-166",
        "comment": "DeviceUse",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "sliceName": "deviceStatement"
    }, {
      "id": "Composition.section:sectionMedicalDevices.emptyReason",
      "path": "Composition.section.emptyReason",
      "alias": [ "RedenAfwezigheid" ],
      "short": "EmptyReason",
      "mapping": [ {
        "map": "050",
        "comment": "emptyReason",
        "identity": "requirements-PatientSummary"
      }, {
        "map": "nlps-dataelement-128",
        "comment": "EmptyReason",
        "identity": "NLPS-PatientSummary-v0.1"
      } ],
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHOULD:populate-if-known"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ExchangingSystem"
        } ]
      }, {
        "url": "http://hl7.org/fhir/StructureDefinition/obligation",
        "extension": [ {
          "url": "code",
          "valueCode": "SHALL:no-error"
        }, {
          "url": "actor",
          "valueCanonical": "http://ig.nictiz.nl/gbb/ActorDefinition/ConsumingSystem"
        } ]
      } ],
      "definition": "Use if no medical devices or implants are listed.",
      "mustSupport": true
    } ]
  },
  "contact": [ {
    "name": "Nictiz",
    "telecom": [ {
      "value": "https://nictiz.nl",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition"
}