Ruling
type: StructureDefinition
node role: treeRoot
id:
  v: Ruling
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition Ruling Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Ruling 0..* Resource This is an abstract type. Ruling Resource Elements defined in Ancestors:id, meta, implicitRules, language #xD; rulingType 1..1 code Type of ruling Binding: Ruling Type Value Set (required) #xD; rulingDate 1..1 date Date when the ruling was issued #xD; rulingPlace 0..1 BackboneElement Place where the ruling was issued #xD; use 0..1 code home | work | temp | old | billing - purpose of this address #xD; type 0..1 code postal | physical | both - the type of address #xD; line 0..* string Street name, number, direction & P.O. Box etc. #xD; city 0..1 string Name of city, town etc. #xD; neighborhood 0..1 string Name of neighborhood, block #xD; postalCode 0..1 string Postal code for area #xD; parent C 0..1 BackboneElement Location hierarchy information #xD; code 0..1 code Simple code for the location type #xD; coding 0..1 Coding Coded representation of the location Binding: Birth Place Type Value Set (preferred) #xD; reference 0..1 Reference(Location) Reference to a Location resource #xD; name 0..1 string Text name of the location when structured data not available #xD; period 0..1 Period Time period when address was/is in use #xD; text 0..1 string Text representation of the address #xD; court C 0..1 BackboneElement Court that issued the ruling #xD; reference 0..1 Reference(Organization) Reference to the Court that issued the ruling #xD; coding 0..1 Coding Coding for the court that issued the ruling #xD; name 0..1 string Name of the court that issued the ruling #xD; judge 0..1 Reference(Practitioner) Judge who issued the ruling #xD; parties 0..* BackboneElement Additional parties involved in the ruling #xD; role 1..1 code Role of this party Binding: Party Role ValueSet (required) #xD; individual 1..1 Reference(Individual Person) The individual party #xD; rulingDetails 0..1 string Details of the …
url:
  v: https://acsa.africa/std/StructureDefinition/Ruling
  l: Ruling
version:
  v: 0.1.0
name:
  v: Ruling
title:
  v: Ruling Resource
status:
  v: draft
experimental:
  v: true
date:
  v: 2025-12-08T12:38:42+00:00
publisher:
  v: ACSA
contact:
  name:
    v: ACSA
  telecom:
    system:
      v: url
    value:
      v: https://acsa.africa
description:
  v: A base resource for capturing legal rulings in the CRVS realm.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: resource
abstract:
  v: true
type:
  v: Ruling
  l: Ruling
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Resource
  l: Resource
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 5.0.0
  element:
    id:
      v: Ruling
    path:
      v: Ruling
    short:
      v: Ruling Resource
    definition:
      v: A base resource for capturing legal rulings in the CRVS realm.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Resource
      min:
        v: 0
      max:
        v: *
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a,Entity. Role, or Act
  element:
    id:
      v: Ruling.id
    path:
      v: Ruling.id
    short:
      v: Logical id of this artifact
    definition:
      v: The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
    comment:
      v: Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.id
      min:
        v: 0
      max:
        v: 1
    type:
      extension:
        value: Url
      code:
        v: http://hl7.org/fhirpath/System.String
        l: System.String
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: true
  element:
    id:
      v: Ruling.meta
    path:
      v: Ruling.meta
    short:
      v: Metadata about the resource
    definition:
      v: The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.meta
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: Meta
        l: Meta
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children
      expression:
        v: hasValue() or (children().count() > id.count())
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        l: Element
    must support:
      v: false
    is modifier:
      v: false
    is summary:
      v: true
  element:
    id:
      v: Ruling.implicitRules
    path:
      v: Ruling.implicitRules
    short:
      v: A set of rules under which this content was created
    definition:
      v: A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
    comment:
      v: Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: Resource.implicitRules
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: uri
        l: uri
    constraint:
      key:
        v: ele-1
      severity:
        v: error

Url
v: id
l: id

v: All FHIR elements must have a @value or children

v: hasValue() or (children().count() > id.count())

v: false

v: true

v: This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation

v: true

id:
  v: Ruling.language
path:
  v: Ruling.language
short:
  v: Language of the resource content
definition:
  v: The base language in which the resource is written.
comment:
  v: Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Resource.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
must support:
  v: false
is modifier:
  v: false
is summary:
  v: false
binding:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName
      l: elementdefinition-bindingName
    value: String
      v: Language
  strength:
    v: required
  description:
    v: IETF language tag for a human language
  value set:
    v: http://hl7.org/fhir/ValueSet/all-languages|5.0.0
    l: http://hl7.org/fhir/ValueSet/all-languages
  additional:
    purpose:
      v: starter
    value set:
      v: http://hl7.org/fhir/ValueSet/languages|5.0.0
      l: http://hl7.org/fhir/ValueSet/languages

id:
  v: Ruling.rulingType
path:
  v: Ruling.rulingType
short:
  v: Type of ruling
definition:
  v: Type of ruling
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Ruling.rulingType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  value set:
    v: https://acsa.africa/std/ValueSet/ruling-type
    l: ruling-type

id:
  v: Ruling.rulingDate
path:
  v: Ruling.rulingDate
short:
  v: Date when the ruling was issued
definition:
  v: Date when the ruling was issued
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Ruling.rulingDate
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: date
    l: date

id:
  v: Ruling.rulingPlace
path:
  v: Ruling.rulingPlace
short:
  v: Place where the ruling was issued
definition:
  v: Place where the ruling was issued
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Ruling.rulingPlace.id
path:
  v: Ruling.rulingPlace.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.rulingPlace.extension
path:
  v: Ruling.rulingPlace.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.rulingPlace.modifierExtension
path:
  v: Ruling.rulingPlace.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Ruling.rulingPlace.use
path:
  v: Ruling.rulingPlace.use
short:
  v: home | work | temp | old | billing - purpose of this address
definition:
  v: home | work | temp | old | billing - purpose of this address
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.use
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: Ruling.rulingPlace.type
path:
  v: Ruling.rulingPlace.type
short:
  v: postal | physical | both - the type of address
definition:
  v: postal | physical | both - the type of address
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: Ruling.rulingPlace.line
path:
  v: Ruling.rulingPlace.line
short:
  v: Street name, number, direction & P.O. Box etc.
definition:
  v: Street name, number, direction & P.O. Box etc.
min:
  v: 0
max:
  v: *
base:
  path:
    v: Ruling.rulingPlace.line
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.city
path:
  v: Ruling.rulingPlace.city
short:
  v: Name of city, town etc.
definition:
  v: Name of city, town etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.city
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.neighborhood
path:
  v: Ruling.rulingPlace.neighborhood
short:
  v: Name of neighborhood, block
definition:
  v: Name of neighborhood, block
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.neighborhood
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.postalCode
path:
  v: Ruling.rulingPlace.postalCode
short:
  v: Postal code for area
definition:
  v: Postal code for area
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.postalCode
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.parent
path:
  v: Ruling.rulingPlace.parent
short:
  v: Location hierarchy information
definition:
  v: Location hierarchy information
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.parent
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: parent-1
  severity:
    v: error
  human:
    v: At least one of coding, code, reference, or name must be present
  expression:
    v: coding.exists() or reference.exists() or name.exists() or code.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Ruling.rulingPlace.parent.id
path:
  v: Ruling.rulingPlace.parent.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.rulingPlace.parent.extension
path:
  v: Ruling.rulingPlace.parent.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.rulingPlace.parent.modifierExtension
path:
  v: Ruling.rulingPlace.parent.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Ruling.rulingPlace.parent.code
path:
  v: Ruling.rulingPlace.parent.code
short:
  v: Simple code for the location type
definition:
  v: Simple code for the location type
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.parent.code
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: code
    l: code

id:
  v: Ruling.rulingPlace.parent.coding
path:
  v: Ruling.rulingPlace.parent.coding
short:
  v: Coded representation of the location
definition:
  v: Coded representation of the location
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.parent.coding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: preferred
  value set:
    v: https://acsa.africa/std/ValueSet/birth-place-type
    l: birth-place-type

id:
  v: Ruling.rulingPlace.parent.reference
path:
  v: Ruling.rulingPlace.parent.reference
short:
  v: Reference to a Location resource
definition:
  v: Reference to a Location resource
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.parent.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location

id:
  v: Ruling.rulingPlace.parent.name
path:
  v: Ruling.rulingPlace.parent.name
short:
  v: Text name of the location when structured data not available
definition:
  v: Text name of the location when structured data not available
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.parent.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.period
path:
  v: Ruling.rulingPlace.period
short:
  v: Time period when address was/is in use
definition:
  v: Time period when address was/is in use
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: Ruling.rulingPlace.text
path:
  v: Ruling.rulingPlace.text
short:
  v: Text representation of the address
definition:
  v: Text representation of the address
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingPlace.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.court
path:
  v: Ruling.court
short:
  v: Court that issued the ruling
definition:
  v: Court that issued the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.court
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: court-1
  severity:
    v: error
  human:
    v: At least one of coding, code, reference, or name must be present
  expression:
    v: coding.exists() or reference.exists() or name.exists() or code.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Ruling.court.id
path:
  v: Ruling.court.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.court.extension
path:
  v: Ruling.court.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.court.modifierExtension
path:
  v: Ruling.court.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Ruling.court.reference
path:
  v: Ruling.court.reference
short:
  v: Reference to the Court that issued the ruling
definition:
  v: Reference to the Court that issued the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.court.reference
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization

id:
  v: Ruling.court.coding
path:
  v: Ruling.court.coding
short:
  v: Coding for the court that issued the ruling
definition:
  v: Coding for the court that issued the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.court.coding
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: Ruling.court.name
path:
  v: Ruling.court.name
short:
  v: Name of the court that issued the ruling
definition:
  v: Name of the court that issued the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.court.name
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.judge
path:
  v: Ruling.judge
short:
  v: Judge who issued the ruling
definition:
  v: Judge who issued the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.judge
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner

id:
  v: Ruling.parties
path:
  v: Ruling.parties
short:
  v: Additional parties involved in the ruling
definition:
  v: Additional parties involved in the ruling
min:
  v: 0
max:
  v: *
base:
  path:
    v: Ruling.parties
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Ruling.parties.id
path:
  v: Ruling.parties.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.parties.extension
path:
  v: Ruling.parties.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: Ruling.parties.modifierExtension
path:
  v: Ruling.parties.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
comment:
  v: There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.
requirements:
  v: Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: Ruling.parties.role
path:
  v: Ruling.parties.role
short:
  v: Role of this party
definition:
  v: Role of this party in the ruling
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Ruling.parties.role
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  value set:
    v: https://acsa.africa/std/ValueSet/PartyRole
    l: PartyRole

id:
  v: Ruling.parties.individual
path:
  v: Ruling.parties.individual
short:
  v: The individual party
definition:
  v: The individual party
min:
  v: 1
max:
  v: 1
base:
  path:
    v: Ruling.parties.individual
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://acsa.africa/std/StructureDefinition/Individual
    l: Individual

id:
  v: Ruling.rulingDetails
path:
  v: Ruling.rulingDetails
short:
  v: Details of the ruling
definition:
  v: Details of the ruling
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.rulingDetails
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.eventNote
path:
  v: Ruling.eventNote
short:
  v: Free text note about the ruling event
definition:
  v: Free text note about the ruling event
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Ruling.eventNote
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: Ruling
  path:
    v: Ruling
  short:
    v: Ruling Resource
  definition:
    v: A base resource for capturing legal rulings in the CRVS realm.
element:
  id:
    v: Ruling.rulingType
  path:
    v: Ruling.rulingType
  short:
    v: Type of ruling
  definition:
    v: Type of ruling
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: code
      l: code
  binding:
    strength:
      v: required
    value set:
      v: https://acsa.africa/std/ValueSet/ruling-type
      l: ruling-type
element:
  id:
    v: Ruling.rulingDate
  path:
    v: Ruling.rulingDate
  short:
    v: Date when the ruling was issued
  definition:
    v: Date when the ruling was issued
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: date
      l: date
element:
  id:
    v: Ruling.rulingPlace
  path:
    v: Ruling.rulingPlace
  short:
    v: Place where the ruling was issued
  definition:
    v: Place where the ruling was issued
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: Ruling.rulingPlace.use
  path:
    v: Ruling.rulingPlace.use
  short:
    v: home | work | temp | old | billing - purpose of this address
  definition:
    v: home | work | temp | old | billing - purpose of this address
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: Ruling.rulingPlace.type
  path:
    v: Ruling.rulingPlace.type
  short:
    v: postal | physical | both - the type of address
  definition:
    v: postal | physical | both - the type of address
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: code
      l: code
element:
  id:
    v: Ruling.rulingPlace.line
  path:
    v: Ruling.rulingPlace.line
  short:
    v: Street name, number, direction & P.O. Box etc.
  definition:
    v: Street name, number, direction & P.O. Box etc.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Ruling.rulingPlace.city
  path:
    v: Ruling.rulingPlace.city
  short:
    v: Name of city, town etc.
  definition:
    v: Name of city, town etc.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Ruling.rulingPlace.neighborhood
  path:
    v: Ruling.rulingPlace.neighborhood
  short:
    v: Name of neighborhood, block
  definition:
    v: Name of neighborhood, block
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Ruling.rulingPlace.postalCode
  path:
    v: Ruling.rulingPlace.postalCode
  short:
    v: Postal code for area
  definition:
    v: Postal code for area
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: string
element:
  id:
    v: Ruling.rulingPlace.parent
  path:
    v: Ruling.rulingPlace.parent
  short:
    v: Location hierarchy information
  definition:
    v: Location hierarchy information
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: BackboneElement
      l: BackboneElement
  constraint:
    key:
      v: parent-1
    severity:
      v: error
    human:
      v: At least one of coding, code, reference, or name must be present
    expression:
      v: coding.exists() or reference.exists() or name.exists() or code.exists()
    source:
      v: http://hl7.org/fhir/StructureDefinition/Element
      l: Element
element:
  id:
    v: Ruling.rulingPlace.parent.code
  path:
    v: Ruling.rulingPlace.parent.code

v: Simple code for the location type

v: Simple code for the location type

v: 0

v: 1

code:
  v: code
  l: code

id:
  v: Ruling.rulingPlace.parent.coding
path:
  v: Ruling.rulingPlace.parent.coding
short:
  v: Coded representation of the location
definition:
  v: Coded representation of the location
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: preferred
  value set:
    v: https://acsa.africa/std/ValueSet/birth-place-type
    l: birth-place-type

id:
  v: Ruling.rulingPlace.parent.reference
path:
  v: Ruling.rulingPlace.parent.reference
short:
  v: Reference to a Location resource
definition:
  v: Reference to a Location resource
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Location
    l: Location

id:
  v: Ruling.rulingPlace.parent.name
path:
  v: Ruling.rulingPlace.parent.name
short:
  v: Text name of the location when structured data not available
definition:
  v: Text name of the location when structured data not available
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.rulingPlace.period
path:
  v: Ruling.rulingPlace.period
short:
  v: Time period when address was/is in use
definition:
  v: Time period when address was/is in use
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: Ruling.rulingPlace.text
path:
  v: Ruling.rulingPlace.text
short:
  v: Text representation of the address
definition:
  v: Text representation of the address
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.court
path:
  v: Ruling.court
short:
  v: Court that issued the ruling
definition:
  v: Court that issued the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: BackboneElement
    l: BackboneElement
constraint:
  key:
    v: court-1
  severity:
    v: error
  human:
    v: At least one of coding, code, reference, or name must be present
  expression:
    v: coding.exists() or reference.exists() or name.exists() or code.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element

id:
  v: Ruling.court.reference
path:
  v: Ruling.court.reference
short:
  v: Reference to the Court that issued the ruling
definition:
  v: Reference to the Court that issued the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Organization
    l: Organization

id:
  v: Ruling.court.coding
path:
  v: Ruling.court.coding
short:
  v: Coding for the court that issued the ruling
definition:
  v: Coding for the court that issued the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Coding
    l: Coding

id:
  v: Ruling.court.name
path:
  v: Ruling.court.name
short:
  v: Name of the court that issued the ruling
definition:
  v: Name of the court that issued the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.judge
path:
  v: Ruling.judge
short:
  v: Judge who issued the ruling
definition:
  v: Judge who issued the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Practitioner
    l: Practitioner

id:
  v: Ruling.parties
path:
  v: Ruling.parties
short:
  v: Additional parties involved in the ruling
definition:
  v: Additional parties involved in the ruling
min:
  v: 0
max:
  v: *
type:
  code:
    v: BackboneElement
    l: BackboneElement

id:
  v: Ruling.parties.role
path:
  v: Ruling.parties.role
short:
  v: Role of this party
definition:
  v: Role of this party in the ruling
min:
  v: 1
max:
  v: 1
type:
  code:
    v: code
    l: code
binding:
  strength:
    v: required
  value set:
    v: https://acsa.africa/std/ValueSet/PartyRole
    l: PartyRole

id:
  v: Ruling.parties.individual
path:
  v: Ruling.parties.individual
short:
  v: The individual party
definition:
  v: The individual party
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Reference
    l: Reference
  target profile:
    v: https://acsa.africa/std/StructureDefinition/Individual
    l: Individual

id:
  v: Ruling.rulingDetails
path:
  v: Ruling.rulingDetails
short:
  v: Details of the ruling
definition:
  v: Details of the ruling
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: Ruling.eventNote
path:
  v: Ruling.eventNote
short:
  v: Free text note about the ruling event
definition:
  v: Free text note about the ruling event
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string