SGMarkdown
type: StructureDefinition
node role: treeRoot
resource.id:
  value: SGMarkdown
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: English Generated Narrative: StructureDefinition SGMarkdown Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "http://smart.who.int/base/StructureDefinition/SGMarkdown" #xD; value[x] S 1..1 markdown Value of extension #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format French Narratif généré : DéfinitionStructure SGMarkdown Nom Drapeaux Card. Type Description et contraintes<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "http://smart.who.int/base/StructureDefinition/SGMarkdown" #xD; value[x] S 1..1 markdown Value of extension #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation pour ce format Arabic السرد المُنشأ: StructureDefinition SGMarkdown الاسم الأعلام البطاقة. النوع الوصف والقيود<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "http://smart.who.int/base/StructureDefinition/SGMarkdown" #xD; value[x] S 1..1 markdown Value of extension #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> الوثائق الخاصة بهذا التنسيق Chinese Generated Narrative: 结构定义 SGMarkdown Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Extension 0..* Extension Extension #xD; extension 0..0 Extension #xD; url 1..1 uri "http://smart.who.int/base/StructureDefinition/SGMarkdown" #xD; value[x] S 1..1 markdown Value of extension #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format Russian Сгенерированный нарратив: StructureDefinition SGMarkdown Наименование Флаги Карта. Тип Описание и ограничения<img src="[binary]" alt="doco" style="backgrou…
structure definition.url:
  value: http://smart.who.int/base/StructureDefinition/SGMarkdown
structure definition.version:
  value: 0.3.0
structure definition.name:
  value: SGMarkdown
structure definition.status:
  value: draft
structure definition.date:
  value: 2026-08-26T17:25:14+00:00
structure definition.publisher:
  value: WHO
structure definition.contact:
  index: 0
  contact detail.name:
    value: WHO
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: http://who.int
structure definition.description:
  value: Smart Guidelines markdown extension
structure definition.fhir version:
  value: 4.0.1
structure definition.mapping:
  index: 0
  structure definition.mapping.identity:
    value: rim
  structure definition.mapping.uri:
    value: http://hl7.org/v3
  structure definition.mapping.name:
    value: RIM Mapping
structure definition.kind:
  value: complex-type
structure definition.abstract:
  value: false
structure definition.context:
  index: 0
  structure definition.context.type:
    value: element
  structure definition.context.expression:
    value: Element
structure definition.type:
  value: Extension
structure definition.base definition:
  value: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension
structure definition.derivation:
  value: constraint
structure definition.snapshot:
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    extension.value string:
      value: 4.0.1
  structure definition.snapshot.element:
    index: 0
    element.id:
      value: Extension
    element definition.path:
      value: Extension
    element definition.short:
      value: Extension
    element definition.definition:
      value: Smart Guidelines markdown extension
    element definition.min:
      value: 0
    element definition.max:
      value: *
    element definition.base:
      element definition.base.path:
        value: Extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.condition:
      value: ele-1
      index: 0
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() or (children().count() > id.count())
      element definition.constraint.xpath:
        value: @value|f:*|h:div
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
    element definition.constraint:
      index: 1
      element definition.constraint.key:
        value: ext-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: Must have either extensions or value[x], not both
      element definition.constraint.expression:
        value: extension.exists() != value.exists()
      element definition.constraint.xpath:
        value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])
      element definition.constraint.source:
        value: http://hl7.org/fhir/StructureDefinition/Extension
        link: http://hl7.org/fhir/StructureDefinition/Extension
    element definition.is modifier:
      value: false
  structure definition.snapshot.element:
    index: 1
    element.id:
      value: Extension.id
    element definition.path:
      value: Extension.id
    element definition.representation:
      value: xmlAttr
      index: 0
    element definition.short:
      value: Unique id for inter-element referencing
    element definition.definition:
      value: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
    element definition.min:
      value: 0
    element definition.max:
      value: 1
    element definition.base:
      element definition.base.path:
        value: Element.id
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: 1
    element definition.type:
      index: 0
      element.extension:
        index: 0
      element definition.type.code:
        value: http://hl7.org/fhirpath/System.String
    element definition.is modifier:
      value: false
    element definition.is summary:
      value: false
    element definition.mapping:
      index: 0
      element definition.mapping.identity:
        value: rim
      element definition.mapping.map:
        value: n/a
  structure definition.snapshot.element:
    index: 2
    element.id:
      value: Extension.extension
    element definition.path:
      value: Extension.extension
    element definition.slicing:
      element definition.slicing.discriminator:
        index: 0
      element definition.slicing.description:
        value: Extensions are always sliced by (at least) url
      element definition.slicing.rules:
        value: open
    element definition.short:
      value: Extension
    element definition.definition:
      value: An Extension
    element definition.min:
      value: 0
    element definition.max:
      value: 0
    element definition.base:
      element definition.base.path:
        value: Element.extension
      element definition.base.min:
        value: 0
      element definition.base.max:
        value: *
    element definition.type:
      index: 0
      element definition.type.code:
        value: Extension
    element definition.constraint:
      index: 0
      element definition.constraint.key:
        value: ele-1
      element definition.constraint.severity:
        value: error
      element definition.constraint.human:
        value: All FHIR elements must have a @value or children
      element definition.constraint.expression:
        value: hasValue() or (children().count() > id.count())

value: string

value: value

value: url

value: @value|f:*|h:div

index: 1
element definition.constraint.key:
  value: ext-1
element definition.constraint.severity:
  value: error
element definition.constraint.human:
  value: Must have either extensions or value[x], not both
element definition.constraint.expression:
  value: extension.exists() != value.exists()
element definition.constraint.xpath:
  value: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
element definition.constraint.source:
  value: http://hl7.org/fhir/StructureDefinition/Extension
  link: http://hl7.org/fhir/StructureDefinition/Extension

value: false

value: false

index: 3
element.id:
  value: Extension.url
element definition.path:
  value: Extension.url
element definition.representation:
  value: xmlAttr
  index: 0
element definition.short:
  value: identifies the meaning of the extension
element definition.definition:
  value: Source of the definition for the extension code - a logical name or a URL.
element definition.comment:
  value: The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.url
  element definition.base.min:
    value: 1
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
    extension.value url:
      value: uri
  element definition.type.code:
    value: http://hl7.org/fhirpath/System.String
element definition.fixed uri:
  value: http://smart.who.int/base/StructureDefinition/SGMarkdown
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

index: 4
element.id:
  value: Extension.value[x]
element definition.path:
  value: Extension.value[x]
element definition.short:
  value: Value of extension
element definition.definition:
  value: Value of extension - must be one of a constrained set of the data types (see [Extensibility](http://hl7.org/fhir/R4/extensibility.html) for a list).
element definition.min:
  value: 1
element definition.max:
  value: 1
element definition.base:
  element definition.base.path:
    value: Extension.value[x]
  element definition.base.min:
    value: 0
  element definition.base.max:
    value: 1
element definition.type:
  index: 0
  element definition.type.code:
    value: markdown
element definition.constraint:
  index: 0
  element definition.constraint.key:
    value: ele-1
  element definition.constraint.severity:
    value: error
  element definition.constraint.human:
    value: All FHIR elements must have a @value or children
  element definition.constraint.expression:
    value: hasValue() or (children().count() > id.count())
  element definition.constraint.xpath:
    value: @value|f:*|h:div
  element definition.constraint.source:
    value: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/Element
element definition.must support:
  value: true
element definition.is modifier:
  value: false
element definition.is summary:
  value: false
element definition.mapping:
  index: 0
  element definition.mapping.identity:
    value: rim
  element definition.mapping.map:
    value: N/A

structure definition.differential.element:
  index: 0
  element.id:
    value: Extension
  element definition.path:
    value: Extension
  element definition.definition:
    value: Smart Guidelines markdown extension
structure definition.differential.element:
  index: 1
  element.id:
    value: Extension.extension
  element definition.path:
    value: Extension.extension
  element definition.max:
    value: 0
structure definition.differential.element:
  index: 2
  element.id:
    value: Extension.url
  element definition.path:
    value: Extension.url
  element definition.fixed uri:
    value: http://smart.who.int/base/StructureDefinition/SGMarkdown
structure definition.differential.element:
  index: 3
  element.id:
    value: Extension.value[x]
  element definition.path:
    value: Extension.value[x]
  element definition.min:
    value: 1
  element definition.type:
    index: 0
    element definition.type.code:
      value: markdown
  element definition.must support:
    value: true