archetype (adl_version=1.4)
    openEHR-EHR-CLUSTER.menstrual_cycle.v1

concept
    [at0000]    -- Menstrual cycle
language
    original_language = <[ISO_639-1::en]>
description
    original_author = <
        ["name"] = <"Heather Leslie">
        ["organisation"] = <"Ocean Informatics">
        ["date"] = <"19/03/2007">
        ["email"] = <"heather.leslie@oceaninformatics.biz">
    >
    details = <
        ["en"] = <
            language = <[ISO_639-1::en]>
            purpose = <"Detailed clinical information about a menstrual cycle">
            use = <"For inclusion within Menstrual cycle OBSERVATION">
            keywords = <"menstruation", "menses", "menstrual cycle", "bleeding">
            misuse = <"">
        >
    >
    lifecycle_state = <"Initial">
    other_contributors = <>

definition
    CLUSTER[at0000]  {    -- Menstrual cycle
        items cardinality  {0..*; unordered}  {
            CLUSTER[at0001] occurrences  {0..1}  {    -- Normal Statements
                items cardinality  {0..*; unordered}  {
                    ELEMENT[at0002] occurrences  {0..*}  {    -- Normal Statement
                        value  {
                            DV_TEXT  {*}
                        }
                    }
                }
            }
            ELEMENT[at0061] occurrences  {0..1}  {    -- Clinical description
                value  {
                    DV_TEXT  {*}
                }
            }
            CLUSTER[at0003] occurrences  {0..1}  {    -- Findings
                items cardinality  {0..*; unordered}  {
                    CLUSTER[at0022] occurrences  {0..1}  {    -- Cycle
                        items cardinality  {0..*; unordered}  {
                            ELEMENT[at0020] occurrences  {0..1}  {    -- Length of cycle
                                value  {
                                    C_DV_QUANTITY <
                                        property = <[openehr::128]>
                                        list = <
                                            ["1"] = <
                                                units = <"d">
                                            >
                                            ["2"] = <
                                                units = <"wk">
                                            >
                                            ["3"] = <
                                                units = <"mo">
                                            >
                                        >
                                    >
                                }
                            }
                            ELEMENT[at0023] occurrences  {0..1}  {    -- Relative duration of cycle
                                value  {
                                    DV_CODED_TEXT  {
                                        defining_code  {
                                            [local::
                                            at0024,     -- Longer than usual
                                            at0026,     -- As usual
                                            at0027,     -- Shorter than usual
                                            at0028,     -- Much shorter than usual
                                            at0029]    -- Much longer than usual
                                        }
                                    }
                                }
                            }
                            ELEMENT[at0060] occurrences  {0..1}  {    -- Day of cycle
                                value  {
                                    DV_COUNT  {
                                        magnitude  {|>=1|}
                                    }
                                }
                            }
                        }
                    }
                    CLUSTER[at0033] occurrences  {0..1}  {    -- Menstruation
                        items cardinality  {0..*; unordered}  {
                            ELEMENT[at0043] occurrences  {0..1}  {    -- Clinical Descripton
                                value  {
                                    DV_TEXT  {*}
                                }
                            }
                            CLUSTER[at0056] occurrences  {0..1}  {    -- Menstrual flow
                                items cardinality  {0..*; unordered}  {
                                    ELEMENT[at0057] occurrences  {0..1}  {    -- Clinical Description
                                        value  {
                                            DV_TEXT  {*}
                                        }
                                    }
                                    ELEMENT[at0035] occurrences  {0..1}  {    -- Relative Description
                                        value  {
                                            DV_CODED_TEXT  {
                                                defining_code  {
                                                    [local::
                                                    at0037,     -- Very heavy flow
                                                    at0038,     -- Heavy flow
                                                    at0039,     -- Normal flow
                                                    at0040,     -- Light flow
                                                    at0041,     -- Spotting
                                                    at0042]    -- Absent
                                                }
                                            }
                                        }
                                    }
                                    ELEMENT[at0059] occurrences  {0..1}  {    -- Colour
                                        value  {
                                            DV_TEXT  {*}
                                        }
                                    }
                                    ELEMENT[at0021] occurrences  {0..1}  {    -- Presence of blood clots
                                        value  {
                                            DV_BOOLEAN  {
                                                value  {True}
                                            }
                                        }
                                    }
                                    ELEMENT[at0034] occurrences  {0..1}  {    -- Flooding
                                        value  {
                                            DV_BOOLEAN  {
                                                value  {True, False}
                                            }
                                        }
                                    }
                                }
                            }
                            CLUSTER[at0031] occurrences  {0..1}  {    -- Duration of Menstruation
                                items cardinality  {0..*; unordered}  {
                                    ELEMENT[at0017] occurrences  {0..1}  {    -- Duration of menstruation
                                        value  {
                                            C_DV_QUANTITY <
                                                property = <[openehr::128]>
                                                list = <
                                                    ["1"] = <
                                                        units = <"d">
                                                        magnitude = <|>=0.0|>
                                                        precision = <|0|>
                                                    >
                                                    ["2"] = <
                                                        units = <"wk">
                                                        magnitude = <|>=0.0|>
                                                        precision = <|0|>
                                                    >
                                                >
                                            >
                                        }
                                    }
                                    ELEMENT[at0032] occurrences  {0..1}  {    -- Relative duration of menstruation
                                        value  {
                                            DV_CODED_TEXT  {
                                                defining_code  {
                                                    [local::
                                                    at0024,     -- Longer than usual
                                                    at0025,     -- Normal
                                                    at0026,     -- As usual
                                                    at0027,     -- Shorter than usual
                                                    at0028,     -- Much shorter than usual
                                                    at0029]    -- Much longer than usual
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                            CLUSTER[at0046] occurrences  {0..1}  {    -- Use of Sanitary products
                                items cardinality  {0..*; unordered}  {
                                    ELEMENT[at0047] occurrences  {0..*}  {    -- Type of Sanitary product
                                        value  {
                                            DV_CODED_TEXT  {
                                                defining_code  {
                                                    [local::
                                                    at0048,     -- Sanitary napkins - 'super'
                                                    at0049,     -- Sanitary napkins - 'normal'
                                                    at0050,     -- Sanitary napkins - 'light flow'
                                                    at0051,     -- Tampon - 'super'
                                                    at0052,     -- Tampon - 'normal'
                                                    at0053,     -- Sea sponge
                                                    at0054,     -- Menstrual cup
                                                    at0055]    -- Cloth pad or towel
                                                }
                                            }
                                        }
                                    }
                                    ELEMENT[at0036] occurrences  {0..1}  {    -- Number used
                                        value  {
                                            DV_COUNT  {
                                                magnitude  {|>=0|}
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

ontology
    term_definitions = <
        ["en"] = <
            items = <
                ["at0000"] = <
                    description = <"Details about menstrual cycle">
                    text = <"Menstrual cycle">
                >
                ["at0001"] = <
                    description = <"Collection of normal statements about menstrual cycle">
                    text = <"Normal Statements">
                >
                ["at0002"] = <
                    description = <"Normal statement about the menstrual cycle">
                    text = <"Normal Statement">
                >
                ["at0003"] = <
                    description = <"Finding about menstrual cycle">
                    text = <"Findings">
                >
                ["at0017"] = <
                    description = <"Duration of menstruation">
                    text = <"Duration of menstruation">
                >
                ["at0020"] = <
                    description = <"Length of menstrual cycle">
                    text = <"Length of cycle">
                >
                ["at0021"] = <
                    description = <"Blood clots were present during cycle">
                    text = <"Presence of blood clots">
                >
                ["at0022"] = <
                    description = <"Duration of Menstrual Cycle">
                    text = <"Cycle">
                >
                ["at0023"] = <
                    description = <"Description of the relative duration of menstrual cycle">
                    text = <"Relative duration of cycle">
                >
                ["at0024"] = <
                    description = <"*">
                    text = <"Longer than usual">
                >
                ["at0025"] = <
                    description = <"*">
                    text = <"Normal">
                >
                ["at0026"] = <
                    description = <"*">
                    text = <"As usual">
                >
                ["at0027"] = <
                    description = <"*">
                    text = <"Shorter than usual">
                >
                ["at0028"] = <
                    description = <"*">
                    text = <"Much shorter than usual">
                >
                ["at0029"] = <
                    description = <"*">
                    text = <"Much longer than usual">
                >
                ["at0031"] = <
                    description = <"Details about duration of menstruation">
                    text = <"Duration of Menstruation">
                >
                ["at0032"] = <
                    description = <"Relative duration of menstruation">
                    text = <"Relative duration of menstruation">
                >
                ["at0033"] = <
                    description = <"Description of the menstruation, or period of bleeding">
                    text = <"Menstruation">
                >
                ["at0034"] = <
                    description = <"Heavy menstrual flow that exceeds capacity sanitary napkins and other menstrual products to absorb the menstrual flow">
                    text = <"Flooding">
                >
                ["at0035"] = <
                    description = <"Relative description of menstrual blood flow">
                    text = <"Relative Description">
                >
                ["at0036"] = <
                    description = <"Number of sanitary products used per day to absorb menstrual flow">
                    text = <"Number used">
                >
                ["at0037"] = <
                    description = <"*">
                    text = <"Very heavy flow">
                >
                ["at0038"] = <
                    description = <"*">
                    text = <"Heavy flow">
                >
                ["at0039"] = <
                    description = <"*">
                    text = <"Normal flow">
                >
                ["at0040"] = <
                    description = <"*">
                    text = <"Light flow">
                >
                ["at0041"] = <
                    description = <"*">
                    text = <"Spotting">
                >
                ["at0042"] = <
                    description = <"*">
                    text = <"Absent">
                >
                ["at0043"] = <
                    description = <"Description of the characteristics of menstruation">
                    text = <"Clinical Descripton">
                >
                ["at0046"] = <
                    description = <"Details about use of Sanitary products during menstruation">
                    text = <"Use of Sanitary products">
                >
                ["at0047"] = <
                    description = <"Type of sanitary product used">
                    text = <"Type of Sanitary product">
                >
                ["at0048"] = <
                    description = <"*">
                    text = <"Sanitary napkins - 'super'">
                >
                ["at0049"] = <
                    description = <"*">
                    text = <"Sanitary napkins - 'normal'">
                >
                ["at0050"] = <
                    description = <"*">
                    text = <"Sanitary napkins - 'light flow'">
                >
                ["at0051"] = <
                    description = <"*">
                    text = <"Tampon - 'super'">
                >
                ["at0052"] = <
                    description = <"*">
                    text = <"Tampon - 'normal'">
                >
                ["at0053"] = <
                    description = <"*">
                    text = <"Sea sponge">
                >
                ["at0054"] = <
                    description = <"*">
                    text = <"Menstrual cup">
                >
                ["at0055"] = <
                    description = <"*">
                    text = <"Cloth pad or towel">
                >
                ["at0056"] = <
                    description = <"Details about menstrual blood flow">
                    text = <"Menstrual flow">
                >
                ["at0057"] = <
                    description = <"Description of Menstrual blood flow">
                    text = <"Clinical Description">
                >
                ["at0059"] = <
                    description = <"Colour of menstrual blood">
                    text = <"Colour">
                >
                ["at0060"] = <
                    description = <"Number of days since onset of last period">
                    text = <"Day of cycle">
                >
                ["at0061"] = <
                    description = <"Information about the cycle">
                    text = <"Clinical description">
                >
            >
        >
    >