PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.vrdr@3.0.0-ballot
    http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-surgery-date
description: Date of Surgery (Observation).  The PartialDate extension supports partial dates.
package_name: hl7.fhir.us.vrdr
derivation: constraint
name: SurgeryDate
type: Observation
elements:
  status:
    pattern: {type: Code, value: final}
    index: 0
  code:
    short: Date and time of surgery
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 80992-1, system: 'http://loinc.org'}
    index: 1
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/vr-common-library/StructureDefinition/Patient-vr']
    index: 2
  effective:
    choices: [effectiveDateTime]
    index: 4
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 5}
  value:
    choices: [valueDateTime]
    index: 7
  valueDateTime: {type: dateTime, choiceOf: value, index: 8}
  value[x]:
    extensions:
      partialDate: {url: 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/ExtensionPartialDateTimeVitalRecords', min: 0, max: 1, type: Extension, index: 10}
    elements:
      extension:
        index: 9
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            partialDate:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/us/vr-common-library/StructureDefinition/ExtensionPartialDateTimeVitalRecords', index: 10}
              min: 0
              max: 1
package_version: 3.0.0-ballot
class: profile
kind: resource
url: http://hl7.org/fhir/us/vrdr/StructureDefinition/vrdr-surgery-date
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 3.0.0-ballot
required: [subject]