PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.bfdr@1.0.0
    http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-provider-fetal-death-report
{
  "description": "This Composition profile contains constraints to address the use case describing the need for fetal death information to be recorded and communicated to the jurisdictional Vital Records Office.",
  "_filename": "StructureDefinition-Composition-provider-fetal-death-report.json",
  "package_name": "hl7.fhir.us.bfdr",
  "date": "2021-10-22T14:57:04+00:00",
  "derivation": "constraint",
  "meta": {
    "source": "#Cn25hUloqz0PwRvX",
    "versionId": "47",
    "lastUpdated": "2021-07-12T06:11:19.838+00:00"
  },
  "publisher": "HL7 International - Public Health Work Group",
  "fhirVersion": "4.0.1",
  "jurisdiction": [ {
    "text": "United States of America",
    "coding": [ {
      "code": "US",
      "system": "urn:iso:std:iso:3166",
      "display": "United States of America"
    } ]
  } ],
  "name": "CompositionProviderFetalDeathReport",
  "mapping": [ {
    "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,
  "type": "Composition",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Composition - Provider Fetal Death Report",
  "package_version": "1.0.0",
  "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": "string"
        } ]
      } ],
      "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": "The base language in which the resource is written.",
      "isModifier": false,
      "short": "Language of the resource content",
      "type": [ {
        "code": "code"
      } ],
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/languages",
        "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"
        }, {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding",
          "valueBoolean": true
        } ],
        "description": "A human language."
      },
      "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": 1,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "mustSupport": true,
      "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",
        "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": 1,
      "definition": "An Extension",
      "isModifier": false,
      "short": "State File Number",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-number" ]
      } ],
      "mustSupport": true,
      "sliceName": "fetalDeathReportNumber",
      "max": "1",
      "id": "Composition.extension:fetalDeathReportNumber",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "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": "Local File No.",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-local-file-number" ]
      } ],
      "mustSupport": true,
      "sliceName": "fetalDeathLocalFileNumber",
      "max": "1",
      "id": "Composition.extension:fetalDeathLocalFileNumber",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "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": 1,
      "definition": "An Extension",
      "isModifier": false,
      "short": "Extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-date-received-by-registrar" ]
      } ],
      "mustSupport": true,
      "sliceName": "dateReceivedByRegistrar",
      "max": "1",
      "id": "Composition.extension:dateReceivedByRegistrar",
      "condition": [ "ele-1" ],
      "base": {
        "max": "*",
        "min": 0,
        "path": "DomainResource.extension"
      }
    }, {
      "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": 0,
      "definition": "A version-independent identifier for the Composition. This identifier stays constant as the composition is changed over time.",
      "isModifier": false,
      "short": "Version-independent identifier for the Composition",
      "mapping": [ {
        "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"
      } ],
      "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": "In the case of a fetal death sent in error, a status of 'entered-in-error' must be set.",
      "isModifier": true,
      "short": "In the case of a fetal death sent in error, a status of 'entered-in-error' must be set.",
      "mapping": [ {
        "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,
      "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."
      },
      "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": "U.S. standard report of fetal death - 2003 revision",
      "isModifier": false,
      "short": "U.S. standard report of fetal death - 2003 revision",
      "mapping": [ {
        "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,
      "binding": {
        "strength": "preferred",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-typecodes",
        "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": "69045-3",
          "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": "A categorization for the type of the composition - helps for indexing and searching. This may be implied by or derived from the code specified in the Composition Type.",
      "isModifier": false,
      "short": "Categorization of Composition",
      "mapping": [ {
        "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"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/document-classcodes",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString": "DocumentCategory"
        } ],
        "description": "High-level kind of a clinical document at a macro level."
      },
      "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": "The subject of the composition as a whole is the decedent fetus. Different sections in the composition have different focus (e.g.: the mother).",
      "isModifier": false,
      "short": "The subject of the composition is the decedent fetus",
      "mapping": [ {
        "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://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-decedent-fetus" ]
      } ],
      "mustSupport": true,
      "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": "The Encounter for the Composition is the mother's maternity encounter.",
      "isModifier": false,
      "short": "The Encounter for the Composition is the mother's maternity encounter.",
      "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/us/bfdr/StructureDefinition/Encounter-maternity" ]
      } ],
      "mustSupport": true,
      "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": "The composition editing time, when the composition was last logically changed by the author.",
      "isModifier": false,
      "short": "Composition editing time",
      "mapping": [ {
        "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"
      } ],
      "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": "Name and title of person completing the report. May be, but need not be, the same as the attendant at delivery.",
      "isModifier": false,
      "short": "The author is the person who verifies/approves the accuracy of the data to be sent to the vital records system.",
      "mapping": [ {
        "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://hl7.org/fhir/us/vr-common-library/StructureDefinition/Practitioner-vital-records" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "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": "Official human-readable label for the composition.",
      "isModifier": false,
      "short": "Human Readable name/title",
      "mapping": [ {
        "map": "./title",
        "identity": "rim"
      }, {
        "map": ".title",
        "identity": "cda"
      }, {
        "map": "DocumentReference.description, DocumentReference.content.attachment.title",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "string"
      } ],
      "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"
      } ],
      "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", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Practitioner", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "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.custodian",
      "requirements": "Identifies where to go to find the current version, where to report issues, etc.",
      "min": 0,
      "definition": "Identifies the organization or group who is responsible for ongoing maintenance of and access to the composition/document information.",
      "isModifier": false,
      "short": "Organization which maintains the composition",
      "mapping": [ {
        "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://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "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" ]
      } ],
      "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": "This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the typeCode, such as a \"History and Physical Report\" in which the procedure being documented is necessarily a \"History and Physical\" act.",
      "isModifier": false,
      "short": "Code(s) that apply to the event being documented",
      "mapping": [ {
        "map": ".code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      }, {
        "map": "DocumentReference.event.code",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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."
      },
      "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": "The period of time covered by the documentation. There is no assertion that the documentation is a complete representation for this period, only that it documents events during this time.",
      "isModifier": false,
      "short": "The period covered by the documentation",
      "mapping": [ {
        "map": ".effectiveTime",
        "identity": "rim"
      }, {
        "map": ".effectiveTime",
        "identity": "cda"
      }, {
        "map": "DocumentReference.event.period",
        "identity": "fhirdocumentreference"
      } ],
      "type": [ {
        "code": "Period"
      } ],
      "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" ]
      } ],
      "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": 1,
      "definition": "The Composition is broken into sections that, where possible, align with the sections in the Fetal Death Report. The sections are Mother, Mother Prenatal,  Medical and Health, and fetus. Various administrative and demographic data in the Birth Certificate are contained in other locations in the Composition, such as the Patient and Encounter profiles.",
      "isModifier": false,
      "short": "The Composition is broken into sections that, where possible, align with the sections in the Fetal Death Report.",
      "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": "pattern"
        } ]
      },
      "type": [ {
        "code": "BackboneElement"
      } ],
      "mustSupport": true,
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "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",
        "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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "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" ]
      } ],
      "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",
        "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" ]
      } ],
      "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",
        "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())"
      } ],
      "path": "Composition.section",
      "min": 0,
      "definition": "This section contains items from the Mother (prenatal) on theFetal Death Report.",
      "isModifier": false,
      "short": "Mother (prenatal) section on the Fetal Death Report",
      "mapping": [ {
        "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": "motherPrenatal",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "max": "1",
      "id": "Composition.section:motherPrenatal",
      "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:motherPrenatal.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:motherPrenatal.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:motherPrenatal.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:motherPrenatal.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": "Prenatal records",
      "isModifier": false,
      "short": "Prenatal records",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
        "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:motherPrenatal.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": "57073-9",
          "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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "*",
      "id": "Composition.section:motherPrenatal.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": 1,
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "isModifier": false,
      "short": "The focus of this section is the mother",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Composition.section:motherPrenatal.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:motherPrenatal.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:motherPrenatal.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",
        "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:motherPrenatal.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": 1,
      "definition": "Entries that are contained in the Mother Prenatal section",
      "isModifier": false,
      "short": "Entries that are contained in the Mother Prenatal section",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Composition.section:motherPrenatal.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": "Planned to deliver at home",
      "isModifier": false,
      "short": "Planned to deliver at home",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-planned-to-deliver-at-home" ]
      } ],
      "mustSupport": true,
      "sliceName": "plannedToDeliverAtHome",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:plannedToDeliverAtHome",
      "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": "Date that mother had her first prenatal care visit.",
      "isModifier": false,
      "short": "First prenatal care visit",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-date-of-first-prenatal-care-visit" ]
      } ],
      "mustSupport": true,
      "sliceName": "firstPrenatalCareVisit",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:firstPrenatalCareVisit",
      "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": "Date that the mother's last normal menses began. This item is used to compute the gestational age of the infant.",
      "isModifier": false,
      "short": "Date last normal menses began",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-last-menstrual-period" ]
      } ],
      "mustSupport": true,
      "sliceName": "dateLastNormalMenses",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:dateLastNormalMenses",
      "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": "The pregnancy history of the mother with respect to previous children born alive",
      "isModifier": false,
      "short": "Number of previous live births now living",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-births-now-living" ]
      } ],
      "mustSupport": true,
      "sliceName": "numberNowLiving",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:numberNowLiving",
      "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": "The pregnancy history of the mother with respect to previous children born alive",
      "isModifier": false,
      "short": "Number of previous live births now dead",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-births-now-dead" ]
      } ],
      "mustSupport": true,
      "sliceName": "numberNowDead",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:numberNowDead",
      "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": "The pregnancy history of the mother with respect to previous children born alive",
      "isModifier": false,
      "short": "Date of last live birth",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-date-of-last-live-birth" ]
      } ],
      "mustSupport": true,
      "sliceName": "dateLastLiveBirth",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:dateLastLiveBirth",
      "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": "The mother's height",
      "isModifier": false,
      "short": "Mother's height",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-mother-height" ]
      } ],
      "mustSupport": true,
      "sliceName": "mothersHeight",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:mothersHeight",
      "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": "The mother's prepregnancy weight",
      "isModifier": false,
      "short": "Mother's prepregnancy weight",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-mother-prepregnancy-weight" ]
      } ],
      "mustSupport": true,
      "sliceName": "mothersPrepregnancyWeight",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:mothersPrepregnancyWeight",
      "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": "Use of the Women, Infant's, and Children (WIC) nutritional program by the mother during the pregnancy.",
      "isModifier": false,
      "short": "Use of the WIC nutritional program by the mother",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-mother-received-wic-food" ]
      } ],
      "mustSupport": true,
      "sliceName": "motherReceivedWICFood",
      "max": "1",
      "id": "Composition.section:motherPrenatal.entry:motherReceivedWICFood",
      "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": "The number of cigarettes or packs of cigarettes the mother smoked 3 months before and at various intervals during the pregnancy",
      "isModifier": false,
      "short": "Cigarettes smoked by the mother before and during the pregnancy",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-cigarette-smoking-before-during-pregnancy" ]
      } ],
      "mustSupport": true,
      "sliceName": "cigaretteSmokingBeforeDuringPregnancy",
      "max": "4",
      "id": "Composition.section:motherPrenatal.entry:cigaretteSmokingBeforeDuringPregnancy",
      "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",
        "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:motherPrenatal.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:motherPrenatal.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())"
      } ],
      "path": "Composition.section",
      "min": 0,
      "definition": "This section contains items from the Medical and Health Information section on the Fetal Death Report.",
      "isModifier": false,
      "short": "Medical and Health Information section on the Fetal Death Report",
      "mapping": [ {
        "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": "medicalHealthInformation",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "max": "1",
      "id": "Composition.section:medicalHealthInformation",
      "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:medicalHealthInformation.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:medicalHealthInformation.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:medicalHealthInformation.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:medicalHealthInformation.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": "Clinical information",
      "isModifier": false,
      "short": "Clinical information",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
        "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:medicalHealthInformation.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": "55752-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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "*",
      "id": "Composition.section:medicalHealthInformation.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": 1,
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "isModifier": false,
      "short": "The focus of this section is the mother",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Composition.section:medicalHealthInformation.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:medicalHealthInformation.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:medicalHealthInformation.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",
        "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:medicalHealthInformation.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": 1,
      "definition": "Entries that are contained in the medical and health information section",
      "isModifier": false,
      "short": "Entries that are contained in the medical and health information section",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Composition.section:medicalHealthInformation.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": "Selected medical risk factors of the mother during this pregnancy",
      "isModifier": false,
      "short": "Risk factors in this pregnancy",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-pregnancy-risk-factor" ]
      } ],
      "mustSupport": true,
      "sliceName": "pregnancyRiskFactors",
      "max": "*",
      "id": "Composition.section:medicalHealthInformation.entry:pregnancyRiskFactors",
      "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": "Number of previous cesarean deliveries.",
      "isModifier": false,
      "short": "If mother had a previous cesarean delivery, how many",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-previous-cesareans" ]
      } ],
      "mustSupport": true,
      "sliceName": "numberPreviousCesareans",
      "max": "1",
      "id": "Composition.section:medicalHealthInformation.entry:numberPreviousCesareans",
      "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": "Fetal presentation at birth",
      "isModifier": false,
      "short": "Fetal presentation at birth",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-fetal-presentation" ]
      } ],
      "mustSupport": true,
      "sliceName": "fetalPresentation",
      "max": "1",
      "id": "Composition.section:medicalHealthInformation.entry:fetalPresentation",
      "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": "Final route and method of delivery",
      "isModifier": false,
      "short": "Final route and method of delivery",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Procedure-final-route-method-delivery" ]
      } ],
      "mustSupport": true,
      "sliceName": "finalRouteMethodDelivery",
      "max": "1",
      "id": "Composition.section:medicalHealthInformation.entry:finalRouteMethodDelivery",
      "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": "Serious complications experienced by the mother associated with labor and delivery",
      "isModifier": false,
      "short": "Maternal morbidity (complications associated with labor and delivery)",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-maternal-morbidity" ]
      } ],
      "mustSupport": true,
      "sliceName": "maternalMorbidity",
      "max": "*",
      "id": "Composition.section:medicalHealthInformation.entry:maternalMorbidity",
      "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",
        "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:medicalHealthInformation.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:medicalHealthInformation.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())"
      } ],
      "path": "Composition.section",
      "min": 0,
      "definition": "This section contains items from the fetus section on the Fetal Death Report.",
      "isModifier": false,
      "short": "fetus section on the Fetal Death Report",
      "mapping": [ {
        "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": "fetus",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "max": "1",
      "id": "Composition.section:fetus",
      "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:fetus.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:fetus.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:fetus.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:fetus.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": "Fetal delivery information Document [US Standard Report of Fetal Death]",
      "isModifier": false,
      "short": "Fetal delivery information Document [US Standard Report of Fetal Death]",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
        "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:fetus.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": "76400-1",
          "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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "*",
      "id": "Composition.section:fetus.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" ]
      } ],
      "max": "1",
      "id": "Composition.section:fetus.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:fetus.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:fetus.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",
        "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:fetus.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": 1,
      "definition": "Entries that are contained in the fetus section",
      "isModifier": false,
      "short": "Entries that are contained in the fetus section",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Composition.section:fetus.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": "The weight of the infant/fetus at birth/delivery",
      "isModifier": false,
      "short": "Delivery weight",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-birth-weight" ]
      } ],
      "mustSupport": true,
      "sliceName": "deliveryWeight",
      "max": "1",
      "id": "Composition.section:fetus.entry:deliveryWeight",
      "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": "The obstetric estimate of the infant’s gestation in completed weeks based on the birth/delivery attendant’s final estimate of gestation which should be determined by all perinatal factors and assessments such as ultrasound, but not the neonatal exam",
      "isModifier": false,
      "short": "Obstetric estimate of gestation",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-gestational-age-at-delivery" ]
      } ],
      "mustSupport": true,
      "sliceName": "gestationalAgeAtDelivery",
      "max": "1",
      "id": "Composition.section:fetus.entry:gestationalAgeAtDelivery",
      "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": "Initiating cause or condition of fetal death",
      "isModifier": false,
      "short": "Initiating cause or condition of fetal death",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-fetal-death-cause-or-condition" ]
      } ],
      "mustSupport": true,
      "sliceName": "causeOfFetalDeath",
      "max": "1",
      "id": "Composition.section:fetus.entry:causeOfFetalDeath",
      "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": "Another significant cause or condition for the death of the fetus.",
      "isModifier": false,
      "short": "Another significant cause or condition for the death of the fetus.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-fetal-death-other-cause-or-condition" ]
      } ],
      "mustSupport": true,
      "sliceName": "otherCauseOfDeath",
      "max": "*",
      "id": "Composition.section:fetus.entry:otherCauseOfDeath",
      "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": 1,
      "definition": "The estimated time of fetal death; the time of death is characterized by the relationship to the time of delivery.",
      "isModifier": false,
      "short": "The estimated time of fetal death; the time of death is characterized by the relationship to the time of delivery.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-estimated-fetal-death-time-point" ]
      } ],
      "mustSupport": true,
      "sliceName": "estimatedTimeFetalDeath",
      "max": "1",
      "id": "Composition.section:fetus.entry:estimatedTimeFetalDeath",
      "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": "An indication if an autopsy has been performed on the subject.",
      "isModifier": false,
      "short": "An indication if an autopsy has been performed on the subject.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-autopsy-performed" ]
      } ],
      "mustSupport": true,
      "sliceName": "autopsyPerformed",
      "max": "1",
      "id": "Composition.section:fetus.entry:autopsyPerformed",
      "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": "Whether or not a histological placental examination was performed.",
      "isModifier": false,
      "short": "Whether or not a histological placental examination was performed.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-histological-placental-exam-performed" ]
      } ],
      "mustSupport": true,
      "sliceName": "histologicalExamPerformed",
      "max": "1",
      "id": "Composition.section:fetus.entry:histologicalExamPerformed",
      "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": "Whether or not the results of a performed autopsy or a performed histological placental examination were used as part of determining the cause of death.",
      "isModifier": false,
      "short": "Whether or not the results of a performed autopsy or a performed histological placental examination were used as part of determining the cause of death.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-autopsy-histological-exam-results-used" ]
      } ],
      "mustSupport": true,
      "sliceName": "autopsyOrHistologicalExamUsed",
      "max": "1",
      "id": "Composition.section:fetus.entry:autopsyOrHistologicalExamUsed",
      "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": "Plurality – The number of fetuses delivered live or dead at any time in the pregnancy regardless of gestational age or if the fetuses were delivered at different dates in the pregnancy. ('Reabsorbed' fetuses, those which are not 'delivered' (expulsed or extracted from the mother) should not be counted.)",
      "isModifier": false,
      "short": "Plurality - Single, Twin, Triplet, etc.",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-plurality" ]
      } ],
      "mustSupport": true,
      "sliceName": "plurality",
      "max": "1",
      "id": "Composition.section:fetus.entry:plurality",
      "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": "Number of live births this delivery",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-live-births-this-delivery" ]
      } ],
      "mustSupport": true,
      "sliceName": "numberLiveBirthsThisDelivery",
      "max": "1",
      "id": "Composition.section:fetus.entry:numberLiveBirthsThisDelivery",
      "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": "Number of fetal deaths this delivery",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-fetal-deaths-this-delivery" ]
      } ],
      "mustSupport": true,
      "sliceName": "numberFetalDeathsThisDelivery",
      "max": "1",
      "id": "Composition.section:fetus.entry:numberFetalDeathsThisDelivery",
      "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",
        "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:fetus.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:fetus.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())"
      } ],
      "path": "Composition.section",
      "min": 0,
      "definition": "This section contains items from the Mother administrative section on the Fetal Death Report.",
      "isModifier": false,
      "short": "Mother administrative section on the Fetal Death Report",
      "mapping": [ {
        "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": "motherInformation",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "max": "1",
      "id": "Composition.section:motherInformation",
      "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:motherInformation.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:motherInformation.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:motherInformation.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:motherInformation.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": "Mother's administrative information",
      "isModifier": false,
      "short": "Mother's administrative information",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "mustSupport": true,
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
        "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:motherInformation.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": "92014-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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "*",
      "id": "Composition.section:motherInformation.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": 1,
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "isModifier": false,
      "short": "The focus of this section is the mother",
      "mapping": [ {
        "map": ".subject? (CDA did not differentiate between subject and focus)",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "mustSupport": true,
      "max": "1",
      "id": "Composition.section:motherInformation.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:motherInformation.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:motherInformation.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",
        "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:motherInformation.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": 1,
      "definition": "Entries that are contained in the motherInformation section",
      "isModifier": false,
      "short": "Entries that are contained in the motherInformation section",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Resource" ]
      } ],
      "mustSupport": true,
      "max": "*",
      "id": "Composition.section:motherInformation.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": "Mother's education",
      "isModifier": false,
      "short": "Mother's education",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-parent-education-level" ]
      } ],
      "mustSupport": true,
      "sliceName": "mothersEducation",
      "max": "1",
      "id": "Composition.section:motherInformation.entry:mothersEducation",
      "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",
        "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:motherInformation.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:motherInformation.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())"
      } ],
      "path": "Composition.section",
      "min": 0,
      "definition": "The root of the sections that make up the composition.",
      "isModifier": false,
      "short": "Optional section containing a QuestionnaireResponse with recorded answers to the Questionnaire - Mother's Worksheet for Child's Birth Certificate",
      "mapping": [ {
        "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"
      } ],
      "sliceName": "mothersQuestionnaireResponse",
      "extension": [ {
        "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name",
        "valueString": "Section"
      } ],
      "max": "1",
      "id": "Composition.section:mothersQuestionnaireResponse",
      "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:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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": "Questionnaire response Document",
      "mapping": [ {
        "map": "./code",
        "identity": "rim"
      }, {
        "map": ".code",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "binding": {
        "strength": "example",
        "valueSet": "http://hl7.org/fhir/ValueSet/doc-section-codes",
        "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:mothersQuestionnaireResponse.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": "74465-6",
          "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", "http://hl7.org/fhir/StructureDefinition/PractitionerRole", "http://hl7.org/fhir/StructureDefinition/Device", "http://hl7.org/fhir/StructureDefinition/Patient", "http://hl7.org/fhir/StructureDefinition/RelatedPerson", "http://hl7.org/fhir/StructureDefinition/Organization" ]
      } ],
      "max": "*",
      "id": "Composition.section:mothersQuestionnaireResponse.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" ]
      } ],
      "max": "1",
      "id": "Composition.section:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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",
        "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:mothersQuestionnaireResponse.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": 1,
      "definition": "A reference to the actual resource from which the narrative in the section is derived.",
      "isModifier": false,
      "short": "QuestionnaireResponse with recorded answers to the Questionnaire - Mother's Worksheet for Child's Birth Certificate",
      "mapping": [ {
        "map": ".outboundRelationship[typeCode=COMP] or  .participation[typeCode=SBJ]",
        "identity": "rim"
      }, {
        "map": ".entry",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ]
      } ],
      "max": "1",
      "id": "Composition.section:mothersQuestionnaireResponse.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",
        "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:mothersQuestionnaireResponse.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:mothersQuestionnaireResponse.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
    } ]
  },
  "status": "active",
  "id": "7e3c08d5-1ad3-4f1a-a842-072f7e50a499",
  "kind": "resource",
  "url": "http://hl7.org/fhir/us/bfdr/StructureDefinition/Composition-provider-fetal-death-report",
  "version": "1.0.0",
  "differential": {
    "element": [ {
      "id": "Composition",
      "path": "Composition"
    }, {
      "id": "Composition.extension",
      "min": 1,
      "path": "Composition.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "mustSupport": true
    }, {
      "id": "Composition.extension:fetalDeathReportNumber",
      "max": "1",
      "min": 1,
      "path": "Composition.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-report-number" ]
      } ],
      "short": "State File Number",
      "sliceName": "fetalDeathReportNumber",
      "mustSupport": true
    }, {
      "id": "Composition.extension:fetalDeathLocalFileNumber",
      "max": "1",
      "path": "Composition.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-fetal-death-local-file-number" ]
      } ],
      "short": "Local File No.",
      "sliceName": "fetalDeathLocalFileNumber",
      "mustSupport": true
    }, {
      "id": "Composition.extension:dateReceivedByRegistrar",
      "max": "1",
      "min": 1,
      "path": "Composition.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Extension-date-received-by-registrar" ]
      } ],
      "sliceName": "dateReceivedByRegistrar",
      "mustSupport": true
    }, {
      "id": "Composition.status",
      "path": "Composition.status",
      "short": "In the case of a fetal death sent in error, a status of 'entered-in-error' must be set.",
      "definition": "In the case of a fetal death sent in error, a status of 'entered-in-error' must be set.",
      "mustSupport": true
    }, {
      "id": "Composition.type",
      "path": "Composition.type",
      "short": "U.S. standard report of fetal death - 2003 revision",
      "definition": "U.S. standard report of fetal death - 2003 revision",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "69045-3",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.subject",
      "min": 1,
      "path": "Composition.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-decedent-fetus" ]
      } ],
      "short": "The subject of the composition is the decedent fetus",
      "definition": "The subject of the composition as a whole is the decedent fetus. Different sections in the composition have different focus (e.g.: the mother).",
      "mustSupport": true
    }, {
      "id": "Composition.encounter",
      "path": "Composition.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Encounter-maternity" ]
      } ],
      "short": "The Encounter for the Composition is the mother's maternity encounter.",
      "definition": "The Encounter for the Composition is the mother's maternity encounter.",
      "mustSupport": true
    }, {
      "id": "Composition.author",
      "max": "1",
      "path": "Composition.author",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Practitioner-vital-records" ]
      } ],
      "short": "The author is the person who verifies/approves the accuracy of the data to be sent to the vital records system.",
      "definition": "Name and title of person completing the report. May be, but need not be, the same as the attendant at delivery.",
      "mustSupport": true
    }, {
      "id": "Composition.section",
      "min": 1,
      "path": "Composition.section",
      "short": "The Composition is broken into sections that, where possible, align with the sections in the Fetal Death Report.",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code",
          "type": "pattern"
        } ]
      },
      "definition": "The Composition is broken into sections that, where possible, align with the sections in the Fetal Death Report. The sections are Mother, Mother Prenatal,  Medical and Health, and fetus. Various administrative and demographic data in the Birth Certificate are contained in other locations in the Composition, such as the Patient and Encounter profiles.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal",
      "max": "1",
      "path": "Composition.section",
      "short": "Mother (prenatal) section on the Fetal Death Report",
      "sliceName": "motherPrenatal",
      "definition": "This section contains items from the Mother (prenatal) on theFetal Death Report.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.code",
      "min": 1,
      "path": "Composition.section.code",
      "short": "Prenatal records",
      "definition": "Prenatal records",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "57073-9",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:motherPrenatal.focus",
      "min": 1,
      "path": "Composition.section.focus",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "short": "The focus of this section is the mother",
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry",
      "min": 1,
      "path": "Composition.section.entry",
      "short": "Entries that are contained in the Mother Prenatal section",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "definition": "Entries that are contained in the Mother Prenatal section",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:plannedToDeliverAtHome",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-planned-to-deliver-at-home" ]
      } ],
      "short": "Planned to deliver at home",
      "sliceName": "plannedToDeliverAtHome",
      "definition": "Planned to deliver at home",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:firstPrenatalCareVisit",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-date-of-first-prenatal-care-visit" ]
      } ],
      "short": "First prenatal care visit",
      "sliceName": "firstPrenatalCareVisit",
      "definition": "Date that mother had her first prenatal care visit.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:dateLastNormalMenses",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-last-menstrual-period" ]
      } ],
      "short": "Date last normal menses began",
      "sliceName": "dateLastNormalMenses",
      "definition": "Date that the mother's last normal menses began. This item is used to compute the gestational age of the infant.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:numberNowLiving",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-births-now-living" ]
      } ],
      "short": "Number of previous live births now living",
      "sliceName": "numberNowLiving",
      "definition": "The pregnancy history of the mother with respect to previous children born alive",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:numberNowDead",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-births-now-dead" ]
      } ],
      "short": "Number of previous live births now dead",
      "sliceName": "numberNowDead",
      "definition": "The pregnancy history of the mother with respect to previous children born alive",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:dateLastLiveBirth",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-date-of-last-live-birth" ]
      } ],
      "short": "Date of last live birth",
      "sliceName": "dateLastLiveBirth",
      "definition": "The pregnancy history of the mother with respect to previous children born alive",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:mothersHeight",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-mother-height" ]
      } ],
      "short": "Mother's height",
      "sliceName": "mothersHeight",
      "definition": "The mother's height",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:mothersPrepregnancyWeight",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-mother-prepregnancy-weight" ]
      } ],
      "short": "Mother's prepregnancy weight",
      "sliceName": "mothersPrepregnancyWeight",
      "definition": "The mother's prepregnancy weight",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:motherReceivedWICFood",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-mother-received-wic-food" ]
      } ],
      "short": "Use of the WIC nutritional program by the mother",
      "sliceName": "motherReceivedWICFood",
      "definition": "Use of the Women, Infant's, and Children (WIC) nutritional program by the mother during the pregnancy.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherPrenatal.entry:cigaretteSmokingBeforeDuringPregnancy",
      "max": "4",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-cigarette-smoking-before-during-pregnancy" ]
      } ],
      "short": "Cigarettes smoked by the mother before and during the pregnancy",
      "sliceName": "cigaretteSmokingBeforeDuringPregnancy",
      "definition": "The number of cigarettes or packs of cigarettes the mother smoked 3 months before and at various intervals during the pregnancy",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation",
      "max": "1",
      "path": "Composition.section",
      "short": "Medical and Health Information section on the Fetal Death Report",
      "sliceName": "medicalHealthInformation",
      "definition": "This section contains items from the Medical and Health Information section on the Fetal Death Report.",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.code",
      "min": 1,
      "path": "Composition.section.code",
      "short": "Clinical information",
      "definition": "Clinical information",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "55752-0",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:medicalHealthInformation.focus",
      "min": 1,
      "path": "Composition.section.focus",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "short": "The focus of this section is the mother",
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry",
      "min": 1,
      "path": "Composition.section.entry",
      "short": "Entries that are contained in the medical and health information section",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "definition": "Entries that are contained in the medical and health information section",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry:pregnancyRiskFactors",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-pregnancy-risk-factor" ]
      } ],
      "short": "Risk factors in this pregnancy",
      "sliceName": "pregnancyRiskFactors",
      "definition": "Selected medical risk factors of the mother during this pregnancy",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry:numberPreviousCesareans",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-previous-cesareans" ]
      } ],
      "short": "If mother had a previous cesarean delivery, how many",
      "sliceName": "numberPreviousCesareans",
      "definition": "Number of previous cesarean deliveries.",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry:fetalPresentation",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-fetal-presentation" ]
      } ],
      "short": "Fetal presentation at birth",
      "sliceName": "fetalPresentation",
      "definition": "Fetal presentation at birth",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry:finalRouteMethodDelivery",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Procedure-final-route-method-delivery" ]
      } ],
      "short": "Final route and method of delivery",
      "sliceName": "finalRouteMethodDelivery",
      "definition": "Final route and method of delivery",
      "mustSupport": true
    }, {
      "id": "Composition.section:medicalHealthInformation.entry:maternalMorbidity",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-maternal-morbidity" ]
      } ],
      "short": "Maternal morbidity (complications associated with labor and delivery)",
      "sliceName": "maternalMorbidity",
      "definition": "Serious complications experienced by the mother associated with labor and delivery",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus",
      "max": "1",
      "path": "Composition.section",
      "short": "fetus section on the Fetal Death Report",
      "sliceName": "fetus",
      "definition": "This section contains items from the fetus section on the Fetal Death Report.",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.code",
      "min": 1,
      "path": "Composition.section.code",
      "short": "Fetal delivery information Document [US Standard Report of Fetal Death]",
      "definition": "Fetal delivery information Document [US Standard Report of Fetal Death]",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "76400-1",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:fetus.entry",
      "min": 1,
      "path": "Composition.section.entry",
      "short": "Entries that are contained in the fetus section",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "definition": "Entries that are contained in the fetus section",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:deliveryWeight",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-birth-weight" ]
      } ],
      "short": "Delivery weight",
      "sliceName": "deliveryWeight",
      "definition": "The weight of the infant/fetus at birth/delivery",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:gestationalAgeAtDelivery",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-gestational-age-at-delivery" ]
      } ],
      "short": "Obstetric estimate of gestation",
      "sliceName": "gestationalAgeAtDelivery",
      "definition": "The obstetric estimate of the infant’s gestation in completed weeks based on the birth/delivery attendant’s final estimate of gestation which should be determined by all perinatal factors and assessments such as ultrasound, but not the neonatal exam",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:causeOfFetalDeath",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-fetal-death-cause-or-condition" ]
      } ],
      "short": "Initiating cause or condition of fetal death",
      "sliceName": "causeOfFetalDeath",
      "definition": "Initiating cause or condition of fetal death",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:otherCauseOfDeath",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Condition-fetal-death-other-cause-or-condition" ]
      } ],
      "short": "Another significant cause or condition for the death of the fetus.",
      "sliceName": "otherCauseOfDeath",
      "definition": "Another significant cause or condition for the death of the fetus.",
      "mustSupport": true
    }, {
      "path": "Composition.section.entry",
      "min": 1,
      "definition": "The estimated time of fetal death; the time of death is characterized by the relationship to the time of delivery.",
      "short": "The estimated time of fetal death; the time of death is characterized by the relationship to the time of delivery.",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-estimated-fetal-death-time-point" ]
      } ],
      "mustSupport": true,
      "sliceName": "estimatedTimeFetalDeath",
      "max": "1",
      "id": "Composition.section:fetus.entry:estimatedTimeFetalDeath"
    }, {
      "id": "Composition.section:fetus.entry:autopsyPerformed",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-autopsy-performed" ]
      } ],
      "short": "An indication if an autopsy has been performed on the subject.",
      "sliceName": "autopsyPerformed",
      "definition": "An indication if an autopsy has been performed on the subject.",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:histologicalExamPerformed",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-histological-placental-exam-performed" ]
      } ],
      "short": "Whether or not a histological placental examination was performed.",
      "sliceName": "histologicalExamPerformed",
      "definition": "Whether or not a histological placental examination was performed.",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:autopsyOrHistologicalExamUsed",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/bfdr/StructureDefinition/Observation-autopsy-histological-exam-results-used" ]
      } ],
      "short": "Whether or not the results of a performed autopsy or a performed histological placental examination were used as part of determining the cause of death.",
      "sliceName": "autopsyOrHistologicalExamUsed",
      "definition": "Whether or not the results of a performed autopsy or a performed histological placental examination were used as part of determining the cause of death.",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:plurality",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-plurality" ]
      } ],
      "short": "Plurality - Single, Twin, Triplet, etc.",
      "sliceName": "plurality",
      "definition": "Plurality – The number of fetuses delivered live or dead at any time in the pregnancy regardless of gestational age or if the fetuses were delivered at different dates in the pregnancy. ('Reabsorbed' fetuses, those which are not 'delivered' (expulsed or extracted from the mother) should not be counted.)",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:numberLiveBirthsThisDelivery",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-live-births-this-delivery" ]
      } ],
      "short": "Number of live births this delivery",
      "sliceName": "numberLiveBirthsThisDelivery",
      "mustSupport": true
    }, {
      "id": "Composition.section:fetus.entry:numberFetalDeathsThisDelivery",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-number-fetal-deaths-this-delivery" ]
      } ],
      "short": "Number of fetal deaths this delivery",
      "sliceName": "numberFetalDeathsThisDelivery",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherInformation",
      "max": "1",
      "path": "Composition.section",
      "short": "Mother administrative section on the Fetal Death Report",
      "sliceName": "motherInformation",
      "definition": "This section contains items from the Mother administrative section on the Fetal Death Report.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherInformation.code",
      "min": 1,
      "path": "Composition.section.code",
      "short": "Mother's administrative information",
      "definition": "Mother's administrative information",
      "mustSupport": true,
      "patternCodeableConcept": {
        "coding": [ {
          "code": "92014-0",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:motherInformation.focus",
      "min": 1,
      "path": "Composition.section.focus",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-mother" ]
      } ],
      "short": "The focus of this section is the mother",
      "definition": "The subject of the composition as a whole is the fetus baby. The focus of this section in the composition is the mother.",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherInformation.entry",
      "min": 1,
      "path": "Composition.section.entry",
      "short": "Entries that are contained in the motherInformation section",
      "slicing": {
        "rules": "open",
        "ordered": false,
        "discriminator": [ {
          "path": "$this.resolve()",
          "type": "profile"
        } ]
      },
      "definition": "Entries that are contained in the motherInformation section",
      "mustSupport": true
    }, {
      "id": "Composition.section:motherInformation.entry:mothersEducation",
      "max": "1",
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Observation-parent-education-level" ]
      } ],
      "short": "Mother's education",
      "sliceName": "mothersEducation",
      "definition": "Mother's education",
      "mustSupport": true
    }, {
      "id": "Composition.section:mothersQuestionnaireResponse",
      "max": "1",
      "path": "Composition.section",
      "short": "Optional section containing a QuestionnaireResponse with recorded answers to the Questionnaire - Mother's Worksheet for Child's Birth Certificate",
      "sliceName": "mothersQuestionnaireResponse"
    }, {
      "id": "Composition.section:mothersQuestionnaireResponse.code",
      "min": 1,
      "path": "Composition.section.code",
      "short": "Questionnaire response Document",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "74465-6",
          "system": "http://loinc.org"
        } ]
      }
    }, {
      "id": "Composition.section:mothersQuestionnaireResponse.entry",
      "max": "1",
      "min": 1,
      "path": "Composition.section.entry",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ]
      } ],
      "short": "QuestionnaireResponse with recorded answers to the Questionnaire - Mother's Worksheet for Child's Birth Certificate"
    } ]
  },
  "contact": [ {
    "name": "HL7 International - Public Health",
    "telecom": [ {
      "value": "http://www.hl7.org/Special/committees/pher",
      "system": "url"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Composition"
}