<commit_before>module.exports = {
    "id": "medication",
    "type": "object",
    "properties": {
        "date_time": {
            "$ref": "cda_date"
        },
        "identifiers": {
            "type": "array",
            "items": {
                "$ref": "cda_id"
            },
            "minItems": 1
        },
        "sig": {
            "type": "string"
        },
        "status": {
            "type": "string"
        },
        "administration": {
            "type": "object",
            "properties": {
                "dose": {
                    "$ref": "cda_physical_quantity"
                },
                "form": {
                    "$ref": "cda_coded_entry"
                },
                "rate": {
                    "$ref": "cda_physical_quantity"
                },
                "route": {
                    "$ref": "cda_coded_entry"
                },
                "dose_restriction": {
                    "$ref": "cda_physical_quantity"
                },
                "site": {
                    "$ref": "cda_coded_entry"
                },
                "interval": {
                    "type": "object",
                    "properties": {
                        "xsiType": {
                            "type": "string"
                        },
                        "phase": {
                            "$ref": "cda_date"
                        },
                        "period": {
                            "$ref": "cda_physical_quantity"
                        },
                        "frequency": {
                            "type": "boolean"
                        },
                        "alignment": {
                            "type": "string"
                        },
                        "event": {
                            "type": "string"
                        },
                        "event_offset": {
                            "type": "object",
                            "properties": {
                                "low": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "high": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "center": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "width": {
                                    "$ref": "cda_physical_quantity"
                                }

                            },
                            "additionalProperties": false

                        }
                    },
                    "additionalProperties": false
                }

            },
            "additionalProperties": false,
            "minProperties": 1
        },

        "precondition": {
            "type": "object",
            "properties": {
                "code": {
                    "$ref": "cda_coded_entry"
                },
                "value": {
                    "$ref": "cda_coded_entry"
                }
            },
            "additionalProperties": false
        },
        "product": {
            "type": "object",
            "properties": {
                "identifiers": {
                    "type": "array",
                    "items": {
                        "$ref": "cda_id"
                    },
                    "minItems": 1
                },
                "product": {
                    "$ref": "cda_coded_entry"
                },
                "unencoded_name": {
                    "type": "string"
                },
                "manufacturer": {
                    "type": "string"
                }
            },
            "additionalProperties": false,
            "minProperties": 1,
            "required": [
                "product"
            ]
        },
        "supply": {
            "type": "object",
            "properties": {
                "date_time": {
                    "$ref": "cda_date"
                },
                "repeatNumber": {
                    "type": "string"
                },
                "quantity": {
                    "type": "string"
                },
                "author": {
                    "type": "object",
                    "properties": {
                        "identifiers": {
                            "type": "array",
                            "items": {
                                "$ref": "cda_id"
                            },
                            "minItems": 1
                        },<commit_msg>add isBrand and appearance elements<commit_after>module.exports = {
    "id": "medication",
    "type": "object",
    "properties": {
        "date_time": {
            "$ref": "cda_date"
        },
        "identifiers": {
            "type": "array",
            "items": {
                "$ref": "cda_id"
            },
            "minItems": 1
        },
        "sig": {
            "type": "string"
        },
        "status": {
            "type": "string"
        },
        "isBrand": {
            "type": "boolean"
        }
        "administration": {
            "type": "object",
            "properties": {
                "dose": {
                    "$ref": "cda_physical_quantity"
                },
                "form": {
                    "$ref": "cda_coded_entry"
                },
                "rate": {
                    "$ref": "cda_physical_quantity"
                },
                "route": {
                    "$ref": "cda_coded_entry"
                },
                "dose_restriction": {
                    "$ref": "cda_physical_quantity"
                },
                "site": {
                    "$ref": "cda_coded_entry"
                },
                "interval": {
                    "type": "object",
                    "properties": {
                        "xsiType": {
                            "type": "string"
                        },
                        "phase": {
                            "$ref": "cda_date"
                        },
                        "period": {
                            "$ref": "cda_physical_quantity"
                        },
                        "frequency": {
                            "type": "boolean"
                        },
                        "alignment": {
                            "type": "string"
                        },
                        "event": {
                            "type": "string"
                        },
                        "event_offset": {
                            "type": "object",
                            "properties": {
                                "low": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "high": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "center": {
                                    "$ref": "cda_physical_quantity"
                                },
                                "width": {
                                    "$ref": "cda_physical_quantity"
                                }

                            },
                            "additionalProperties": false

                        }
                    },
                    "additionalProperties": false
                }

            },
            "additionalProperties": false,
            "minProperties": 1
        },

        "precondition": {
            "type": "object",
            "properties": {
                "code": {
                    "$ref": "cda_coded_entry"
                },
                "value": {
                    "$ref": "cda_coded_entry"
                }
            },
            "additionalProperties": false
        },
        "product": {
            "type": "object",
            "properties": {
                "identifiers": {
                    "type": "array",
                    "items": {
                        "$ref": "cda_id"
                    },
                    "minItems": 1
                },
                "product": {
                    "$ref": "cda_coded_entry"
                },
                "unencoded_name": {
                    "type": "string"
                },
                "manufacturer": {
                    "type": "string"
                },
                "appearance": {
                    "type": "object",
                    "properties": {
                        "size": {
                            "$ref": "cda_physical_quantity"
                        },
                        "color": {
                            "type": "string"
                        },
                        "shape": {
                            "type": "string"
                        }
                    },
                    "additionalProperties": false
                }
            },
            "additionalProperties": false,
            "minProperties": 1,
            "required": [
                "product"
            ]
        },
        "supply": {
            "type": "object",
            "properties": {
                "date_time": {
                    "$ref": "cda_date"
                },
                "repeatNumber": {
                    "type": "string"
                },
                "quantity": {
                    "type": "string"
                },
                "author": {
                    "type": "object",
                    "properties": {
                        "identifiers": {
                            "type": "array",
                            "items": {
                                "$ref": "cda_id"
                            },
                            "minItems": 1
                        },
{'fraction_non_alphanumeric': 0.11823347622370652, 'fraction_numerical': 0.0009969095803010668, 'mean_word_length': 0.5875929735717677, 'pattern_counts': {'":': 214, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2727904', 'n_tokens_mistral': 2378, 'n_tokens_neox': 2137, 'n_words': 332}