PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-ra@2.0.0-ballot
    http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-annotation
description: Annotation
package_name: hl7.fhir.us.davinci-ra
derivation: constraint
name: Annotation
type: Extension
elements:
  extension:
    type: Extension
    short: Who added the annotation
    index: 0
    slicing:
      slices:
        annotator:
          match: {}
          schema:
            type: Extension
            short: Who added the annotation
            index: 0
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: annotator}
                index: 1
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
                index: 4
            required: [url, valueReference, value]
        annotated:
          match: {}
          schema:
            type: Extension
            short: When annotation was added
            index: 5
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: annotated}
                index: 6
              value:
                choices: [valueDateTime]
                index: 8
              valueDateTime: {type: dateTime, choiceOf: value, index: 9}
            required: [url, valueDateTime, value]
        text:
          match: {}
          schema:
            type: Extension
            short: Free text annotation
            index: 10
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: text}
                index: 11
              value:
                choices: [valueString]
                index: 13
              valueString: {type: string, choiceOf: value, index: 14}
            required: [url, valueString, value]
        code:
          match: {}
          schema:
            type: Extension
            short: Coded anotation
            index: 15
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: code}
                index: 16
              value:
                choices: [valueCodeableConcept]
                index: 18
              valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 19}
            required: [url, value, valueCodeableConcept]
        relatedData:
          match: {}
          schema:
            type: Extension
            short: Related data
            index: 20
            elements:
              url:
                type: uri
                pattern: {type: Uri, value: relatedData}
                index: 21
              value:
                choices: [valueIdentifier]
                index: 23
              valueIdentifier: {type: Identifier, choiceOf: value, index: 24}
            required: [url, valueIdentifier, value]
  url:
    type: uri
    pattern: {type: Uri, value: 'http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-annotation'}
    index: 25
  value:
    choices: []
    index: 27
package_version: 2.0.0-ballot
extensions:
  annotator:
    url: null
    type: Extension
    short: Who added the annotation
    index: 0
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: annotator}
        index: 1
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole']
        index: 4
    required: [url, valueReference, value]
  annotated:
    url: null
    type: Extension
    short: When annotation was added
    index: 5
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: annotated}
        index: 6
      value:
        choices: [valueDateTime]
        index: 8
      valueDateTime: {type: dateTime, choiceOf: value, index: 9}
    required: [url, valueDateTime, value]
  text:
    url: null
    type: Extension
    short: Free text annotation
    index: 10
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: text}
        index: 11
      value:
        choices: [valueString]
        index: 13
      valueString: {type: string, choiceOf: value, index: 14}
    required: [url, valueString, value]
  code:
    url: null
    type: Extension
    short: Coded anotation
    index: 15
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: code}
        index: 16
      value:
        choices: [valueCodeableConcept]
        index: 18
      valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 19}
    required: [url, value, valueCodeableConcept]
  relatedData:
    url: null
    type: Extension
    short: Related data
    index: 20
    elements:
      url:
        type: uri
        pattern: {type: Uri, value: relatedData}
        index: 21
      value:
        choices: [valueIdentifier]
        index: 23
      valueIdentifier: {type: Identifier, choiceOf: value, index: 24}
    required: [url, valueIdentifier, value]
class: extension
kind: complex-type
url: http://hl7.org/fhir/us/davinci-ra/StructureDefinition/ra-annotation
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 2.0.0-ballot