preeclampsia-referral
type: StructureDefinition
node role: treeRoot
id:
  v: preeclampsia-referral
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition preeclampsia-referral Name Flags Card. Type Description & Constraints preeclampsia-referral 0..* Base Logical Model for Preeclampsia Referral in Antenatal Care Scenario patient 1..1 Reference(Patient) Reference to the pregnant patient encounter 1..1 Reference(Encounter) ANC visit encounter details observations 1..* BackboneElement Observations conducted during ANC visit bloodPressure 1..1 BackboneElement Blood Pressure Observation systolicBP 1..1 Reference(Systolic Blood Pressure (Observation)) Systolic Blood Pressure diastolicBP 1..1 Reference(Diastolic Blood Pressure (Observation)) Diastolic Blood Pressure urineProtein 1..1 Reference(Protein Urine (Observation)) Proteinuria test result temperature 1..1 Reference(Body Temperature (Observation)) Body Temperature condition 1..1 Reference(Condition) Diagnosis of preeclampsia serviceRequest 1..1 Reference(ServiceRequest) Urgent referral to hospital Documentation for this format
url:
  v: https://fhir.pwskia.id//StructureDefinition/preeclampsia-referral
version:
  v: 0.1.0
name:
  v: PreeclampsiaReferral
title:
  v: Logical Model for Preeclampsia Referral in Antenatal Care Scenario
status:
  v: draft
date:
  v: 2025-04-12T00:42:08+08:00
publisher:
  v: Diana Wijayanti
contact:
  name:
    v: Diana Wijayanti
  telecom:
    system:
      v: url
    value:
      v: https://github.com/hi-dinanti
description:
  v: Represents a scenario where a pregnant woman with preeclampsia is referred to a hospital.
fhir version:
  v: 4.0.1
kind:
  v: logical
abstract:
  v: false
type:
  v: https://fhir.pwskia.id//StructureDefinition/preeclampsia-referral
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 4.0.1
  element:
    id:
      v: preeclampsia-referral
    path:
      v: preeclampsia-referral
    short:
      v: Logical Model for Preeclampsia Referral in Antenatal Care Scenario
    definition:
      v: Represents a scenario where a pregnant woman with preeclampsia is referred to a hospital.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
  element:
    id:
      v: preeclampsia-referral.patient
    path:
      v: preeclampsia-referral.patient
    short:
      v: Reference to the pregnant patient
    definition:
      v: Reference to the pregnant patient
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: preeclampsia-referral.patient
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Reference
      target profile:
        v: http://hl7.org/fhir/StructureDefinition/Patient
        link: http://hl7.org/fhir/StructureDefinition/Patient
  element:
    id:
      v: preeclampsia-referral.encounter
    path:
      v: preeclampsia-referral.encounter
    short:
      v: ANC visit encounter details
    definition:
      v: ANC visit encounter details
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: preeclampsia-referral.encounter
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Reference
      target profile:
        v: http://hl7.org/fhir/StructureDefinition/Encounter
        link: http://hl7.org/fhir/StructureDefinition/Encounter
  element:
    id:
      v: preeclampsia-referral.observations
    path:
      v: preeclampsia-referral.observations
    short:
      v: Observations conducted during ANC visit
    definition:
      v: Observations conducted during ANC visit
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: preeclampsia-referral.observations
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: 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())
      xpath:
        v: @value|f:*|h:div
      source:
        v: http://hl7.org/fhir/StructureDefinition/Element
        link: http://hl7.org/fhir/StructureDefinition/Element
  element:
    id:
      v: preeclampsia-referral.observations.id
    path:
      v: preeclampsia-referral.observations.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:
        value: url
      code:
        v: http://hl7.org/fhirpath/System.String
    is modifier:
      v: false
    is summary:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: preeclampsia-referral.observations.extension
    path:
      v: preeclampsia-referral.observations.extension

url
v: string

discriminator:
  type:
    v: value
  path:
    v: url
description:
  v: Extensions are always sliced by (at least) url
rules:
  v: open

v: Additional content defined by implementations

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 manageable, 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.

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.

v: extensions

v: user content

v: 0

v: *

path:
  v: Element.extension
min:
  v: 0
max:
  v: *

code:
  v: Extension

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())
xpath:
  v: @value|f:*|h:div
source:
  v: http://hl7.org/fhir/StructureDefinition/Element
  link: http://hl7.org/fhir/StructureDefinition/Element

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

v: false

v: false

identity:
  v: rim
map:
  v: n/a

id:
  v: preeclampsia-referral.observations.modifierExtension
path:
  v: preeclampsia-referral.observations.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 manageable, 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/R4/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
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())
  xpath:
    v: @value|f:*|h:div
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    link: http://hl7.org/fhir/StructureDefinition/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()
  xpath:
    v: exists(f:extension)!=exists(f:*[starts-with(local-name(.), "value")])
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    link: http://hl7.org/fhir/StructureDefinition/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: preeclampsia-referral.observations.bloodPressure
path:
  v: preeclampsia-referral.observations.bloodPressure
short:
  v: Blood Pressure Observation
definition:
  v: Blood Pressure Observation
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.observations.bloodPressure
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: BackboneElement

id:
  v: preeclampsia-referral.observations.systolicBP
path:
  v: preeclampsia-referral.observations.systolicBP
short:
  v: Systolic Blood Pressure
definition:
  v: Systolic Blood Pressure
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.observations.systolicBP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://fhir.pwskia.id/r4/StructureDefinition/ANCSystoleBP
    link: https://fhir.pwskia.id/r4/StructureDefinition/ANCSystoleBP

id:
  v: preeclampsia-referral.observations.diastolicBP
path:
  v: preeclampsia-referral.observations.diastolicBP
short:
  v: Diastolic Blood Pressure
definition:
  v: Diastolic Blood Pressure
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.observations.diastolicBP
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://fhir.pwskia.id/r4/StructureDefinition/ANCDiastoleBP
    link: https://fhir.pwskia.id/r4/StructureDefinition/ANCDiastoleBP

id:
  v: preeclampsia-referral.observations.urineProtein
path:
  v: preeclampsia-referral.observations.urineProtein
short:
  v: Proteinuria test result
definition:
  v: Proteinuria test result
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.observations.urineProtein
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://fhir.pwskia.id/r4/StructureDefinition/ANCProteinUrine
    link: https://fhir.pwskia.id/r4/StructureDefinition/ANCProteinUrine

id:
  v: preeclampsia-referral.observations.temperature
path:
  v: preeclampsia-referral.observations.temperature
short:
  v: Body Temperature
definition:
  v: Body Temperature
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.observations.temperature
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://fhir.pwskia.id/r4/StructureDefinition/ANCTemperature
    link: https://fhir.pwskia.id/r4/StructureDefinition/ANCTemperature

id:
  v: preeclampsia-referral.condition
path:
  v: preeclampsia-referral.condition
short:
  v: Diagnosis of preeclampsia
definition:
  v: Diagnosis of preeclampsia
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.condition
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/Condition
    link: http://hl7.org/fhir/StructureDefinition/Condition

id:
  v: preeclampsia-referral.serviceRequest
path:
  v: preeclampsia-referral.serviceRequest
short:
  v: Urgent referral to hospital
definition:
  v: Urgent referral to hospital
min:
  v: 1
max:
  v: 1
base:
  path:
    v: preeclampsia-referral.serviceRequest
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
    link: http://hl7.org/fhir/StructureDefinition/ServiceRequest

element:
  id:
    v: preeclampsia-referral
  path:
    v: preeclampsia-referral
  short:
    v: Logical Model for Preeclampsia Referral in Antenatal Care Scenario
  definition:
    v: Represents a scenario where a pregnant woman with preeclampsia is referred to a hospital.
element:
  id:
    v: preeclampsia-referral.patient
  path:
    v: preeclampsia-referral.patient
  short:
    v: Reference to the pregnant patient
  definition:
    v: Reference to the pregnant patient
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Patient
      link: http://hl7.org/fhir/StructureDefinition/Patient
element:
  id:
    v: preeclampsia-referral.encounter
  path:
    v: preeclampsia-referral.encounter
  short:
    v: ANC visit encounter details
  definition:
    v: ANC visit encounter details
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Encounter
      link: http://hl7.org/fhir/StructureDefinition/Encounter
element:
  id:
    v: preeclampsia-referral.observations
  path:
    v: preeclampsia-referral.observations
  short:
    v: Observations conducted during ANC visit
  definition:
    v: Observations conducted during ANC visit
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: BackboneElement
element:
  id:
    v: preeclampsia-referral.observations.bloodPressure
  path:
    v: preeclampsia-referral.observations.bloodPressure
  short:
    v: Blood Pressure Observation
  definition:
    v: Blood Pressure Observation
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: BackboneElement
element:
  id:
    v: preeclampsia-referral.observations.systolicBP
  path:
    v: preeclampsia-referral.observations.systolicBP
  short:
    v: Systolic Blood Pressure
  definition:
    v: Systolic Blood Pressure
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://fhir.pwskia.id/r4/StructureDefinition/ANCSystoleBP
      link: https://fhir.pwskia.id/r4/StructureDefinition/ANCSystoleBP
element:
  id:
    v: preeclampsia-referral.observations.diastolicBP
  path:
    v: preeclampsia-referral.observations.diastolicBP
  short:
    v: Diastolic Blood Pressure
  definition:
    v: Diastolic Blood Pressure
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://fhir.pwskia.id/r4/StructureDefinition/ANCDiastoleBP
      link: https://fhir.pwskia.id/r4/StructureDefinition/ANCDiastoleBP
element:
  id:
    v: preeclampsia-referral.observations.urineProtein
  path:
    v: preeclampsia-referral.observations.urineProtein
  short:
    v: Proteinuria test result
  definition:
    v: Proteinuria test result
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://fhir.pwskia.id/r4/StructureDefinition/ANCProteinUrine
      link: https://fhir.pwskia.id/r4/StructureDefinition/ANCProteinUrine
element:
  id:
    v: preeclampsia-referral.observations.temperature
  path:
    v: preeclampsia-referral.observations.temperature
  short:
    v: Body Temperature
  definition:
    v: Body Temperature
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://fhir.pwskia.id/r4/StructureDefinition/ANCTemperature
      link: https://fhir.pwskia.id/r4/StructureDefinition/ANCTemperature
element:
  id:
    v: preeclampsia-referral.condition
  path:
    v: preeclampsia-referral.condition
  short:
    v: Diagnosis of preeclampsia
  definition:
    v: Diagnosis of preeclampsia
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/Condition
      link: http://hl7.org/fhir/StructureDefinition/Condition
element:
  id:
    v: preeclampsia-referral.serviceRequest
  path:
    v: preeclampsia-referral.serviceRequest
  short:
    v: Urgent referral to hospital
  definition:
    v: Urgent referral to hospital
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: http://hl7.org/fhir/StructureDefinition/ServiceRequest
      link: http://hl7.org/fhir/StructureDefinition/ServiceRequest