PackagesCanonicalsLogsProblems
    Packages
    synapxe.sgcdi@1.0.7
    https://fhir.synapxe.sg/StructureDefinition/profile-ds-diagnosis-history
description: Profile for Condition resource used in diagnosis with mandatory elements.
package_name: synapxe.sgcdi
derivation: constraint
name: profile-ds-diagnosis-history
type: Condition
elements:
  onset:
    choices: [onsetDateTime]
    index: 24
  category: {type: CodeableConcept, index: 10}
  clinicalStatus:
    type: CodeableConcept
    index: 7
    elements:
      coding:
        elements:
          version: {index: 8}
        required: [version]
  stage: {index: 42}
  encounter: {index: 22}
  evidence: {index: 43}
  participant:
    index: 29
    elements:
      id: {index: 30}
      extension: {index: 31}
      modifierExtension: {index: 32}
      function: {index: 33}
      actor:
        type: Reference
        refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-practitioner']
        index: 34
        elements:
          id: {index: 35}
          extension: {index: 36}
          reference: {index: 37}
          type:
            pattern: {type: Uri, value: Practitioner}
            index: 38
          identifier:
            type: Identifier
            index: 39
            elements:
              system:
                pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/mcr'}
                index: 40
          display: {index: 41}
        extensions: {}
        required: [identifier]
    extensions: {}
  abatement:
    choices: []
    index: 27
  note: {type: Annotation, index: 44}
  extension:
    index: 0
    slicing:
      slices:
        occurenceDateTime:
          match: {}
          schema:
            type: Extension
            url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
            index: 1
            elements:
              value:
                choices: [valueDateTime]
                index: 3
              valueDateTime: {type: dateTime, choiceOf: value, index: 4}
  recordedDate: {index: 28}
  severity: {index: 11}
  code: {type: CodeableConcept, index: 12}
  identifier: {index: 6}
  onsetDateTime: {type: dateTime, choiceOf: onset, index: 25}
  bodySite: {index: 13}
  verificationStatus: {index: 9}
  subject:
    type: Reference
    refers: ['https://fhir.synapxe.sg/StructureDefinition/profile-patient']
    index: 14
    elements:
      id: {index: 15}
      extension: {index: 16}
      reference: {index: 17}
      type:
        pattern: {type: Uri, value: Patient}
        index: 18
      identifier:
        type: Identifier
        index: 19
        elements:
          system:
            pattern: {type: Uri, value: 'https://fhir.synapxe.sg/NamingSystem/nric'}
            index: 20
      display: {index: 21}
    extensions: {}
    required: [identifier, type]
  modifierExtension: {index: 5}
package_version: 1.0.7
extensions:
  occurenceDateTime:
    url: https://fhir.synapxe.sg/StructureDefinition/ext-generic
    type: Extension
    index: 1
    elements:
      value:
        choices: [valueDateTime]
        index: 3
      valueDateTime: {type: dateTime, choiceOf: value, index: 4}
class: profile
kind: resource
url: https://fhir.synapxe.sg/StructureDefinition/profile-ds-diagnosis-history
base: http://hl7.org/fhir/StructureDefinition/Condition
version: 1.0.0
required: [onset, note, extension, participant, onsetDateTime, category, code]