PackagesCanonicalsLogsProblems
    Packages
    IdHIE.0v@0.0.1
    http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core
description: Record audit on individual who recorded and updated the data
package_name: IdHIE.0v
derivation: constraint
name: ExtensionAuditIdCore
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        recorder:
          match: {url: recorder}
          schema:
            short: First individual who recorded the record
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: recorder}
                index: 2
              value:
                choices: [valueReference]
                index: 4
              valueReference: {type: Reference, choiceOf: value, index: 5}
        recordedDate:
          match: {url: recordedDate}
          schema:
            short: First date the record was recorded
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: recordedDate}
                index: 7
              value:
                choices: [valueDateTime]
                index: 9
              valueDateTime: {type: dateTime, choiceOf: value, index: 10}
        lastUpdater:
          match: {url: lastUpdater}
          schema:
            short: Latest individual who updated the record
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: lastUpdater}
                index: 12
              value:
                choices: [valueReference]
                index: 14
              valueReference: {type: Reference, choiceOf: value, index: 15}
  url:
    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core'}
    index: 16
  value:
    choices: []
    index: 18
package_version: 0.0.1
extensions:
  recorder:
    url: recorder
    short: First individual who recorded the record
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: recorder}
        index: 2
      value:
        choices: [valueReference]
        index: 4
      valueReference: {type: Reference, choiceOf: value, index: 5}
  recordedDate:
    url: recordedDate
    short: First date the record was recorded
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: recordedDate}
        index: 7
      value:
        choices: [valueDateTime]
        index: 9
      valueDateTime: {type: dateTime, choiceOf: value, index: 10}
  lastUpdater:
    url: lastUpdater
    short: Latest individual who updated the record
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: lastUpdater}
        index: 12
      value:
        choices: [valueReference]
        index: 14
      valueReference: {type: Reference, choiceOf: value, index: 15}
class: extension
kind: complex-type
url: http://fhir.hie.moh.gov.id/StructureDefinition/audit-id-core
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0