description: This class represents the main Act, such as a colonoscopy or an appendectomy, being documented.\nIn some cases, the ServiceEvent is inherent in the ClinicalDocument.code, such as where ClinicalDocument.code is \"History and Physical Report\" and the procedure being documented is a \"History and Physical\" act. A ServiceEvent can further specialize the act inherent in the ClinicalDocument.code, such as where the ClinicalDocument.code is simply \"Procedure Report\" and the procedure was a \"colonoscopy\". If ServiceEvent is included, it must be equivalent to or further specialize the value inherent in the ClinicalDocument.code, and shall not conflict with the value inherent in the ClinicalDocument.code, as such a conflict would constitute an ambiguous situation.\nServiceEvent.effectiveTime can be used to indicate the time the actual event (as opposed to the encounter surrounding the event) took place. package_name: hl7.cda.uv.core derivation: specialization name: ServiceEvent type: http://hl7.org/cda/stds/core/StructureDefinition/ServiceEvent elements: classCode: type: code binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActClass'} representation: [xmlAttr] defaultValueCode: ACT index: 0 moodCode: type: code binding: {strength: required, valueSet: 'http://terminology.hl7.org/ValueSet/v3-ActMood'} pattern: {type: Code, value: EVN} representation: [xmlAttr] index: 1 id: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/II', array: true, index: 2} code: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/CE', index: 3} effectiveTime: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS', index: 4} performer: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Performer1', array: true, index: 5} package_version: 2.0.0-sd-snapshot1 class: logical kind: logical url: http://hl7.org/cda/stds/core/StructureDefinition/ServiceEvent base: http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot version: 2.0.0-sd-snapshot1 required: [classCode]