diff --git a/.gitignore b/.gitignore index 72f6bf2a..7837009d 100644 --- a/.gitignore +++ b/.gitignore @@ -95,12 +95,18 @@ old-tests/ *.db-corrupt docs/~* files/~* -output/* +output/*.xlsx +output/*.svg SOA Workbench Wishlist.docx NCT01750580_limited.json CLAUDE.md edit-column-collapse.html .claude api_test.py +.scripts +files/pilot_LZZT_narrative_2026MAR10.json +.help +files/NCT01797120.pdf +.mcp.json # End of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..64dddfda --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "cdisc-json-validation"] + path = cdisc-json-validation + url = https://github.com/pendingintent/cdisc-json-validation.git diff --git a/README.md b/README.md index 8ec11809..18feaa69 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,34 @@ This workspace provides a Python package `soa_builder` with APIs to create a Schedule of Activites for Clinical Studies. +## Cloning the repository +This project now includes a submodule for USDM JSON validation with the USDM_API_v4.0.0.json schema. + +In order to clone the repository with the new submodule, use the command: + +```bash +> git clone --recurse-submodules https://github.com/pendingintent/soa-workbench.git +``` + +Once the repository has been cloned locally, in order to ensure the submodule is up-to-date, use the commands: +```bash +> cd cdisc-json-validation +> git pull +# or use the command for updating all registered submodules +> git submodule update --remote +``` + +This will ensure the submodule is always up-to-date. + + ## Installation Recommended: editable install for development. ```bash -python3 -m venv .venv -source .venv/bin/activate -pip install -r requirements.txt -pre-commit install -pre-commit run --all-files +> python3 -m venv .venv +> source .venv/bin/activate +> pip install -r requirements.txt +> pre-commit install +> pre-commit run --all-files ``` ## Start web server @@ -66,22 +86,20 @@ rm -f soa_builder_web_tests.db soa_builder_web_tests.db-wal soa_builder_web_test ## USDM Export Export USDM-compliant JSON for integration with external systems: ```bash - -# Or use the USDM generator scripts directly -python -m usdm.generate_activities --soa-id 1 --output-file activities.json -python -m usdm.generate_encounters --soa-id 1 --output-file encounters.json -python -m usdm.generate_study_epochs --soa-id 1 --output-file epochs.json +# Use the USDM generator scripts directly +python -m usdm.generate_usdm 1 -o study_usdm.json +python -m usdm.generate_activities 1 -o activities.json +python -m usdm.generate_encounters 1 -o encounters.json +python -m usdm.generate_study_epochs 1 -o epochs.json # See src/usdm/ for all generator scripts ``` --- ## Architecture Notes -- **Web UI**: HTMX loaded via CDN; no build step required - **Database**: SQLite with WAL mode (production) or DELETE mode (tests) - **Test Isolation**: Tests use `soa_builder_web_tests.db` (set via `SOA_BUILDER_DB` env var) - **Production Config**: Set `SOA_BUILDER_DB` environment variable for persistent DB path - **USDM Generators**: Python scripts in `src/usdm/` transform database state → USDM JSON artifacts -For detailed architectural patterns, USDM entity relationships, and development workflows, see `.github/copilot-instructions.md`. diff --git a/cdisc-json-validation b/cdisc-json-validation new file mode 160000 index 00000000..4abb841c --- /dev/null +++ b/cdisc-json-validation @@ -0,0 +1 @@ +Subproject commit 4abb841c48f9b701df9aeea0155a1a5e18fa224a diff --git a/docs/BC_WORKFLOW.md b/docs/BC_WORKFLOW.md new file mode 100644 index 00000000..af911a29 --- /dev/null +++ b/docs/BC_WORKFLOW.md @@ -0,0 +1,414 @@ +# Workflow for linking Biomedical Concept with Scheduled Activity Instance + +Assumes that the Activties and Scheduled Activity Instances have been created to form the SOA Matrix. + +![Activities linked with Concepts](../images/image-1.png) + + +## Assign Biomedical Concept to an Activity + +![Add Biomedical Concept from CDISC Library](../images/image-4.png) + +![Activity linked to Biomedical Concepts](../images/image-3.png) + +Hovering the cursor over a Biomedical Concept (BC) will display the C code for the BC. + +![C Code on Hover](../images/image-5.png) + +C25298 is the C Code for Systolic Blood Pressure. + +In the DSS (Data Set Specialization) column, the SDTM DSS values corresponding to the C Code of the Biomedical Concept is automagically mapped in the background. This is done using the CDISC Library API: https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/datasetspecializations?biomedicalconcept=C25298 + + +Response: + +```JSON +{ + "_links": { + "datasetSpecializations": { + "sdtm": [ + { + "href": "/mdr/specializations/sdtm/datasetspecializations/SYSBP", + "title": "Systolic Blood Pressure", + "type": "SDTM Dataset Specialization" + }, + { + "href": "/mdr/specializations/sdtm/datasetspecializations/SYSBP_EXT", + "title": "Systolic Blood Pressure Extended", + "type": "SDTM Dataset Specialization" + } + ] + }, + "self": { + "href": "/mdr/specializations/datasetspecializations?biomedicalconcept=C25298", + "title": "Dataset Specializations that specialize a Biomedical Concept", + "type": "Dataset Specializations List" + }, + "parentBiomedicalConcept": { + "href": "/mdr/bc/biomedicalconcepts/C25298", + "title": "Systolic Blood Pressure", + "type": "Biomedical Concept" + } + }, + "name": "Dataset Specializations (latest version)", + "label": "Dataset Specializations List" +} +``` +The `href` attribute has the value **/mdr/specializations/sdtm/datasetspecializations/SYSBP**. This is then used by the application to retrieve the SDTM data set specialization and corresponding data element concepts: https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/SYSBP + +Response: + +```JSON +{ + "_links": { + "parentBiomedicalConcept": { + "href": "/mdr/bc/biomedicalconcepts/C25298", + "title": "Systolic Blood Pressure", + "type": "Biomedical Concept" + }, + "parentPackage": { + "href": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "title": "SDTM Dataset Specialization Package Effective 2025-04-01", + "type": "SDTM Dataset Specialization Package" + }, + "self": { + "href": "/mdr/specializations/sdtm/datasetspecializations/SYSBP", + "title": "Systolic Blood Pressure", + "type": "SDTM Dataset Specialization" + } + }, + "datasetSpecializationId": "SYSBP", + "domain": "VS", + "shortName": "Systolic Blood Pressure", + "source": "VS.VSTESTCD", + "sdtmigStartVersion": "3-2", + "sdtmigEndVersion": "", + "variables": [ + { + "name": "VSTESTCD", + "isNonStandard": false, + "codelist": { + "conceptId": "C66741", + "submissionValue": "VSTESTCD", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C66741" + }, + "assignedTerm": { + "conceptId": "C25298", + "value": "SYSBP" + }, + "role": "Topic", + "relationship": { + "subject": "VSTESTCD", + "linkingPhrase": "is the code for the value in", + "predicateTerm": "IS_DECODED_BY", + "object": "VSTEST" + }, + "mandatoryVariable": true, + "mandatoryValue": false, + "comparator": "EQ" + }, + { + "name": "VSTEST", + "isNonStandard": false, + "codelist": { + "conceptId": "C67153", + "submissionValue": "VSTEST", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C67153" + }, + "assignedTerm": { + "conceptId": "C25298", + "value": "Systolic Blood Pressure" + }, + "role": "Qualifier", + "relationship": { + "subject": "VSTEST", + "linkingPhrase": "decodes the value in", + "predicateTerm": "DECODES", + "object": "VSTESTCD" + }, + "mandatoryVariable": true, + "mandatoryValue": false + }, + { + "name": "VSORRES", + "dataElementConceptId": "C70856", + "isNonStandard": false, + "role": "Qualifier", + "dataType": "integer", + "length": 3, + "relationship": { + "subject": "VSORRES", + "linkingPhrase": "is the result of the test in", + "predicateTerm": "IS_RESULT_OF", + "object": "VSTESTCD" + }, + "mandatoryVariable": true, + "mandatoryValue": false, + "originType": "Collected", + "originSource": "Investigator", + "vlmTarget": true + }, + { + "name": "VSORRESU", + "dataElementConceptId": "C49669", + "isNonStandard": false, + "codelist": { + "conceptId": "C66770", + "submissionValue": "VSRESU", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C66770" + }, + "assignedTerm": { + "conceptId": "C49670", + "value": "mmHg" + }, + "role": "Qualifier", + "relationship": { + "subject": "VSORRESU", + "linkingPhrase": "is the unit for the value in", + "predicateTerm": "IS_UNIT_FOR", + "object": "VSORRES" + }, + "mandatoryVariable": true, + "mandatoryValue": false, + "vlmTarget": true + }, + { + "name": "VSSTRESC", + "dataElementConceptId": "C70856", + "isNonStandard": false, + "role": "Qualifier", + "dataType": "integer", + "length": 3, + "relationship": { + "subject": "VSSTRESC", + "linkingPhrase": "is the result of the test in", + "predicateTerm": "IS_RESULT_OF", + "object": "VSTESTCD" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "vlmTarget": true + }, + { + "name": "VSSTRESN", + "dataElementConceptId": "C70856", + "isNonStandard": false, + "role": "Qualifier", + "dataType": "integer", + "length": 3, + "relationship": { + "subject": "VSSTRESN", + "linkingPhrase": "is the result of the test in", + "predicateTerm": "IS_RESULT_OF", + "object": "VSTESTCD" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "vlmTarget": true + }, + { + "name": "VSSTRESU", + "dataElementConceptId": "C49669", + "isNonStandard": false, + "codelist": { + "conceptId": "C66770", + "submissionValue": "VSRESU", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C66770" + }, + "assignedTerm": { + "conceptId": "C49670", + "value": "mmHg" + }, + "role": "Qualifier", + "relationship": { + "subject": "VSSTRESU", + "linkingPhrase": "is the unit for the value in", + "predicateTerm": "IS_UNIT_FOR", + "object": "VSSTRESN" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "vlmTarget": true + }, + { + "name": "VSPOS", + "dataElementConceptId": "C62164", + "isNonStandard": false, + "codelist": { + "conceptId": "C71148", + "submissionValue": "POSITION", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C71148" + }, + "valueList": [ + "PRONE", + "SEMI-RECUMBENT", + "SITTING", + "STANDING", + "SUPINE" + ], + "role": "Qualifier", + "relationship": { + "subject": "VSPOS", + "linkingPhrase": "is the subject position during performance of the test in", + "predicateTerm": "IS_SUBJECT_STATE_FOR", + "object": "VSTESTCD" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "comparator": "IN" + }, + { + "name": "VSLOC", + "dataElementConceptId": "C13717", + "isNonStandard": false, + "codelist": { + "conceptId": "C74456", + "submissionValue": "LOC", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C74456" + }, + "valueList": [ + "BRACHIAL ARTERY", + "CAROTID ARTERY", + "DORSALIS PEDIS ARTERY", + "FEMORAL ARTERY", + "FINGER", + "PERIPHERAL ARTERY", + "RADIAL ARTERY" + ], + "role": "Qualifier", + "relationship": { + "subject": "VSLOC", + "linkingPhrase": "specifies the anatomical location of the performance of the test in", + "predicateTerm": "SPECIFIES", + "object": "VSTESTCD" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "comparator": "IN" + }, + { + "name": "VSLAT", + "dataElementConceptId": "C25185", + "isNonStandard": false, + "codelist": { + "conceptId": "C99073", + "submissionValue": "LAT", + "href": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C99073" + }, + "subsetCodelist": "VSLAT_BP", + "valueList": [ + "LEFT", + "RIGHT" + ], + "role": "Qualifier", + "relationship": { + "subject": "VSLAT", + "linkingPhrase": "further specifies the anatomical location in", + "predicateTerm": "SPECIFIES", + "object": "VSLOC" + }, + "mandatoryVariable": false, + "mandatoryValue": false, + "comparator": "IN" + }, + { + "name": "VSDTC", + "dataElementConceptId": "C82515", + "isNonStandard": false, + "role": "Timing", + "relationship": { + "subject": "VSDTC", + "linkingPhrase": "is the date of occurrence for", + "predicateTerm": "IS_TIMING_FOR", + "object": "VSTESTCD" + }, + "mandatoryVariable": true, + "mandatoryValue": false + } + ] +} +``` + +## Assign Biomedical Concept Surrogate to an Activity + +When a Biomedical Concept does not exist in the Library, there is a facility to create a Surrogate Concept to link to an Activity. + +The USDM Implementation Guide describes Biomedical Concept Surrogates as: + +_Surrogate BCs are a +placeholder mechanism for when a BC definition is not available. This allows the name of a test to be specified but +no further detail need be provided. Surrogates can contain a name and description pair for the concept required. A +reference field is also provided to allow for links to reference materials (e.g., a URL for an external resource)._ + +In order to map a Surrogate to an Activity, first create the Surrogate. + +![Define Surrogates](../images/image-6.png) + +Once created, these Surrogates can be added to a Scheduled Activity Instance in the same way as Biomedical Concepts. + +![Surrogate selection box](../images/image-7.png) + +![Choose from list of defined Surrogates](../images/image-8.png) + +![Surrogates linked to Activity](../images/image-10.png) + +These Surrogates are shown in the USDM JSON associated with their Scheduled Activity Instances. + +```JSON +{ + "id": "Activity_8", + "extensionAttributes": [], + "name": "CHEMISTRY LABS", + "label": "Serum Creatinine, Electrolytes (K, Na, Cl, CO2), Ca, BUN, Albumin, Total Protein, Phosphorus, AST (SGOT), ALT (SGPT), Alkaline Phosphatase, Total Bilirubin, Magnesium, Uric Acid.", + "description": "Serum Creatinine, Electrolytes (K, Na, Cl, CO2), Ca, BUN, Albumin, Total Protein, Phosphorus, AST (SGOT), ALT (SGPT), Alkaline Phosphatase, Total Bilirubin, Magnesium, Uric Acid.", + "previousId": "Activity_24", + "nextId": "Activity_25", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_18", + "BiomedicalConcept_19", + "BiomedicalConcept_20", + "BiomedicalConcept_21", + "BiomedicalConcept_22", + "BiomedicalConcept_64", + "BiomedicalConcept_65", + "BiomedicalConcept_66", + "BiomedicalConcept_67", + "BiomedicalConcept_68", + "BiomedicalConcept_69", + "BiomedicalConcept_70", + "BiomedicalConcept_71", + "BiomedicalConcept_72" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_1", + "BiomedicalConceptSurrogate_8" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, +``` + +```JSON +"bcSurrogates": [ + { + "id": "BiomedicalConceptSurrogate_1", + "extensionAttributes": [], + "name": "Magnesium Measurement", + "label": "Magnesium Measurement (C64840)", + "description": "A quantitative measurement of the amount of magnesium present in a sample.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C64840", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, +``` + +Since there is no C Code associated with the Biomedical Concept Surrogate, there are no corresponding Data Set Specialization defined so there is no automagic mapping as seen with the Library Biomedical Concepts. + + + + + diff --git a/files/NCT01797120_Footnote_1.html b/files/NCT01797120_Footnote_1.html new file mode 100644 index 00000000..28da54c1 --- /dev/null +++ b/files/NCT01797120_Footnote_1.html @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
a:≤ 4 weeks of randomization; if assessments required ≤ 7 days of Cycle 1 Day 1 (C1D1), they do not need to be repeated (includes labs).
b:≤ 7 days prior to the start of C1D1.
c:+/- 72 hour window allowed prior to D1 of each subsequent cycle after the first cycle for scheduled therapy/tests/visits. Delay due to holidays, weekends, +bad weather or other unforeseen circumstances will be permitted.
d:In the event of grade 3 or 4 hematologic toxicity, CBC with differential and platelet count will be obtained every 1-3 days until there is evidence of +hematologic recovery.
e:+/- 72 hours prior to Cycle 2 Day 1 then approximately every 12 weeks during treatment (and more frequently as clinically indicated), and at end of +treatment.
f:All patients should be screened for hepatitis risk factors and any past illnesses of hepatitis B and hepatitis C infection (see Section 7.1.1). All patients with a +positive medical history per Section 7.1.1 need hepatitis testing as noted on above table. It is highly recommended that patients positive for HBV-DNA or +HBsAg are treated prophylactically with an antiviral (e.g., Lamivudine) for 1-2 weeks prior to receiving study drug (see Table 5-3). The antiviral treatment +should continue throughout the entire study period and for at least 4 weeks after the last dose of everolimus.
g:Patients on antiviral prophylaxis treatment or positive HBV antibodies should be tested for HBV-DNA ≤ 7 days prior to the start of C1D1 and +/- 72 hrs prior +to D1 of each subsequent cycle to monitor for reactivation. See Table 5-4 for reactivation instructions.
h:Patients with positive HCV RNA-PCR results at screening and/or a history of past infection (even if treated and considered ‘cured’) should have HCV RNA- +PCR testing performed on ≤ 7 days prior to the start of C1D1 and +/- 72 hrs prior to D1 of each subsequent cycle to monitor for flare. Everolimus must be +discontinued if HCV flare is confirmed according to the guidance in Table 5-5.
i:Tumor measurements may be made using physical examination, CT Scans or MRI. Tumor assessments will be performed every 12 weeks, +/- 1 week +(every 3 months). Imaging will include chest and abdomen. Bone Scans and Brain CT/MRI may be performed as clinically indicated. Scans do not have to be +repeated once disease progression is documented.
j:Adverse events related to fulvestrant and/or everolimus/placebo will be followed for 30 days after the last dose of study therapy (fulvestrant and/or +everolimus/placebo) or until ≤ grade 1 or if the grade is >1, the event must be permanent and stable. Please note- Serious adverse events >30 days after last +dose of fulvestrant and/or everolimus/placebo are not reported unless the event may be related to everolimus/placebo.
k:CBC and chemistry may be used to assess ongoing toxicity but are not required in the Continuation Phase for patients who receive fulvestrant alone. +Patients who continue fulvestrant with everolimus should periodically have CBC, chemistries, fasting glucose, fasting lipids, HBV DNA, HCV RNA-PCR per +labeling guidelines.
l:Study Drug Compliance (Pill Diary) for those patients who receive everolimus in the Continuation Phase.
m:All patients including those that discontinue protocol therapy will be followed for 3 years from the time of randomization. Patients that have not progressed +during the Induction or Continuation Phase will continue to have imaging scans completed every 12 weeks, +/- 1 week (every 3 months) until documented +progression.
n:PFTs with DLCO as medically indicated only, (PFTs are not otherwise required during course of study).
o:Follow every 3 months for disease progression and survival. Initiation of any new systemic therapy will also be documented
\ No newline at end of file diff --git a/files/NCT01797120_Footnote_2.html b/files/NCT01797120_Footnote_2.html new file mode 100644 index 00000000..cb3f82cd --- /dev/null +++ b/files/NCT01797120_Footnote_2.html @@ -0,0 +1,17 @@ + + + + + + + + + + + + + +
*Cycle 1, Day 1 is defined as the first day on which fulvestrant is given in combination with placebo/everolimus (the second fulvestrant dose is given on day 15 +of the first cycle only). Day 1 of each additional cycle is defined as the day in which fulvestrant is given in combination with everolimus/placebo.
^End of Induction/End of Treatment should be performed within 30 days of last dose of fulvestrant.
£Continuation Phase: Patients in the Continuation Phase should continue to receive fulvestrant alone (if originally randomized to placebo) or in combination +with everolimus (if originally randomized to everolimus) at the same dose and schedule (+/- 1 week window for scheduled therapy/tests/visits; delays due to +holidays, weekends, bad weather or other unforeseen circumstances will be permitted) until disease progression or unacceptable toxicity.
\ No newline at end of file diff --git a/images/image-1.png b/images/image-1.png new file mode 100644 index 00000000..24b02b02 Binary files /dev/null and b/images/image-1.png differ diff --git a/images/image-10.png b/images/image-10.png new file mode 100644 index 00000000..5ebda170 Binary files /dev/null and b/images/image-10.png differ diff --git a/images/image-2.png b/images/image-2.png new file mode 100644 index 00000000..24b02b02 Binary files /dev/null and b/images/image-2.png differ diff --git a/images/image-3.png b/images/image-3.png new file mode 100644 index 00000000..8a84c994 Binary files /dev/null and b/images/image-3.png differ diff --git a/images/image-4.png b/images/image-4.png new file mode 100644 index 00000000..60b79db6 Binary files /dev/null and b/images/image-4.png differ diff --git a/images/image-5.png b/images/image-5.png new file mode 100644 index 00000000..0023bc91 Binary files /dev/null and b/images/image-5.png differ diff --git a/images/image-6.png b/images/image-6.png new file mode 100644 index 00000000..39eae0d6 Binary files /dev/null and b/images/image-6.png differ diff --git a/images/image-7.png b/images/image-7.png new file mode 100644 index 00000000..ea696d22 Binary files /dev/null and b/images/image-7.png differ diff --git a/images/image-8.png b/images/image-8.png new file mode 100644 index 00000000..c371721c Binary files /dev/null and b/images/image-8.png differ diff --git a/images/image-9.png b/images/image-9.png new file mode 100644 index 00000000..9551b989 Binary files /dev/null and b/images/image-9.png differ diff --git a/images/image.png b/images/image.png new file mode 100644 index 00000000..9ffe703e Binary files /dev/null and b/images/image.png differ diff --git a/output/json/NCT01797120.json b/output/json/NCT01797120.json new file mode 100644 index 00000000..5c41cb2a --- /dev/null +++ b/output/json/NCT01797120.json @@ -0,0 +1,14392 @@ +{ + "study": { + "id": null, + "extensionAttributes": [], + "name": "NCT01797120", + "description": "Post-menopausal women with hormone-receptor positive (HR+) metastatic breast cancer resistant to aromatase inhibitor (AI) therapy will be randomized to receive Fulvestrant (Faslodex) with Everolimus or Fulvestrant (Faslodex) with a placebo (no active ingredients).\r\n\r\nFulvestrant has demonstrated activity when used as first, second, or third line endocrine therapy, making it an attractive therapy for combination with other agents. In addition, it is commonly reserved for use following disease progression on AI therapy.\r\n\r\nEverolimus is an orally administered drug that blocks a signaling pathway called \"mTOR\". \"mTOR\" acts as a regulator for many processes in the body, including cell growth. Blocking this pathway may have an effect on cell growth.\r\n\r\nThe combination of a novel class of agents (mTOR inhibitors) and an established standard treatment for metastatic HR+ breast cancer may potentially increase the clinical benefit by targeting multiple different biological pathways.", + "label": "Phase II - Hormone-receptor positive (HR+) metastatic breast cancer resistant to aromatase inhibitor (AI)", + "versions": [ + { + "id": "StudyVersion_1", + "extensionAttributes": [], + "versionIdentifier": "1", + "rationale": "", + "studyIdentifiers": [ + { + "id": "StudyIdentifier_1", + "extensionAttributes": [], + "text": "NCT01797120", + "scopeId": "", + "instanceType": "StudyIdentifier" + } + ], + "referenceIdentifiers": [], + "studyDesigns": [ + { + "id": "InterventionalStudyDesign_1", + "extensionAttributes": [], + "name": "Study of Fulvestrant +/\u200b- Everolimus in Post-Menopausal, Hormone-Receptor + Metastatic Breast Ca Resistant to AI (PrE0102)", + "label": "Phase II - Hormone-receptor positive (HR+) metastatic breast cancer resistant to aromatase inhibitor (AI)", + "description": "Post-menopausal women with hormone-receptor positive (HR+) metastatic breast cancer resistant to aromatase inhibitor (AI) therapy will be randomized to receive Fulvestrant (Faslodex) with Everolimus or Fulvestrant (Faslodex) with a placebo (no active ingredients).\r\n\r\nFulvestrant has demonstrated activity when used as first, second, or third line endocrine therapy, making it an attractive therapy for combination with other agents. In addition, it is commonly reserved for use following disease progression on AI therapy.\r\n\r\nEverolimus is an orally administered drug that blocks a signaling pathway called \"mTOR\". \"mTOR\" acts as a regulator for many processes in the body, including cell growth. Blocking this pathway may have an effect on cell growth.\r\n\r\nThe combination of a novel class of agents (mTOR inhibitors) and an established standard treatment for metastatic HR+ breast cancer may potentially increase the clinical benefit by targeting multiple different biological pathways.", + "studyType": null, + "studyPhase": null, + "therapeuticAreas": [], + "characteristics": [], + "encounters": [ + { + "id": "Encounter_1", + "extensionAttributes": [], + "name": "PRE-STUDY", + "label": "Pre-Study", + "description": "Occuring before Randomization and Treatment", + "type": { + "id": "Code_485", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": null, + "nextId": "Encounter_2", + "scheduledAt": "Timing_1", + "environmentSettings": [ + { + "id": "Code_486", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_487", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": { + "id": "TransitionRule_1", + "extensionAttributes": [], + "name": "Start Screening Period", + "label": "Start Screening Period", + "description": "Start of Pre-treatment eligibility window", + "text": "Screening window starts 28 days prior to treatment", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_2", + "extensionAttributes": [], + "name": "End Screening Period", + "label": "End Screening Period", + "description": "End of Screening Window", + "text": "Screening window ends a maximum of 28 days after start", + "instanceType": "TransitionRule" + }, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_2", + "extensionAttributes": [], + "name": "C1D1", + "label": "Cycle 1 Day 1", + "description": "First day of treatment in the first cycle", + "type": { + "id": "Code_488", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_1", + "nextId": "Encounter_3", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_489", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_490", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": { + "id": "TransitionRule_3", + "extensionAttributes": [], + "name": "Start Study Drug Treatment Period", + "label": "Start Study Drug Treatment Period", + "description": "Fulvestrant + Everolimus; continues until Progressive Disease, unacceptable toxicity, or withdrawal", + "text": "Occurs for at least one cycle and continues until Disease Progression in study drug treatment Arm", + "instanceType": "TransitionRule" + }, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_3", + "extensionAttributes": [], + "name": "C1D15", + "label": "Cycle 1 Day 15", + "description": "Second treament in the first cycle on day 15", + "type": { + "id": "Code_491", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_2", + "nextId": "Encounter_4", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_492", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_493", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": null, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_4", + "extensionAttributes": [], + "name": "CXD1", + "label": "Next Cycle Day 1", + "description": "Each subsequent Cycle Day 1", + "type": { + "id": "Code_494", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_3", + "nextId": "Encounter_5", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_495", + "extensionAttributes": [], + "code": "C18002", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "HOME", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_496", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": null, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_5", + "extensionAttributes": [], + "name": "P12W", + "label": "Every 12 Weeks", + "description": "Assessment carried out every 12 weeks", + "type": { + "id": "Code_497", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_4", + "nextId": "Encounter_6", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_498", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_499", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": null, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_6", + "extensionAttributes": [], + "name": "EOT", + "label": "End of Treatment", + "description": "End of Induction Phase or End of Treatment", + "type": { + "id": "Code_500", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_5", + "nextId": "Encounter_7", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_501", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_502", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": { + "id": "TransitionRule_4", + "extensionAttributes": [], + "name": "End Study Drug Treatment Period", + "label": "End Study Drug Treatment Period", + "description": "Fulvestrant + Everolimus; continues until PD, unacceptable toxicity, or withdrawal", + "text": "Occurs when Progressive Disease, unacceptable toxicity, or withdrawal in study drug treatment Arm", + "instanceType": "TransitionRule" + }, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_7", + "extensionAttributes": [], + "name": "CPHASE", + "label": "Continuation Phase", + "description": null, + "type": { + "id": "Code_503", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_6", + "nextId": "Encounter_8", + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_504", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_505", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": null, + "transitionEndRule": null, + "notes": [], + "instanceType": "Encounter" + }, + { + "id": "Encounter_8", + "extensionAttributes": [], + "name": "FU", + "label": "Follow-Up", + "description": "Foolow-up off therapy", + "type": { + "id": "Code_506", + "extensionAttributes": [], + "code": "C25716", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "2025-09-26", + "decode": "Visit", + "instanceType": "Code" + }, + "previousId": "Encounter_7", + "nextId": null, + "scheduledAt": null, + "environmentSettings": [ + { + "id": "Code_507", + "extensionAttributes": [], + "code": "C211570", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "CLINIC", + "instanceType": "Code" + } + ], + "contactModes": [ + { + "id": "Code_508", + "extensionAttributes": [], + "code": "C175574", + "codeSystem": "/mdr/ct/packages/sdtmct-2025-09-26", + "codeSystemVersion": "2025-09-26", + "decode": "IN PERSON", + "instanceType": "Code" + } + ], + "transitionStartRule": { + "id": "TransitionRule_7", + "extensionAttributes": [], + "name": "Start Follow-up Period", + "label": "Start Follow-up Period", + "description": "Survival and long-term safety data collection", + "text": "Occurs when subject finishes treatment", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_8", + "extensionAttributes": [], + "name": "End Follow-up Period", + "label": "End Follow-up Period", + "description": "Survival and long-term safety data collection", + "text": "Occurs with subject death or End-of-Study", + "instanceType": "TransitionRule" + }, + "notes": [], + "instanceType": "Encounter" + } + ], + "activities": [ + { + "id": "Activity_2", + "extensionAttributes": [], + "name": "ELIGIBILITY ASSESSMENT", + "label": "Eligibility Assessment", + "description": "Determine subject meets eligibility requirements", + "previousId": null, + "nextId": "Activity_1", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_2" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_1", + "extensionAttributes": [], + "name": "INFORMED CONSENT", + "label": "Informed Consent", + "description": "Informed Consent collected", + "previousId": "Activity_2", + "nextId": "Activity_19", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_1" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_19", + "extensionAttributes": [], + "name": "RANDOMIZATION", + "label": "Randomization", + "description": "Randomization", + "previousId": "Activity_1", + "nextId": "Activity_3", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_51" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_3", + "extensionAttributes": [], + "name": "MEDICAL HISTORY", + "label": "Medical History", + "description": "Medical History & Assessment of Baseline Signs and Symptoms", + "previousId": "Activity_19", + "nextId": "Activity_5", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_3", + "BiomedicalConcept_4" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_5", + "extensionAttributes": [], + "name": "PHYSICAL EXAM", + "label": "Physical Examination", + "description": "Physical Examination", + "previousId": "Activity_3", + "nextId": "Activity_18", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_6" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_18", + "extensionAttributes": [], + "name": "CONCOMITANT MEDS", + "label": "Concomitant Medications", + "description": "Concomitant Medications", + "previousId": "Activity_5", + "nextId": "Activity_6", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_49", + "BiomedicalConcept_50" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_6", + "extensionAttributes": [], + "name": "VITAL SIGNS", + "label": "Vital Signs", + "description": "Vital Signs (Blood Pressure, Heart Rate, Temperature) and Weight", + "previousId": "Activity_18", + "nextId": "Activity_4", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_7", + "BiomedicalConcept_8", + "BiomedicalConcept_9", + "BiomedicalConcept_10", + "BiomedicalConcept_11" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_4", + "extensionAttributes": [], + "name": "ECOG PERFORMANCE STATUS", + "label": "ECOG Performance Status", + "description": "ECOG performance status", + "previousId": "Activity_6", + "nextId": "Activity_17", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_5", + "BiomedicalConcept_60" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_17", + "extensionAttributes": [], + "name": "ADVERSE EVENTS ASSESSMENTS", + "label": "Adverse Event Assessment", + "description": "Adverse Event Assessment", + "previousId": "Activity_4", + "nextId": "Activity_22", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_47", + "BiomedicalConcept_48" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_22", + "extensionAttributes": [], + "name": "IMAGING SCANS", + "label": "Imaging Scans", + "description": "Tumor imaging scans", + "previousId": "Activity_17", + "nextId": "Activity_23", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_73", + "BiomedicalConcept_74", + "BiomedicalConcept_75", + "BiomedicalConcept_76", + "BiomedicalConcept_77" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_23", + "extensionAttributes": [], + "name": "PT/INR", + "label": "PT with INR", + "description": "prothrombin time and international normalized ratio", + "previousId": "Activity_22", + "nextId": "Activity_10", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_52", + "BiomedicalConcept_53", + "BiomedicalConcept_54" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_10", + "extensionAttributes": [], + "name": "URINALYSIS", + "label": "Urinalysis Labs", + "description": "Urinalysis Labs", + "previousId": "Activity_23", + "nextId": "Activity_24", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_26", + "BiomedicalConcept_27", + "BiomedicalConcept_28" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_24", + "extensionAttributes": [], + "name": "CBC", + "label": "CBC with differentials, Platelets", + "description": "CBC with differentials, Platelets", + "previousId": "Activity_10", + "nextId": "Activity_8", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_61", + "BiomedicalConcept_62", + "BiomedicalConcept_63" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_8", + "extensionAttributes": [], + "name": "CHEMISTRY LABS", + "label": "Serum Creatinine, Electrolytes (K, Na, Cl, CO2), Ca, BUN, Albumin, Total Protein, Phosphorus, AST (SGOT), ALT (SGPT), Alkaline Phosphatase, Total Bilirubin, Magnesium, Uric Acid.", + "description": "Serum Creatinine, Electrolytes (K, Na, Cl, CO2), Ca, BUN, Albumin, Total Protein, Phosphorus, AST (SGOT), ALT (SGPT), Alkaline Phosphatase, Total Bilirubin, Magnesium, Uric Acid.", + "previousId": "Activity_24", + "nextId": "Activity_25", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_18", + "BiomedicalConcept_19", + "BiomedicalConcept_20", + "BiomedicalConcept_21", + "BiomedicalConcept_22", + "BiomedicalConcept_64", + "BiomedicalConcept_65", + "BiomedicalConcept_66", + "BiomedicalConcept_67", + "BiomedicalConcept_68", + "BiomedicalConcept_69", + "BiomedicalConcept_70", + "BiomedicalConcept_71", + "BiomedicalConcept_72" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_1", + "BiomedicalConceptSurrogate_8" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_25", + "extensionAttributes": [], + "name": "GLUCOSE", + "label": "Fasting Glucose", + "description": "Fasting Glucose", + "previousId": "Activity_8", + "nextId": "Activity_26", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_55" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_26", + "extensionAttributes": [], + "name": "LIPID PROFILE", + "label": "Fasting serum Lipid Profile (triglycerides, total cholesterol, HDL and LDL)", + "description": "Fasting serum Lipid Profile (triglycerides, total cholesterol, HDL and LDL)", + "previousId": "Activity_25", + "nextId": "Activity_27", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [ + "BiomedicalConcept_56", + "BiomedicalConcept_57", + "BiomedicalConcept_58", + "BiomedicalConcept_59" + ], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_27", + "extensionAttributes": [], + "name": "HBV-DNA-1", + "label": "HBV-DNA, HbsAg, HBsAb, HBcAb, HCV- RNA-PCR", + "description": "HBV-DNA, HbsAg, HBsAb, HBcAb, HCV- RNA-PCR", + "previousId": "Activity_26", + "nextId": "Activity_28", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_2", + "BiomedicalConceptSurrogate_3", + "BiomedicalConceptSurrogate_4", + "BiomedicalConceptSurrogate_5", + "BiomedicalConceptSurrogate_6" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_28", + "extensionAttributes": [], + "name": "HBV-DNA-2", + "label": "HBV DNA", + "description": "HBV DNA", + "previousId": "Activity_27", + "nextId": "Activity_29", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_2" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_29", + "extensionAttributes": [], + "name": "HCV", + "label": "HCV RNA-PCR", + "description": "HCV RNA-PCR", + "previousId": "Activity_28", + "nextId": "Activity_30", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_6" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_30", + "extensionAttributes": [], + "name": "COMPLIANCE", + "label": "Study Drug Compliance (Pill Diary)", + "description": "Study Drug Compliance (Pill Diary)", + "previousId": "Activity_29", + "nextId": "Activity_31", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_31", + "extensionAttributes": [], + "name": "PFTS", + "label": "PFTs with DLCO as medically indicatedn", + "description": "PFTs with DLCO as medically indicatedn", + "previousId": "Activity_30", + "nextId": "Activity_21", + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [ + "BiomedicalConceptSurrogate_7" + ], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + }, + { + "id": "Activity_21", + "extensionAttributes": [], + "name": "Survival Follow-up", + "label": "Survival Follow-up", + "description": "Survival Follow-up occurs (every 3 months)", + "previousId": "Activity_31", + "nextId": null, + "childIds": [], + "definedProcedures": [], + "biomedicalConceptIds": [], + "bcCategoryIds": [], + "bcSurrogateIds": [], + "timelineId": null, + "notes": [], + "instanceType": "Activity" + } + ], + "arms": [ + { + "id": "StudyArm_1", + "extensionAttributes": [], + "name": "Fulvestrant + Everolimus", + "label": "Fulvestrant + Everolimus", + "description": "Fulvestrant 500mg IM Q28D (loading D1/D15) + Everolimus 10mg PO QD", + "type": { + "id": "Code_4", + "extensionAttributes": [], + "code": "C174266", + "codeSystem": "db://db://protocol_terminology", + "codeSystemVersion": "2025-09-26", + "decode": "Experimental Arm", + "instanceType": "Code" + }, + "dataOriginDescription": "Data collected from subjects", + "dataOriginType": { + "id": "Code_5", + "extensionAttributes": [], + "code": "C188866", + "codeSystem": "db://db://ddf_terminology", + "codeSystemVersion": "2025-09-26", + "decode": "Data Generated Within Study", + "instanceType": "Code" + }, + "populationIds": [], + "notes": [], + "instanceType": "StudyArm" + }, + { + "id": "StudyArm_2", + "extensionAttributes": [], + "name": "Fulvestrant + Placebo", + "label": "Fulvestrant + Placebo", + "description": "Fulvestrant 500mg IM Q28D (loading D1/D15) + Placebo PO QD", + "type": { + "id": "Code_6", + "extensionAttributes": [], + "code": "C174267", + "codeSystem": "db://db://protocol_terminology", + "codeSystemVersion": "2025-09-26", + "decode": "Active Comparator Arm", + "instanceType": "Code" + }, + "dataOriginDescription": "Data collected from subjects", + "dataOriginType": { + "id": "Code_7", + "extensionAttributes": [], + "code": "C188866", + "codeSystem": "db://db://ddf_terminology", + "codeSystemVersion": "2025-09-26", + "decode": "Data Generated Within Study", + "instanceType": "Code" + }, + "populationIds": [], + "notes": [], + "instanceType": "StudyArm" + } + ], + "studyCells": [ + { + "id": "StudyCell_1", + "extensionAttributes": [], + "armId": "StudyArm_1", + "epochId": "StudyEpoch_1", + "elementIds": [ + "StudyElement_1" + ], + "instanceType": "StudyCell" + }, + { + "id": "StudyCell_2", + "extensionAttributes": [], + "armId": "StudyArm_1", + "epochId": "StudyEpoch_2", + "elementIds": [ + "StudyElement_2" + ], + "instanceType": "StudyCell" + }, + { + "id": "StudyCell_3", + "extensionAttributes": [], + "armId": "StudyArm_1", + "epochId": "StudyEpoch_3", + "elementIds": [ + "StudyElement_4" + ], + "instanceType": "StudyCell" + }, + { + "id": "StudyCell_4", + "extensionAttributes": [], + "armId": "StudyArm_2", + "epochId": "StudyEpoch_1", + "elementIds": [ + "StudyElement_1" + ], + "instanceType": "StudyCell" + }, + { + "id": "StudyCell_5", + "extensionAttributes": [], + "armId": "StudyArm_2", + "epochId": "StudyEpoch_2", + "elementIds": [ + "StudyElement_3" + ], + "instanceType": "StudyCell" + }, + { + "id": "StudyCell_6", + "extensionAttributes": [], + "armId": "StudyArm_2", + "epochId": "StudyEpoch_3", + "elementIds": [ + "StudyElement_4" + ], + "instanceType": "StudyCell" + } + ], + "rationale": "", + "epochs": [ + { + "id": "StudyEpoch_1", + "extensionAttributes": [], + "name": "Pre-Study Phase", + "label": "Pre-Study Phase", + "description": "Eligibility assessment, up to 28 days prior to C1D1", + "type": { + "id": "Code_1", + "extensionAttributes": [], + "code": "C202487", + "codeSystem": "https://library.cdisc.org", + "codeSystemVersion": "sdtmct-2025-09-26", + "decode": "SCREENING", + "instanceType": "Code" + }, + "previousId": null, + "nextId": "StudyEpoch_2", + "notes": [], + "instanceType": "StudyEpoch" + }, + { + "id": "StudyEpoch_2", + "extensionAttributes": [], + "name": "Induction Phase", + "label": "Induction Phase", + "description": "From C1D1 until disease progression or discontinuation", + "type": { + "id": "Code_2", + "extensionAttributes": [], + "code": "C101526", + "codeSystem": "https://library.cdisc.org", + "codeSystemVersion": "sdtmct-2025-09-26", + "decode": "TREATMENT", + "instanceType": "Code" + }, + "previousId": "StudyEpoch_1", + "nextId": "StudyEpoch_4", + "notes": [], + "instanceType": "StudyEpoch" + }, + { + "id": "StudyEpoch_4", + "extensionAttributes": [], + "name": "Continuation Phase", + "label": "Continuation Phase", + "description": "Continuation Phase (until progression or unacceptable toxicity", + "type": { + "id": "Code_813", + "extensionAttributes": [], + "code": "C123452", + "codeSystem": "https://library.cdisc.org", + "codeSystemVersion": "sdtmct-2025-09-26", + "decode": "CONTINUATION TREATMENT", + "instanceType": "Code" + }, + "previousId": "StudyEpoch_2", + "nextId": "StudyEpoch_3", + "notes": [], + "instanceType": "StudyEpoch" + }, + { + "id": "StudyEpoch_3", + "extensionAttributes": [], + "name": "Follow-up Off Therapy", + "label": "Follow-up, off therapy", + "description": "Post-EOT survival and safety follow-up", + "type": { + "id": "Code_3", + "extensionAttributes": [], + "code": "C202578", + "codeSystem": "https://library.cdisc.org", + "codeSystemVersion": "sdtmct-2025-09-26", + "decode": "FOLLOW-UP", + "instanceType": "Code" + }, + "previousId": "StudyEpoch_4", + "nextId": null, + "notes": [], + "instanceType": "StudyEpoch" + } + ], + "elements": [ + { + "id": "StudyElement_1", + "extensionAttributes": [], + "name": "Screening Period", + "label": "Screening Period", + "description": "Pre-treatment eligibility window", + "transitionStartRule": { + "id": "TransitionRule_1", + "extensionAttributes": [], + "name": "Start Screening Period", + "label": "Start Screening Period", + "description": "Start of Pre-treatment eligibility window", + "text": "Screening window starts 28 days prior to treatment", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_2", + "extensionAttributes": [], + "name": "End Screening Period", + "label": "End Screening Period", + "description": "End of Screening Window", + "text": "Screening window ends a maximum of 28 days after start", + "instanceType": "TransitionRule" + }, + "studyInterventionIds": [], + "notes": [], + "instanceType": "StudyElement" + }, + { + "id": "StudyElement_2", + "extensionAttributes": [], + "name": "Everolimus Treatment Period", + "label": "Everolimus Treatment Period", + "description": "Fulvestrant + Everolimus; continues until PD, unacceptable toxicity, or withdrawal", + "transitionStartRule": { + "id": "TransitionRule_3", + "extensionAttributes": [], + "name": "Start Study Drug Treatment Period", + "label": "Start Study Drug Treatment Period", + "description": "Fulvestrant + Everolimus; continues until Progressive Disease, unacceptable toxicity, or withdrawal", + "text": "Occurs for at least one cycle and continues until Disease Progression in study drug treatment Arm", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_4", + "extensionAttributes": [], + "name": "End Study Drug Treatment Period", + "label": "End Study Drug Treatment Period", + "description": "Fulvestrant + Everolimus; continues until PD, unacceptable toxicity, or withdrawal", + "text": "Occurs when Progressive Disease, unacceptable toxicity, or withdrawal in study drug treatment Arm", + "instanceType": "TransitionRule" + }, + "studyInterventionIds": [], + "notes": [], + "instanceType": "StudyElement" + }, + { + "id": "StudyElement_3", + "extensionAttributes": [], + "name": "Placebo Treatment Period", + "label": "Placebo Treatment Period", + "description": "Fulvestrant + Placebo; continues until PD, unacceptable toxicity, or withdrawal", + "transitionStartRule": { + "id": "TransitionRule_5", + "extensionAttributes": [], + "name": "Start Placebo Treatment Period", + "label": "Start Placebo Treatment Period", + "description": "Fulvestrant + Placebo; continues until PD, unacceptable toxicity, or withdrawal", + "text": "Occurs for at least one treament cycle with Placebo and continues until Disease Progression in Placebo Arm", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_6", + "extensionAttributes": [], + "name": "End Placebo Treament Period", + "label": "End Placebo Treament Period", + "description": "Fulvestrant + Placebo; continues until PD, unacceptable toxicity, or withdrawal", + "text": "Occurs when Progressive Disease, unacceptable toxicity, or withdrawal in Placebo Arm", + "instanceType": "TransitionRule" + }, + "studyInterventionIds": [], + "notes": [], + "instanceType": "StudyElement" + }, + { + "id": "StudyElement_4", + "extensionAttributes": [], + "name": "Follow-Up Period", + "label": "Follow-Up Period", + "description": "Survival and long-term safety data collection", + "transitionStartRule": { + "id": "TransitionRule_7", + "extensionAttributes": [], + "name": "Start Follow-up Period", + "label": "Start Follow-up Period", + "description": "Survival and long-term safety data collection", + "text": "Occurs when subject finishes treatment", + "instanceType": "TransitionRule" + }, + "transitionEndRule": { + "id": "TransitionRule_8", + "extensionAttributes": [], + "name": "End Follow-up Period", + "label": "End Follow-up Period", + "description": "Survival and long-term safety data collection", + "text": "Occurs with subject death or End-of-Study", + "instanceType": "TransitionRule" + }, + "studyInterventionIds": [], + "notes": [], + "instanceType": "StudyElement" + } + ], + "estimands": [], + "indications": [], + "studyInterventionIds": [], + "objectives": [], + "population": { + "id": "StudyDesignPopulation_1", + "extensionAttributes": [], + "name": "", + "label": null, + "description": null, + "includesHealthySubjects": false, + "plannedEnrollmentNumber": null, + "plannedCompletionNumber": null, + "plannedSex": [], + "criterionIds": [], + "plannedAge": null, + "notes": [], + "cohorts": [], + "instanceType": "StudyDesignPopulation" + }, + "scheduleTimelines": [], + "biospecimenRetentions": [], + "documentVersionIds": [], + "eligibilityCriteria": [], + "analysisPopulations": [], + "notes": [], + "subTypes": [], + "model": { + "id": "Code_StudyDesignModel", + "extensionAttributes": [], + "code": "", + "codeSystem": "", + "codeSystemVersion": "", + "decode": "", + "instanceType": "Code" + }, + "intentTypes": [], + "blindingSchema": null, + "instanceType": "InterventionalStudyDesign" + } + ], + "titles": [ + { + "id": "StudyTitle_1", + "extensionAttributes": [], + "text": "Phase II - Hormone-receptor positive (HR+) metastatic breast cancer resistant to aromatase inhibitor (AI)", + "type": { + "id": "Code_StudyTitleType", + "extensionAttributes": [], + "code": "C99905x2", + "codeSystem": "http://www.cdisc.org", + "codeSystemVersion": "", + "decode": "Official Study Title", + "instanceType": "Code" + }, + "instanceType": "StudyTitle" + } + ], + "documentVersionIds": [], + "dateValues": [], + "amendments": [], + "businessTherapeuticAreas": [], + "biomedicalConcepts": [ + { + "id": "BiomedicalConcept_1", + "extensionAttributes": [], + "name": "Informed Consent", + "label": "Informed Consent", + "synonyms": [ + "Informed Consent Obtained" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CONSENT", + "properties": [ + { + "id": "BiomedicalConceptProperty_1", + "name": "DSCAT", + "label": "DSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_2", + "extensionAttributes": [], + "standardCode": { + "id": "Code_9", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_2", + "name": "DSDECOD", + "label": "DSDECOD", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_3", + "extensionAttributes": [], + "standardCode": { + "id": "Code_10", + "extensionAttributes": [], + "code": "C82977", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSDECOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_3", + "name": "DSTERM", + "label": "DSTERM", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_4", + "extensionAttributes": [], + "standardCode": { + "id": "Code_11", + "extensionAttributes": [], + "code": "C82571", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSTERM", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_4", + "name": "DSSTDTC", + "label": "DSSTDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "datetime", + "responseCodes": [], + "code": { + "id": "AliasCode_5", + "extensionAttributes": [], + "standardCode": { + "id": "Code_12", + "extensionAttributes": [], + "code": "C82517", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSSTDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_1", + "extensionAttributes": [], + "standardCode": { + "id": "Code_8", + "extensionAttributes": [], + "code": "C16735", + "codeSystem": "/mdr/bc/packages/2023-12-12/biomedicalconcepts", + "codeSystemVersion": "2023-12-12", + "decode": "Informed Consent", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_2", + "extensionAttributes": [], + "name": "Eligibility Criteria Met By Subject", + "label": "Eligibility Criteria Met By Subject", + "synonyms": [ + "Eligibility Criteria Met" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ELIGMET", + "properties": [ + { + "id": "BiomedicalConceptProperty_5", + "name": "DSCAT", + "label": "DSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_7", + "extensionAttributes": [], + "standardCode": { + "id": "Code_14", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_6", + "name": "DSDECOD", + "label": "DSDECOD", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_8", + "extensionAttributes": [], + "standardCode": { + "id": "Code_15", + "extensionAttributes": [], + "code": "C82977", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSDECOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_7", + "name": "DSTERM", + "label": "DSTERM", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_9", + "extensionAttributes": [], + "standardCode": { + "id": "Code_16", + "extensionAttributes": [], + "code": "C82571", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSTERM", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_8", + "name": "DSSTDTC", + "label": "DSSTDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "datetime", + "responseCodes": [], + "code": { + "id": "AliasCode_10", + "extensionAttributes": [], + "standardCode": { + "id": "Code_17", + "extensionAttributes": [], + "code": "C82517", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSSTDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_6", + "extensionAttributes": [], + "standardCode": { + "id": "Code_13", + "extensionAttributes": [], + "code": "C132447", + "codeSystem": "/mdr/bc/packages/2023-12-12/biomedicalconcepts", + "codeSystemVersion": "2023-12-12", + "decode": "Eligibility Criteria Met By Subject", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_3", + "extensionAttributes": [], + "name": "Medical History Yes No Indicator", + "label": "Medical History Yes No Indicator", + "synonyms": [ + "MHYN" + ], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_11", + "extensionAttributes": [], + "standardCode": { + "id": "Code_18", + "extensionAttributes": [], + "code": "C85522", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Medical History Yes No Indicator", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_4", + "extensionAttributes": [], + "name": "Medical History Reported Term [RETIRED]", + "label": "Medical History Reported Term [RETIRED]", + "synonyms": [ + "Medical History", + "MHTERM" + ], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_12", + "extensionAttributes": [], + "standardCode": { + "id": "Code_19", + "extensionAttributes": [], + "code": "C83118", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Medical History Reported Term [RETIRED]", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_5", + "extensionAttributes": [], + "name": "ECOG - Performance Status", + "label": "ECOG - Performance Status", + "synonyms": [ + "ECOG1-Performance Status", + "ECOG101", + "ECOG - Performance Status" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ECOG101", + "properties": [ + { + "id": "BiomedicalConceptProperty_9", + "name": "RSTESTCD", + "label": "RSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_14", + "extensionAttributes": [], + "standardCode": { + "id": "Code_21", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_10", + "name": "RSTEST", + "label": "RSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_15", + "extensionAttributes": [], + "standardCode": { + "id": "Code_22", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_11", + "name": "RSCAT", + "label": "RSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_16", + "extensionAttributes": [], + "standardCode": { + "id": "Code_23", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_12", + "name": "RSORRES", + "label": "RSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_17", + "extensionAttributes": [], + "standardCode": { + "id": "Code_24", + "extensionAttributes": [], + "code": "C91106", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_13", + "name": "RSSTRESC", + "label": "RSSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_18", + "extensionAttributes": [], + "standardCode": { + "id": "Code_25", + "extensionAttributes": [], + "code": "C46126", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_14", + "name": "RSSTRESN", + "label": "RSSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_19", + "extensionAttributes": [], + "standardCode": { + "id": "Code_26", + "extensionAttributes": [], + "code": "C46126", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_15", + "name": "RSDTC", + "label": "RSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_20", + "extensionAttributes": [], + "standardCode": { + "id": "Code_27", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_13", + "extensionAttributes": [], + "standardCode": { + "id": "Code_20", + "extensionAttributes": [], + "code": "C102408", + "codeSystem": "/mdr/bc/packages/2025-09-23/biomedicalconcepts", + "codeSystemVersion": "2025-09-23", + "decode": "ECOG - Performance Status", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_6", + "extensionAttributes": [], + "name": "Physical Examination Finding", + "label": "Physical Examination Finding", + "synonyms": [], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_21", + "extensionAttributes": [], + "standardCode": { + "id": "Code_28", + "extensionAttributes": [], + "code": "C83119", + "codeSystem": "/mdr/bc/packages/2024-04-02/biomedicalconcepts", + "codeSystemVersion": "2024-04-02", + "decode": "Physical Examination Finding", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_7", + "extensionAttributes": [], + "name": "Systolic Blood Pressure", + "label": "Systolic Blood Pressure", + "synonyms": [ + "SYSBP" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/SYSBP", + "properties": [ + { + "id": "BiomedicalConceptProperty_16", + "name": "VSTESTCD", + "label": "VSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_23", + "extensionAttributes": [], + "standardCode": { + "id": "Code_30", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_17", + "name": "VSTEST", + "label": "VSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_24", + "extensionAttributes": [], + "standardCode": { + "id": "Code_31", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_18", + "name": "VSORRES", + "label": "VSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_25", + "extensionAttributes": [], + "standardCode": { + "id": "Code_32", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_19", + "name": "VSORRESU", + "label": "VSORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_26", + "extensionAttributes": [], + "standardCode": { + "id": "Code_33", + "extensionAttributes": [], + "code": "C49669", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_20", + "name": "VSSTRESC", + "label": "VSSTRESC", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_27", + "extensionAttributes": [], + "standardCode": { + "id": "Code_34", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_21", + "name": "VSSTRESN", + "label": "VSSTRESN", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_28", + "extensionAttributes": [], + "standardCode": { + "id": "Code_35", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_22", + "name": "VSSTRESU", + "label": "VSSTRESU", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_29", + "extensionAttributes": [], + "standardCode": { + "id": "Code_36", + "extensionAttributes": [], + "code": "C49669", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_23", + "name": "VSPOS", + "label": "VSPOS", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_30", + "extensionAttributes": [], + "standardCode": { + "id": "Code_37", + "extensionAttributes": [], + "code": "C62164", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSPOS", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_24", + "name": "VSLOC", + "label": "VSLOC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_31", + "extensionAttributes": [], + "standardCode": { + "id": "Code_38", + "extensionAttributes": [], + "code": "C13717", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLOC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_25", + "name": "VSLAT", + "label": "VSLAT", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_32", + "extensionAttributes": [], + "standardCode": { + "id": "Code_39", + "extensionAttributes": [], + "code": "C25185", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_26", + "name": "VSDTC", + "label": "VSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_33", + "extensionAttributes": [], + "standardCode": { + "id": "Code_40", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_22", + "extensionAttributes": [], + "standardCode": { + "id": "Code_29", + "extensionAttributes": [], + "code": "C25298", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Systolic Blood Pressure", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_8", + "extensionAttributes": [], + "name": "Diastolic Blood Pressure", + "label": "Diastolic Blood Pressure", + "synonyms": [ + "DIABP" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/DIABP", + "properties": [ + { + "id": "BiomedicalConceptProperty_27", + "name": "VSTESTCD", + "label": "VSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_35", + "extensionAttributes": [], + "standardCode": { + "id": "Code_42", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_28", + "name": "VSTEST", + "label": "VSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_36", + "extensionAttributes": [], + "standardCode": { + "id": "Code_43", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_29", + "name": "VSORRES", + "label": "VSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_37", + "extensionAttributes": [], + "standardCode": { + "id": "Code_44", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_30", + "name": "VSORRESU", + "label": "VSORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_38", + "extensionAttributes": [], + "standardCode": { + "id": "Code_45", + "extensionAttributes": [], + "code": "C49669", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_31", + "name": "VSSTRESC", + "label": "VSSTRESC", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_39", + "extensionAttributes": [], + "standardCode": { + "id": "Code_46", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_32", + "name": "VSSTRESN", + "label": "VSSTRESN", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_40", + "extensionAttributes": [], + "standardCode": { + "id": "Code_47", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_33", + "name": "VSSTRESU", + "label": "VSSTRESU", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_41", + "extensionAttributes": [], + "standardCode": { + "id": "Code_48", + "extensionAttributes": [], + "code": "C49669", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_34", + "name": "VSPOS", + "label": "VSPOS", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_42", + "extensionAttributes": [], + "standardCode": { + "id": "Code_49", + "extensionAttributes": [], + "code": "C62164", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSPOS", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_35", + "name": "VSLOC", + "label": "VSLOC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_43", + "extensionAttributes": [], + "standardCode": { + "id": "Code_50", + "extensionAttributes": [], + "code": "C13717", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLOC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_36", + "name": "VSLAT", + "label": "VSLAT", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_44", + "extensionAttributes": [], + "standardCode": { + "id": "Code_51", + "extensionAttributes": [], + "code": "C25185", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_37", + "name": "VSDTC", + "label": "VSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_45", + "extensionAttributes": [], + "standardCode": { + "id": "Code_52", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_34", + "extensionAttributes": [], + "standardCode": { + "id": "Code_41", + "extensionAttributes": [], + "code": "C25299", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Diastolic Blood Pressure", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_9", + "extensionAttributes": [], + "name": "Heart Rate", + "label": "Heart Rate", + "synonyms": [ + "HR" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/HR", + "properties": [ + { + "id": "BiomedicalConceptProperty_38", + "name": "VSTESTCD", + "label": "VSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_47", + "extensionAttributes": [], + "standardCode": { + "id": "Code_54", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_39", + "name": "VSTEST", + "label": "VSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_48", + "extensionAttributes": [], + "standardCode": { + "id": "Code_55", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_40", + "name": "VSORRES", + "label": "VSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_49", + "extensionAttributes": [], + "standardCode": { + "id": "Code_56", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_41", + "name": "VSORRESU", + "label": "VSORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_50", + "extensionAttributes": [], + "standardCode": { + "id": "Code_57", + "extensionAttributes": [], + "code": "C73688", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_42", + "name": "VSSTRESC", + "label": "VSSTRESC", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_51", + "extensionAttributes": [], + "standardCode": { + "id": "Code_58", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_43", + "name": "VSSTRESN", + "label": "VSSTRESN", + "isRequired": false, + "isEnabled": false, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_52", + "extensionAttributes": [], + "standardCode": { + "id": "Code_59", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_44", + "name": "VSSTRESU", + "label": "VSSTRESU", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_53", + "extensionAttributes": [], + "standardCode": { + "id": "Code_60", + "extensionAttributes": [], + "code": "C73688", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_45", + "name": "VSPOS", + "label": "VSPOS", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_54", + "extensionAttributes": [], + "standardCode": { + "id": "Code_61", + "extensionAttributes": [], + "code": "C62164", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSPOS", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_46", + "name": "VSLOC", + "label": "VSLOC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_55", + "extensionAttributes": [], + "standardCode": { + "id": "Code_62", + "extensionAttributes": [], + "code": "C13717", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLOC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_47", + "name": "VSLAT", + "label": "VSLAT", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_56", + "extensionAttributes": [], + "standardCode": { + "id": "Code_63", + "extensionAttributes": [], + "code": "C25185", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSLAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_48", + "name": "VSDTC", + "label": "VSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_57", + "extensionAttributes": [], + "standardCode": { + "id": "Code_64", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-04-01/datasetspecializations", + "codeSystemVersion": "2025-04-01", + "decode": "VSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_46", + "extensionAttributes": [], + "standardCode": { + "id": "Code_53", + "extensionAttributes": [], + "code": "C49677", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Heart Rate", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_10", + "extensionAttributes": [], + "name": "Body Temperature", + "label": "Body Temperature", + "synonyms": [ + "Temperature" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/TEMP", + "properties": [ + { + "id": "BiomedicalConceptProperty_49", + "name": "VSTESTCD", + "label": "VSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_59", + "extensionAttributes": [], + "standardCode": { + "id": "Code_66", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_50", + "name": "VSTEST", + "label": "VSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_60", + "extensionAttributes": [], + "standardCode": { + "id": "Code_67", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_51", + "name": "VSORRES", + "label": "VSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_61", + "extensionAttributes": [], + "standardCode": { + "id": "Code_68", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_52", + "name": "VSORRESU", + "label": "VSORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_62", + "extensionAttributes": [], + "standardCode": { + "id": "Code_69", + "extensionAttributes": [], + "code": "C44276", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_53", + "name": "VSSTRESC", + "label": "VSSTRESC", + "isRequired": false, + "isEnabled": false, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_63", + "extensionAttributes": [], + "standardCode": { + "id": "Code_70", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_54", + "name": "VSSTRESN", + "label": "VSSTRESN", + "isRequired": false, + "isEnabled": false, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_64", + "extensionAttributes": [], + "standardCode": { + "id": "Code_71", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_55", + "name": "VSSTRESU", + "label": "VSSTRESU", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_65", + "extensionAttributes": [], + "standardCode": { + "id": "Code_72", + "extensionAttributes": [], + "code": "C44276", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_56", + "name": "VSLOC", + "label": "VSLOC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_66", + "extensionAttributes": [], + "standardCode": { + "id": "Code_73", + "extensionAttributes": [], + "code": "C13717", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSLOC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_57", + "name": "VSDTC", + "label": "VSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_67", + "extensionAttributes": [], + "standardCode": { + "id": "Code_74", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_58", + "extensionAttributes": [], + "standardCode": { + "id": "Code_65", + "extensionAttributes": [], + "code": "C174446", + "codeSystem": "/mdr/bc/packages/2024-12-16/biomedicalconcepts", + "codeSystemVersion": "2024-12-16", + "decode": "Body Temperature", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_11", + "extensionAttributes": [], + "name": "Body Weight", + "label": "Body Weight", + "synonyms": [ + "WEIGHT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/WEIGHT", + "properties": [ + { + "id": "BiomedicalConceptProperty_58", + "name": "VSTESTCD", + "label": "VSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_69", + "extensionAttributes": [], + "standardCode": { + "id": "Code_76", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_59", + "name": "VSTEST", + "label": "VSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_70", + "extensionAttributes": [], + "standardCode": { + "id": "Code_77", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_60", + "name": "VSORRES", + "label": "VSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_71", + "extensionAttributes": [], + "standardCode": { + "id": "Code_78", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_61", + "name": "VSORRESU", + "label": "VSORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_72", + "extensionAttributes": [], + "standardCode": { + "id": "Code_79", + "extensionAttributes": [], + "code": "C48208", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_62", + "name": "VSSTRESC", + "label": "VSSTRESC", + "isRequired": false, + "isEnabled": false, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_73", + "extensionAttributes": [], + "standardCode": { + "id": "Code_80", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_63", + "name": "VSSTRESN", + "label": "VSSTRESN", + "isRequired": false, + "isEnabled": false, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_74", + "extensionAttributes": [], + "standardCode": { + "id": "Code_81", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_64", + "name": "VSSTRESU", + "label": "VSSTRESU", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_75", + "extensionAttributes": [], + "standardCode": { + "id": "Code_82", + "extensionAttributes": [], + "code": "C48208", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_65", + "name": "VSDTC", + "label": "VSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_76", + "extensionAttributes": [], + "standardCode": { + "id": "Code_83", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2024-12-16/datasetspecializations", + "codeSystemVersion": "2024-12-16", + "decode": "VSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_68", + "extensionAttributes": [], + "standardCode": { + "id": "Code_75", + "extensionAttributes": [], + "code": "C81328", + "codeSystem": "/mdr/bc/packages/2025-11-18/biomedicalconcepts", + "codeSystemVersion": "2025-11-18", + "decode": "Body Weight", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_18", + "extensionAttributes": [], + "name": "Alanine Aminotransferase Measurement", + "label": "Alanine Aminotransferase Measurement", + "synonyms": [ + "ALT", + "SGPT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ALTSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_126", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_144", + "extensionAttributes": [], + "standardCode": { + "id": "Code_151", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_127", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_145", + "extensionAttributes": [], + "standardCode": { + "id": "Code_152", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_128", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_146", + "extensionAttributes": [], + "standardCode": { + "id": "Code_153", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_129", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_147", + "extensionAttributes": [], + "standardCode": { + "id": "Code_154", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_130", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_148", + "extensionAttributes": [], + "standardCode": { + "id": "Code_155", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_131", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_149", + "extensionAttributes": [], + "standardCode": { + "id": "Code_156", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_132", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_150", + "extensionAttributes": [], + "standardCode": { + "id": "Code_157", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_133", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_151", + "extensionAttributes": [], + "standardCode": { + "id": "Code_158", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_134", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_152", + "extensionAttributes": [], + "standardCode": { + "id": "Code_159", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_135", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_153", + "extensionAttributes": [], + "standardCode": { + "id": "Code_160", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_136", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_154", + "extensionAttributes": [], + "standardCode": { + "id": "Code_161", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_137", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_155", + "extensionAttributes": [], + "standardCode": { + "id": "Code_162", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_143", + "extensionAttributes": [], + "standardCode": { + "id": "Code_150", + "extensionAttributes": [], + "code": "C64433", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Alanine Aminotransferase Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_19", + "extensionAttributes": [], + "name": "Aspartate Aminotransferase Measurement", + "label": "Aspartate Aminotransferase Measurement", + "synonyms": [ + "AST", + "SGOT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ASTSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_138", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_157", + "extensionAttributes": [], + "standardCode": { + "id": "Code_164", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_139", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_158", + "extensionAttributes": [], + "standardCode": { + "id": "Code_165", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_140", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_159", + "extensionAttributes": [], + "standardCode": { + "id": "Code_166", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_141", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_160", + "extensionAttributes": [], + "standardCode": { + "id": "Code_167", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_142", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_161", + "extensionAttributes": [], + "standardCode": { + "id": "Code_168", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_143", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_162", + "extensionAttributes": [], + "standardCode": { + "id": "Code_169", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_144", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_163", + "extensionAttributes": [], + "standardCode": { + "id": "Code_170", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_145", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_164", + "extensionAttributes": [], + "standardCode": { + "id": "Code_171", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_146", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_165", + "extensionAttributes": [], + "standardCode": { + "id": "Code_172", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_147", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_166", + "extensionAttributes": [], + "standardCode": { + "id": "Code_173", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_148", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_167", + "extensionAttributes": [], + "standardCode": { + "id": "Code_174", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_149", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_168", + "extensionAttributes": [], + "standardCode": { + "id": "Code_175", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_156", + "extensionAttributes": [], + "standardCode": { + "id": "Code_163", + "extensionAttributes": [], + "code": "C64467", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Aspartate Aminotransferase Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_20", + "extensionAttributes": [], + "name": "Total Bilirubin Measurement", + "label": "Total Bilirubin Measurement", + "synonyms": [ + "Bilirubin", + "Total Bilirubin Level" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/BILISERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_150", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_170", + "extensionAttributes": [], + "standardCode": { + "id": "Code_177", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_151", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_171", + "extensionAttributes": [], + "standardCode": { + "id": "Code_178", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_152", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_172", + "extensionAttributes": [], + "standardCode": { + "id": "Code_179", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_153", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_173", + "extensionAttributes": [], + "standardCode": { + "id": "Code_180", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_154", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_174", + "extensionAttributes": [], + "standardCode": { + "id": "Code_181", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_155", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_175", + "extensionAttributes": [], + "standardCode": { + "id": "Code_182", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_156", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_176", + "extensionAttributes": [], + "standardCode": { + "id": "Code_183", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_157", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_177", + "extensionAttributes": [], + "standardCode": { + "id": "Code_184", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_158", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_178", + "extensionAttributes": [], + "standardCode": { + "id": "Code_185", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_159", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_179", + "extensionAttributes": [], + "standardCode": { + "id": "Code_186", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_160", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_180", + "extensionAttributes": [], + "standardCode": { + "id": "Code_187", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_161", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_181", + "extensionAttributes": [], + "standardCode": { + "id": "Code_188", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_169", + "extensionAttributes": [], + "standardCode": { + "id": "Code_176", + "extensionAttributes": [], + "code": "C38037", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Total Bilirubin Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_21", + "extensionAttributes": [], + "name": "Creatinine Measurement", + "label": "Creatinine Measurement", + "synonyms": [ + "Creatinine" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CREATSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_162", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_183", + "extensionAttributes": [], + "standardCode": { + "id": "Code_190", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_163", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_184", + "extensionAttributes": [], + "standardCode": { + "id": "Code_191", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_164", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_185", + "extensionAttributes": [], + "standardCode": { + "id": "Code_192", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_165", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_186", + "extensionAttributes": [], + "standardCode": { + "id": "Code_193", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_166", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_187", + "extensionAttributes": [], + "standardCode": { + "id": "Code_194", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_167", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_188", + "extensionAttributes": [], + "standardCode": { + "id": "Code_195", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_168", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_189", + "extensionAttributes": [], + "standardCode": { + "id": "Code_196", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_169", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_190", + "extensionAttributes": [], + "standardCode": { + "id": "Code_197", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_170", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_191", + "extensionAttributes": [], + "standardCode": { + "id": "Code_198", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_171", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_192", + "extensionAttributes": [], + "standardCode": { + "id": "Code_199", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_172", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_193", + "extensionAttributes": [], + "standardCode": { + "id": "Code_200", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_173", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_194", + "extensionAttributes": [], + "standardCode": { + "id": "Code_201", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_182", + "extensionAttributes": [], + "standardCode": { + "id": "Code_189", + "extensionAttributes": [], + "code": "C64547", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Creatinine Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_22", + "extensionAttributes": [], + "name": "Albumin Measurement", + "label": "Albumin Measurement", + "synonyms": [ + "Albumin" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ALBSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_174", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_196", + "extensionAttributes": [], + "standardCode": { + "id": "Code_203", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_175", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_197", + "extensionAttributes": [], + "standardCode": { + "id": "Code_204", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_176", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_198", + "extensionAttributes": [], + "standardCode": { + "id": "Code_205", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_177", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_199", + "extensionAttributes": [], + "standardCode": { + "id": "Code_206", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_178", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_200", + "extensionAttributes": [], + "standardCode": { + "id": "Code_207", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_179", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_201", + "extensionAttributes": [], + "standardCode": { + "id": "Code_208", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_180", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_202", + "extensionAttributes": [], + "standardCode": { + "id": "Code_209", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_181", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_203", + "extensionAttributes": [], + "standardCode": { + "id": "Code_210", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_182", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_204", + "extensionAttributes": [], + "standardCode": { + "id": "Code_211", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_183", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_205", + "extensionAttributes": [], + "standardCode": { + "id": "Code_212", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_184", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_206", + "extensionAttributes": [], + "standardCode": { + "id": "Code_213", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_185", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_207", + "extensionAttributes": [], + "standardCode": { + "id": "Code_214", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_195", + "extensionAttributes": [], + "standardCode": { + "id": "Code_202", + "extensionAttributes": [], + "code": "C64431", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Albumin Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_26", + "extensionAttributes": [], + "name": "pH", + "label": "pH", + "synonyms": [ + "PH", + "potential of Hydrogen" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/PHURIN", + "properties": [ + { + "id": "BiomedicalConceptProperty_220", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_246", + "extensionAttributes": [], + "standardCode": { + "id": "Code_253", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_221", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_247", + "extensionAttributes": [], + "standardCode": { + "id": "Code_254", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_222", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_248", + "extensionAttributes": [], + "standardCode": { + "id": "Code_255", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_223", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_249", + "extensionAttributes": [], + "standardCode": { + "id": "Code_256", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_224", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_250", + "extensionAttributes": [], + "standardCode": { + "id": "Code_257", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_225", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_251", + "extensionAttributes": [], + "standardCode": { + "id": "Code_258", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_226", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_252", + "extensionAttributes": [], + "standardCode": { + "id": "Code_259", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_227", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_253", + "extensionAttributes": [], + "standardCode": { + "id": "Code_260", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_228", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_254", + "extensionAttributes": [], + "standardCode": { + "id": "Code_261", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_229", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_255", + "extensionAttributes": [], + "standardCode": { + "id": "Code_262", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_245", + "extensionAttributes": [], + "standardCode": { + "id": "Code_252", + "extensionAttributes": [], + "code": "C45997", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "pH", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_27", + "extensionAttributes": [], + "name": "Color Assessment", + "label": "Color Assessment", + "synonyms": [ + "COLOR", + "Color" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/COLORURIN", + "properties": [ + { + "id": "BiomedicalConceptProperty_230", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_257", + "extensionAttributes": [], + "standardCode": { + "id": "Code_264", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_231", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_258", + "extensionAttributes": [], + "standardCode": { + "id": "Code_265", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_232", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_259", + "extensionAttributes": [], + "standardCode": { + "id": "Code_266", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_233", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_260", + "extensionAttributes": [], + "standardCode": { + "id": "Code_267", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_234", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_261", + "extensionAttributes": [], + "standardCode": { + "id": "Code_268", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_235", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_262", + "extensionAttributes": [], + "standardCode": { + "id": "Code_269", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_236", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_263", + "extensionAttributes": [], + "standardCode": { + "id": "Code_270", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_237", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_264", + "extensionAttributes": [], + "standardCode": { + "id": "Code_271", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_256", + "extensionAttributes": [], + "standardCode": { + "id": "Code_263", + "extensionAttributes": [], + "code": "C64546", + "codeSystem": "/mdr/bc/packages/2025-11-18/biomedicalconcepts", + "codeSystemVersion": "2025-11-18", + "decode": "Color Assessment", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_28", + "extensionAttributes": [], + "name": "Specific Gravity", + "label": "Specific Gravity", + "synonyms": [ + "SPGRAV" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/SPGRAVURIN", + "properties": [ + { + "id": "BiomedicalConceptProperty_238", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_266", + "extensionAttributes": [], + "standardCode": { + "id": "Code_273", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_239", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_267", + "extensionAttributes": [], + "standardCode": { + "id": "Code_274", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_240", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_268", + "extensionAttributes": [], + "standardCode": { + "id": "Code_275", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_241", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_269", + "extensionAttributes": [], + "standardCode": { + "id": "Code_276", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_242", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_270", + "extensionAttributes": [], + "standardCode": { + "id": "Code_277", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_243", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_271", + "extensionAttributes": [], + "standardCode": { + "id": "Code_278", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_244", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_272", + "extensionAttributes": [], + "standardCode": { + "id": "Code_279", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_245", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_273", + "extensionAttributes": [], + "standardCode": { + "id": "Code_280", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_246", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_274", + "extensionAttributes": [], + "standardCode": { + "id": "Code_281", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_247", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_275", + "extensionAttributes": [], + "standardCode": { + "id": "Code_282", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_265", + "extensionAttributes": [], + "standardCode": { + "id": "Code_272", + "extensionAttributes": [], + "code": "C64832", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Specific Gravity", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_47", + "extensionAttributes": [], + "name": "Adverse Event Yes No Indicator", + "label": "Adverse Event Yes No Indicator", + "synonyms": [ + "AEYN" + ], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_432", + "extensionAttributes": [], + "standardCode": { + "id": "Code_439", + "extensionAttributes": [], + "code": "C83347", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Adverse Event Yes No Indicator", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_48", + "extensionAttributes": [], + "name": "Adverse Event", + "label": "Adverse Event", + "synonyms": [], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ADVEVENT", + "properties": [ + { + "id": "BiomedicalConceptProperty_386", + "name": "DSCAT", + "label": "DSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_434", + "extensionAttributes": [], + "standardCode": { + "id": "Code_441", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_387", + "name": "DSSCAT", + "label": "DSSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_435", + "extensionAttributes": [], + "standardCode": { + "id": "Code_442", + "extensionAttributes": [], + "code": "C25692", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_388", + "name": "DSDECOD", + "label": "DSDECOD", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_436", + "extensionAttributes": [], + "standardCode": { + "id": "Code_443", + "extensionAttributes": [], + "code": "C82977", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSDECOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_389", + "name": "DSTERM", + "label": "DSTERM", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_437", + "extensionAttributes": [], + "standardCode": { + "id": "Code_444", + "extensionAttributes": [], + "code": "C82571", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSTERM", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_390", + "name": "DSSTDTC", + "label": "DSSTDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "datetime", + "responseCodes": [], + "code": { + "id": "AliasCode_438", + "extensionAttributes": [], + "standardCode": { + "id": "Code_445", + "extensionAttributes": [], + "code": "C82517", + "codeSystem": "/mdr/specializations/sdtm/packages/2023-12-12/datasetspecializations", + "codeSystemVersion": "2023-12-12", + "decode": "DSSTDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_433", + "extensionAttributes": [], + "standardCode": { + "id": "Code_440", + "extensionAttributes": [], + "code": "C41331", + "codeSystem": "/mdr/bc/packages/2023-12-12/biomedicalconcepts", + "codeSystemVersion": "2023-12-12", + "decode": "Adverse Event", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_49", + "extensionAttributes": [], + "name": "Concomitant Medication Yes No Indicator", + "label": "Concomitant Medication Yes No Indicator", + "synonyms": [ + "CMYN" + ], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_439", + "extensionAttributes": [], + "standardCode": { + "id": "Code_446", + "extensionAttributes": [], + "code": "C83056", + "codeSystem": "/mdr/bc/packages/2025-09-23/biomedicalconcepts", + "codeSystemVersion": "2025-09-23", + "decode": "Concomitant Medication Yes No Indicator", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_50", + "extensionAttributes": [], + "name": "Concomitant Therapy", + "label": "Concomitant Therapy", + "synonyms": [ + "Concomitant Medication" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CMFREE", + "properties": [ + { + "id": "BiomedicalConceptProperty_391", + "name": "CMTRT", + "label": "CMTRT", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_441", + "extensionAttributes": [], + "standardCode": { + "id": "Code_448", + "extensionAttributes": [], + "code": "C70902", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMTRT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_392", + "name": "CMDECOD", + "label": "CMDECOD", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_442", + "extensionAttributes": [], + "standardCode": { + "id": "Code_449", + "extensionAttributes": [], + "code": "C83345", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDECOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_393", + "name": "CMCAT", + "label": "CMCAT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_443", + "extensionAttributes": [], + "standardCode": { + "id": "Code_450", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_394", + "name": "CMSCAT", + "label": "CMSCAT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_444", + "extensionAttributes": [], + "standardCode": { + "id": "Code_451", + "extensionAttributes": [], + "code": "C25692", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_395", + "name": "CMCLAS", + "label": "CMCLAS", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_445", + "extensionAttributes": [], + "standardCode": { + "id": "Code_452", + "extensionAttributes": [], + "code": "C83219", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMCLAS", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_396", + "name": "CMCLASCD", + "label": "CMCLASCD", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_446", + "extensionAttributes": [], + "standardCode": { + "id": "Code_453", + "extensionAttributes": [], + "code": "C83219", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMCLASCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_397", + "name": "CMINDC", + "label": "CMINDC", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_447", + "extensionAttributes": [], + "standardCode": { + "id": "Code_454", + "extensionAttributes": [], + "code": "C83085", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMINDC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_398", + "name": "CMDOSE", + "label": "CMDOSE", + "isRequired": false, + "isEnabled": false, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_448", + "extensionAttributes": [], + "standardCode": { + "id": "Code_455", + "extensionAttributes": [], + "code": "C83221", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDOSE", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_399", + "name": "CMDOSTXT", + "label": "CMDOSTXT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_449", + "extensionAttributes": [], + "standardCode": { + "id": "Code_456", + "extensionAttributes": [], + "code": "C83221", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDOSTXT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_400", + "name": "CMDOSU", + "label": "CMDOSU", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_450", + "extensionAttributes": [], + "standardCode": { + "id": "Code_457", + "extensionAttributes": [], + "code": "C83034", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDOSU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_401", + "name": "CMDOSFRM", + "label": "CMDOSFRM", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_451", + "extensionAttributes": [], + "standardCode": { + "id": "Code_458", + "extensionAttributes": [], + "code": "C83110", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDOSFRM", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_402", + "name": "CMDOSFRQ", + "label": "CMDOSFRQ", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_452", + "extensionAttributes": [], + "standardCode": { + "id": "Code_459", + "extensionAttributes": [], + "code": "C83042", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMDOSFRQ", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_403", + "name": "CMROUTE", + "label": "CMROUTE", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_453", + "extensionAttributes": [], + "standardCode": { + "id": "Code_460", + "extensionAttributes": [], + "code": "C83120", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMROUTE", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_404", + "name": "CMSTDTC", + "label": "CMSTDTC", + "isRequired": false, + "isEnabled": false, + "datatype": "datetime", + "responseCodes": [], + "code": { + "id": "AliasCode_454", + "extensionAttributes": [], + "standardCode": { + "id": "Code_461", + "extensionAttributes": [], + "code": "C83235", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMSTDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_405", + "name": "CMENDTC", + "label": "CMENDTC", + "isRequired": false, + "isEnabled": false, + "datatype": "datetime", + "responseCodes": [], + "code": { + "id": "AliasCode_455", + "extensionAttributes": [], + "standardCode": { + "id": "Code_462", + "extensionAttributes": [], + "code": "C83225", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMENDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_406", + "name": "CMSTRF", + "label": "CMSTRF", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_456", + "extensionAttributes": [], + "standardCode": { + "id": "Code_463", + "extensionAttributes": [], + "code": "C82559", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMSTRF", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_407", + "name": "CMSTRTPT", + "label": "CMSTRTPT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_457", + "extensionAttributes": [], + "standardCode": { + "id": "Code_464", + "extensionAttributes": [], + "code": "C82560", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMSTRTPT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_408", + "name": "CMSTTPT", + "label": "CMSTTPT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_458", + "extensionAttributes": [], + "standardCode": { + "id": "Code_465", + "extensionAttributes": [], + "code": "C82575", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMSTTPT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_409", + "name": "CMENRF", + "label": "CMENRF", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_459", + "extensionAttributes": [], + "standardCode": { + "id": "Code_466", + "extensionAttributes": [], + "code": "C82557", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMENRF", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_410", + "name": "CMENRTPT", + "label": "CMENRTPT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_460", + "extensionAttributes": [], + "standardCode": { + "id": "Code_467", + "extensionAttributes": [], + "code": "C82558", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMENRTPT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_411", + "name": "CMENTPT", + "label": "CMENTPT", + "isRequired": false, + "isEnabled": false, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_461", + "extensionAttributes": [], + "standardCode": { + "id": "Code_468", + "extensionAttributes": [], + "code": "C82574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "CMENTPT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_440", + "extensionAttributes": [], + "standardCode": { + "id": "Code_447", + "extensionAttributes": [], + "code": "C53630", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Concomitant Therapy", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_51", + "extensionAttributes": [], + "name": "Randomization", + "label": "Randomization", + "synonyms": [ + "randomization", + "RANDOM", + "Randomized", + "Trial is Randomized", + "randomized" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/RANDOM", + "properties": [ + { + "id": "BiomedicalConceptProperty_412", + "name": "TSPARMCD", + "label": "TSPARMCD", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_463", + "extensionAttributes": [], + "standardCode": { + "id": "Code_470", + "extensionAttributes": [], + "code": "C83445", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSPARMCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_413", + "name": "TSPARM", + "label": "TSPARM", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_464", + "extensionAttributes": [], + "standardCode": { + "id": "Code_471", + "extensionAttributes": [], + "code": "C49691", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSPARM", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_414", + "name": "TSVAL", + "label": "TSVAL", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_465", + "extensionAttributes": [], + "standardCode": { + "id": "Code_472", + "extensionAttributes": [], + "code": "C83447", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSVAL", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_415", + "name": "TSVALCD", + "label": "TSVALCD", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_466", + "extensionAttributes": [], + "standardCode": { + "id": "Code_473", + "extensionAttributes": [], + "code": "C117458", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSVALCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_416", + "name": "TSVCDREF", + "label": "TSVCDREF", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_467", + "extensionAttributes": [], + "standardCode": { + "id": "Code_474", + "extensionAttributes": [], + "code": "C117460", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSVCDREF", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_417", + "name": "TSVCDVER", + "label": "TSVCDVER", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_468", + "extensionAttributes": [], + "standardCode": { + "id": "Code_475", + "extensionAttributes": [], + "code": "C117461", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TSVCDVER", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_462", + "extensionAttributes": [], + "standardCode": { + "id": "Code_469", + "extensionAttributes": [], + "code": "C25196", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Randomization", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_52", + "extensionAttributes": [], + "name": "Prothrombin Time", + "label": "Prothrombin Time", + "synonyms": [ + "PT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/PTBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_418", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_470", + "extensionAttributes": [], + "standardCode": { + "id": "Code_510", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_419", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_471", + "extensionAttributes": [], + "standardCode": { + "id": "Code_511", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_420", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_472", + "extensionAttributes": [], + "standardCode": { + "id": "Code_512", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_421", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_473", + "extensionAttributes": [], + "standardCode": { + "id": "Code_513", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_422", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_474", + "extensionAttributes": [], + "standardCode": { + "id": "Code_514", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_423", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_475", + "extensionAttributes": [], + "standardCode": { + "id": "Code_515", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_424", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_476", + "extensionAttributes": [], + "standardCode": { + "id": "Code_516", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_425", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_477", + "extensionAttributes": [], + "standardCode": { + "id": "Code_517", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_426", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_478", + "extensionAttributes": [], + "standardCode": { + "id": "Code_518", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_427", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_479", + "extensionAttributes": [], + "standardCode": { + "id": "Code_519", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_428", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_480", + "extensionAttributes": [], + "standardCode": { + "id": "Code_520", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_429", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_481", + "extensionAttributes": [], + "standardCode": { + "id": "Code_521", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_469", + "extensionAttributes": [], + "standardCode": { + "id": "Code_509", + "extensionAttributes": [], + "code": "C62656", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Prothrombin Time", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_53", + "extensionAttributes": [], + "name": "International Normalized Ratio of Prothrombin Time", + "label": "International Normalized Ratio of Prothrombin Time", + "synonyms": [ + "INR", + "Prothrombin Intl. Normalized Ratio" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/INRBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_430", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_484", + "extensionAttributes": [], + "standardCode": { + "id": "Code_524", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_431", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_485", + "extensionAttributes": [], + "standardCode": { + "id": "Code_525", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_432", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_486", + "extensionAttributes": [], + "standardCode": { + "id": "Code_526", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_433", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_487", + "extensionAttributes": [], + "standardCode": { + "id": "Code_527", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_434", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_488", + "extensionAttributes": [], + "standardCode": { + "id": "Code_528", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_435", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_489", + "extensionAttributes": [], + "standardCode": { + "id": "Code_529", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_436", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_490", + "extensionAttributes": [], + "standardCode": { + "id": "Code_530", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_437", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_491", + "extensionAttributes": [], + "standardCode": { + "id": "Code_531", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_438", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_492", + "extensionAttributes": [], + "standardCode": { + "id": "Code_532", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_439", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_493", + "extensionAttributes": [], + "standardCode": { + "id": "Code_533", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_440", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_494", + "extensionAttributes": [], + "standardCode": { + "id": "Code_534", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_483", + "extensionAttributes": [], + "standardCode": { + "id": "Code_523", + "extensionAttributes": [], + "code": "C64805", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "International Normalized Ratio of Prothrombin Time", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_54", + "extensionAttributes": [], + "name": "Activated Partial Thromboplastin Time", + "label": "Activated Partial Thromboplastin Time", + "synonyms": [ + "APTT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/APTTBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_441", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_496", + "extensionAttributes": [], + "standardCode": { + "id": "Code_536", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_442", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_497", + "extensionAttributes": [], + "standardCode": { + "id": "Code_537", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_443", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_498", + "extensionAttributes": [], + "standardCode": { + "id": "Code_538", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_444", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_499", + "extensionAttributes": [], + "standardCode": { + "id": "Code_539", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_445", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_500", + "extensionAttributes": [], + "standardCode": { + "id": "Code_540", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_446", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_501", + "extensionAttributes": [], + "standardCode": { + "id": "Code_541", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_447", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "integer", + "responseCodes": [], + "code": { + "id": "AliasCode_502", + "extensionAttributes": [], + "standardCode": { + "id": "Code_542", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_448", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_503", + "extensionAttributes": [], + "standardCode": { + "id": "Code_543", + "extensionAttributes": [], + "code": "C42574", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_449", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_504", + "extensionAttributes": [], + "standardCode": { + "id": "Code_544", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_450", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_505", + "extensionAttributes": [], + "standardCode": { + "id": "Code_545", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_451", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_506", + "extensionAttributes": [], + "standardCode": { + "id": "Code_546", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_495", + "extensionAttributes": [], + "standardCode": { + "id": "Code_535", + "extensionAttributes": [], + "code": "C38462", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Activated Partial Thromboplastin Time", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_55", + "extensionAttributes": [], + "name": "Glucose Measurement", + "label": "Glucose Measurement", + "synonyms": [ + "Glucose" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/GLUCBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_452", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_508", + "extensionAttributes": [], + "standardCode": { + "id": "Code_548", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_453", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_509", + "extensionAttributes": [], + "standardCode": { + "id": "Code_549", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_454", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_510", + "extensionAttributes": [], + "standardCode": { + "id": "Code_550", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_455", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_511", + "extensionAttributes": [], + "standardCode": { + "id": "Code_551", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_456", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_512", + "extensionAttributes": [], + "standardCode": { + "id": "Code_552", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_457", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_513", + "extensionAttributes": [], + "standardCode": { + "id": "Code_553", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_458", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_514", + "extensionAttributes": [], + "standardCode": { + "id": "Code_554", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_459", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_515", + "extensionAttributes": [], + "standardCode": { + "id": "Code_555", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_460", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_516", + "extensionAttributes": [], + "standardCode": { + "id": "Code_556", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_461", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_517", + "extensionAttributes": [], + "standardCode": { + "id": "Code_557", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_462", + "name": "LBMETHOD", + "label": "LBMETHOD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_518", + "extensionAttributes": [], + "standardCode": { + "id": "Code_558", + "extensionAttributes": [], + "code": "C82535", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBMETHOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_463", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_519", + "extensionAttributes": [], + "standardCode": { + "id": "Code_559", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_464", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_520", + "extensionAttributes": [], + "standardCode": { + "id": "Code_560", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_507", + "extensionAttributes": [], + "standardCode": { + "id": "Code_547", + "extensionAttributes": [], + "code": "C105585", + "codeSystem": "/mdr/bc/packages/2025-09-23/biomedicalconcepts", + "codeSystemVersion": "2025-09-23", + "decode": "Glucose Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_56", + "extensionAttributes": [], + "name": "Triglyceride Measurement", + "label": "Triglyceride Measurement", + "synonyms": [ + "TRIG", + "Triglycerides" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/TRIGSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_465", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_522", + "extensionAttributes": [], + "standardCode": { + "id": "Code_562", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_466", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_523", + "extensionAttributes": [], + "standardCode": { + "id": "Code_563", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_467", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_524", + "extensionAttributes": [], + "standardCode": { + "id": "Code_564", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_468", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_525", + "extensionAttributes": [], + "standardCode": { + "id": "Code_565", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_469", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_526", + "extensionAttributes": [], + "standardCode": { + "id": "Code_566", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_470", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_527", + "extensionAttributes": [], + "standardCode": { + "id": "Code_567", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_471", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_528", + "extensionAttributes": [], + "standardCode": { + "id": "Code_568", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_472", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_529", + "extensionAttributes": [], + "standardCode": { + "id": "Code_569", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_473", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_530", + "extensionAttributes": [], + "standardCode": { + "id": "Code_570", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_474", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_531", + "extensionAttributes": [], + "standardCode": { + "id": "Code_571", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_475", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_532", + "extensionAttributes": [], + "standardCode": { + "id": "Code_572", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_476", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_533", + "extensionAttributes": [], + "standardCode": { + "id": "Code_573", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_521", + "extensionAttributes": [], + "standardCode": { + "id": "Code_561", + "extensionAttributes": [], + "code": "C64812", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Triglyceride Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_57", + "extensionAttributes": [], + "name": "Cholesterol Measurement", + "label": "Cholesterol Measurement", + "synonyms": [ + "CHOL", + "Cholesterol", + "Total Cholesterol" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CHOLSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_477", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_535", + "extensionAttributes": [], + "standardCode": { + "id": "Code_575", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_478", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_536", + "extensionAttributes": [], + "standardCode": { + "id": "Code_576", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_479", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_537", + "extensionAttributes": [], + "standardCode": { + "id": "Code_577", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_480", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_538", + "extensionAttributes": [], + "standardCode": { + "id": "Code_578", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_481", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_539", + "extensionAttributes": [], + "standardCode": { + "id": "Code_579", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_482", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_540", + "extensionAttributes": [], + "standardCode": { + "id": "Code_580", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_483", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_541", + "extensionAttributes": [], + "standardCode": { + "id": "Code_581", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_484", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_542", + "extensionAttributes": [], + "standardCode": { + "id": "Code_582", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_485", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_543", + "extensionAttributes": [], + "standardCode": { + "id": "Code_583", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_486", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_544", + "extensionAttributes": [], + "standardCode": { + "id": "Code_584", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_487", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_545", + "extensionAttributes": [], + "standardCode": { + "id": "Code_585", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_488", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_546", + "extensionAttributes": [], + "standardCode": { + "id": "Code_586", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_534", + "extensionAttributes": [], + "standardCode": { + "id": "Code_574", + "extensionAttributes": [], + "code": "C105586", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Cholesterol Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_58", + "extensionAttributes": [], + "name": "High Density Lipoprotein Cholesterol Measurement", + "label": "High Density Lipoprotein Cholesterol Measurement", + "synonyms": [ + "HDL", + "HDL Cholesterol" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/HDLSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_489", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_548", + "extensionAttributes": [], + "standardCode": { + "id": "Code_588", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_490", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_549", + "extensionAttributes": [], + "standardCode": { + "id": "Code_589", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_491", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_550", + "extensionAttributes": [], + "standardCode": { + "id": "Code_590", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_492", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_551", + "extensionAttributes": [], + "standardCode": { + "id": "Code_591", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_493", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_552", + "extensionAttributes": [], + "standardCode": { + "id": "Code_592", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_494", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_553", + "extensionAttributes": [], + "standardCode": { + "id": "Code_593", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_495", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_554", + "extensionAttributes": [], + "standardCode": { + "id": "Code_594", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_496", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_555", + "extensionAttributes": [], + "standardCode": { + "id": "Code_595", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_497", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_556", + "extensionAttributes": [], + "standardCode": { + "id": "Code_596", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_498", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_557", + "extensionAttributes": [], + "standardCode": { + "id": "Code_597", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_499", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_558", + "extensionAttributes": [], + "standardCode": { + "id": "Code_598", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_500", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_559", + "extensionAttributes": [], + "standardCode": { + "id": "Code_599", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_547", + "extensionAttributes": [], + "standardCode": { + "id": "Code_587", + "extensionAttributes": [], + "code": "C105587", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "High Density Lipoprotein Cholesterol Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_59", + "extensionAttributes": [], + "name": "Low Density Lipoprotein Cholesterol Measurement", + "label": "Low Density Lipoprotein Cholesterol Measurement", + "synonyms": [ + "LDL", + "LDL Cholesterol" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/LDLSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_501", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_561", + "extensionAttributes": [], + "standardCode": { + "id": "Code_601", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_502", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_562", + "extensionAttributes": [], + "standardCode": { + "id": "Code_602", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_503", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_563", + "extensionAttributes": [], + "standardCode": { + "id": "Code_603", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_504", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_564", + "extensionAttributes": [], + "standardCode": { + "id": "Code_604", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_505", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_565", + "extensionAttributes": [], + "standardCode": { + "id": "Code_605", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_506", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_566", + "extensionAttributes": [], + "standardCode": { + "id": "Code_606", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_507", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_567", + "extensionAttributes": [], + "standardCode": { + "id": "Code_607", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_508", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_568", + "extensionAttributes": [], + "standardCode": { + "id": "Code_608", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_509", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_569", + "extensionAttributes": [], + "standardCode": { + "id": "Code_609", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_510", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_570", + "extensionAttributes": [], + "standardCode": { + "id": "Code_610", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_511", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_571", + "extensionAttributes": [], + "standardCode": { + "id": "Code_611", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_512", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_572", + "extensionAttributes": [], + "standardCode": { + "id": "Code_612", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_560", + "extensionAttributes": [], + "standardCode": { + "id": "Code_600", + "extensionAttributes": [], + "code": "C105588", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Low Density Lipoprotein Cholesterol Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_60", + "extensionAttributes": [], + "name": "ECOG Clinical Classification Question", + "label": "ECOG Clinical Classification Question", + "synonyms": [], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_573", + "extensionAttributes": [], + "standardCode": { + "id": "Code_613", + "extensionAttributes": [], + "code": "C101874", + "codeSystem": "/mdr/bc/packages/2025-09-23/biomedicalconcepts", + "codeSystemVersion": "2025-09-23", + "decode": "ECOG Clinical Classification Question", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_61", + "extensionAttributes": [], + "name": "Leukocyte Count", + "label": "Leukocyte Count", + "synonyms": [ + "WBC", + "White Blood Cells" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/WBCBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_513", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_575", + "extensionAttributes": [], + "standardCode": { + "id": "Code_615", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_514", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_576", + "extensionAttributes": [], + "standardCode": { + "id": "Code_616", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_515", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_577", + "extensionAttributes": [], + "standardCode": { + "id": "Code_617", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_516", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_578", + "extensionAttributes": [], + "standardCode": { + "id": "Code_618", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_517", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_579", + "extensionAttributes": [], + "standardCode": { + "id": "Code_619", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_518", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_580", + "extensionAttributes": [], + "standardCode": { + "id": "Code_620", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_519", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_581", + "extensionAttributes": [], + "standardCode": { + "id": "Code_621", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_520", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_582", + "extensionAttributes": [], + "standardCode": { + "id": "Code_622", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_521", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_583", + "extensionAttributes": [], + "standardCode": { + "id": "Code_623", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_522", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_584", + "extensionAttributes": [], + "standardCode": { + "id": "Code_624", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_523", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_585", + "extensionAttributes": [], + "standardCode": { + "id": "Code_625", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_524", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_586", + "extensionAttributes": [], + "standardCode": { + "id": "Code_626", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_574", + "extensionAttributes": [], + "standardCode": { + "id": "Code_614", + "extensionAttributes": [], + "code": "C51948", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Leukocyte Count", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_62", + "extensionAttributes": [], + "name": "Erythrocyte Count", + "label": "Erythrocyte Count", + "synonyms": [ + "RBC", + "Red Blood Cells" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/RBCBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_525", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_588", + "extensionAttributes": [], + "standardCode": { + "id": "Code_628", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_526", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_589", + "extensionAttributes": [], + "standardCode": { + "id": "Code_629", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_527", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_590", + "extensionAttributes": [], + "standardCode": { + "id": "Code_630", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_528", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_591", + "extensionAttributes": [], + "standardCode": { + "id": "Code_631", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_529", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_592", + "extensionAttributes": [], + "standardCode": { + "id": "Code_632", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_530", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_593", + "extensionAttributes": [], + "standardCode": { + "id": "Code_633", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_531", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_594", + "extensionAttributes": [], + "standardCode": { + "id": "Code_634", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_532", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_595", + "extensionAttributes": [], + "standardCode": { + "id": "Code_635", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_533", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_596", + "extensionAttributes": [], + "standardCode": { + "id": "Code_636", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_534", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_597", + "extensionAttributes": [], + "standardCode": { + "id": "Code_637", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_535", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_598", + "extensionAttributes": [], + "standardCode": { + "id": "Code_638", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_536", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_599", + "extensionAttributes": [], + "standardCode": { + "id": "Code_639", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_587", + "extensionAttributes": [], + "standardCode": { + "id": "Code_627", + "extensionAttributes": [], + "code": "C51946", + "codeSystem": "/mdr/bc/packages/2025-12-16/biomedicalconcepts", + "codeSystemVersion": "2025-12-16", + "decode": "Erythrocyte Count", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_63", + "extensionAttributes": [], + "name": "Platelet Count", + "label": "Platelet Count", + "synonyms": [ + "Thrombocytes", + "Platelets", + "Anucleated Thrombocytes" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/PLATBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_537", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_601", + "extensionAttributes": [], + "standardCode": { + "id": "Code_641", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_538", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_602", + "extensionAttributes": [], + "standardCode": { + "id": "Code_642", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_539", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_603", + "extensionAttributes": [], + "standardCode": { + "id": "Code_643", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_540", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_604", + "extensionAttributes": [], + "standardCode": { + "id": "Code_644", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_541", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_605", + "extensionAttributes": [], + "standardCode": { + "id": "Code_645", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_542", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_606", + "extensionAttributes": [], + "standardCode": { + "id": "Code_646", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_543", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_607", + "extensionAttributes": [], + "standardCode": { + "id": "Code_647", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_544", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_608", + "extensionAttributes": [], + "standardCode": { + "id": "Code_648", + "extensionAttributes": [], + "code": "C67391", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_545", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_609", + "extensionAttributes": [], + "standardCode": { + "id": "Code_649", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_546", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_610", + "extensionAttributes": [], + "standardCode": { + "id": "Code_650", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_547", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_611", + "extensionAttributes": [], + "standardCode": { + "id": "Code_651", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_548", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_612", + "extensionAttributes": [], + "standardCode": { + "id": "Code_652", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_600", + "extensionAttributes": [], + "standardCode": { + "id": "Code_640", + "extensionAttributes": [], + "code": "C51951", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Platelet Count", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_64", + "extensionAttributes": [], + "name": "Potassium Measurement", + "label": "Potassium Measurement", + "synonyms": [ + "Potassium", + "K" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/KBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_549", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_614", + "extensionAttributes": [], + "standardCode": { + "id": "Code_654", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_550", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_615", + "extensionAttributes": [], + "standardCode": { + "id": "Code_655", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_551", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_616", + "extensionAttributes": [], + "standardCode": { + "id": "Code_656", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_552", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_617", + "extensionAttributes": [], + "standardCode": { + "id": "Code_657", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_553", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_618", + "extensionAttributes": [], + "standardCode": { + "id": "Code_658", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_554", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_619", + "extensionAttributes": [], + "standardCode": { + "id": "Code_659", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_555", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_620", + "extensionAttributes": [], + "standardCode": { + "id": "Code_660", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_556", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_621", + "extensionAttributes": [], + "standardCode": { + "id": "Code_661", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_557", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_622", + "extensionAttributes": [], + "standardCode": { + "id": "Code_662", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_558", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_623", + "extensionAttributes": [], + "standardCode": { + "id": "Code_663", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_559", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_624", + "extensionAttributes": [], + "standardCode": { + "id": "Code_664", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_560", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_625", + "extensionAttributes": [], + "standardCode": { + "id": "Code_665", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_613", + "extensionAttributes": [], + "standardCode": { + "id": "Code_653", + "extensionAttributes": [], + "code": "C64853", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Potassium Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_65", + "extensionAttributes": [], + "name": "Sodium Measurement", + "label": "Sodium Measurement", + "synonyms": [ + "Sodium", + "NA" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/SODIUMBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_561", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_627", + "extensionAttributes": [], + "standardCode": { + "id": "Code_667", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_562", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_628", + "extensionAttributes": [], + "standardCode": { + "id": "Code_668", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_563", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_629", + "extensionAttributes": [], + "standardCode": { + "id": "Code_669", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_564", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_630", + "extensionAttributes": [], + "standardCode": { + "id": "Code_670", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_565", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_631", + "extensionAttributes": [], + "standardCode": { + "id": "Code_671", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_566", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_632", + "extensionAttributes": [], + "standardCode": { + "id": "Code_672", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_567", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_633", + "extensionAttributes": [], + "standardCode": { + "id": "Code_673", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_568", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_634", + "extensionAttributes": [], + "standardCode": { + "id": "Code_674", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_569", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_635", + "extensionAttributes": [], + "standardCode": { + "id": "Code_675", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_570", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_636", + "extensionAttributes": [], + "standardCode": { + "id": "Code_676", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_571", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_637", + "extensionAttributes": [], + "standardCode": { + "id": "Code_677", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_572", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_638", + "extensionAttributes": [], + "standardCode": { + "id": "Code_678", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_626", + "extensionAttributes": [], + "standardCode": { + "id": "Code_666", + "extensionAttributes": [], + "code": "C64809", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Sodium Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_66", + "extensionAttributes": [], + "name": "Chloride Measurement", + "label": "Chloride Measurement", + "synonyms": [ + "Chloride", + "CL" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CLBLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_573", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_640", + "extensionAttributes": [], + "standardCode": { + "id": "Code_680", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_574", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_641", + "extensionAttributes": [], + "standardCode": { + "id": "Code_681", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_575", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_642", + "extensionAttributes": [], + "standardCode": { + "id": "Code_682", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_576", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_643", + "extensionAttributes": [], + "standardCode": { + "id": "Code_683", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_577", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_644", + "extensionAttributes": [], + "standardCode": { + "id": "Code_684", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_578", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_645", + "extensionAttributes": [], + "standardCode": { + "id": "Code_685", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_579", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_646", + "extensionAttributes": [], + "standardCode": { + "id": "Code_686", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_580", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_647", + "extensionAttributes": [], + "standardCode": { + "id": "Code_687", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_581", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_648", + "extensionAttributes": [], + "standardCode": { + "id": "Code_688", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_582", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_649", + "extensionAttributes": [], + "standardCode": { + "id": "Code_689", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_583", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_650", + "extensionAttributes": [], + "standardCode": { + "id": "Code_690", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_584", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_651", + "extensionAttributes": [], + "standardCode": { + "id": "Code_691", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_639", + "extensionAttributes": [], + "standardCode": { + "id": "Code_679", + "extensionAttributes": [], + "code": "C64495", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Chloride Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_67", + "extensionAttributes": [], + "name": "Carbon Dioxide Measurement", + "label": "Carbon Dioxide Measurement", + "synonyms": [ + "Carbon Dioxide", + "CO2" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CO2BLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_585", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_653", + "extensionAttributes": [], + "standardCode": { + "id": "Code_693", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_586", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_654", + "extensionAttributes": [], + "standardCode": { + "id": "Code_694", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_587", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_655", + "extensionAttributes": [], + "standardCode": { + "id": "Code_695", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_588", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_656", + "extensionAttributes": [], + "standardCode": { + "id": "Code_696", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_589", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_657", + "extensionAttributes": [], + "standardCode": { + "id": "Code_697", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_590", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_658", + "extensionAttributes": [], + "standardCode": { + "id": "Code_698", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_591", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_659", + "extensionAttributes": [], + "standardCode": { + "id": "Code_699", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_592", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_660", + "extensionAttributes": [], + "standardCode": { + "id": "Code_700", + "extensionAttributes": [], + "code": "C64567", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_593", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_661", + "extensionAttributes": [], + "standardCode": { + "id": "Code_701", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_594", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_662", + "extensionAttributes": [], + "standardCode": { + "id": "Code_702", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_595", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_663", + "extensionAttributes": [], + "standardCode": { + "id": "Code_703", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_596", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_664", + "extensionAttributes": [], + "standardCode": { + "id": "Code_704", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_652", + "extensionAttributes": [], + "standardCode": { + "id": "Code_692", + "extensionAttributes": [], + "code": "C64545", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Carbon Dioxide Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_68", + "extensionAttributes": [], + "name": "Calcium Measurement", + "label": "Calcium Measurement", + "synonyms": [ + "Calcium", + "CA" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/CABLD", + "properties": [ + { + "id": "BiomedicalConceptProperty_597", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_666", + "extensionAttributes": [], + "standardCode": { + "id": "Code_706", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_598", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_667", + "extensionAttributes": [], + "standardCode": { + "id": "Code_707", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_599", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_668", + "extensionAttributes": [], + "standardCode": { + "id": "Code_708", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_600", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_669", + "extensionAttributes": [], + "standardCode": { + "id": "Code_709", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_601", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_670", + "extensionAttributes": [], + "standardCode": { + "id": "Code_710", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_602", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_671", + "extensionAttributes": [], + "standardCode": { + "id": "Code_711", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_603", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_672", + "extensionAttributes": [], + "standardCode": { + "id": "Code_712", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_604", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_673", + "extensionAttributes": [], + "standardCode": { + "id": "Code_713", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_605", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_674", + "extensionAttributes": [], + "standardCode": { + "id": "Code_714", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_606", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_675", + "extensionAttributes": [], + "standardCode": { + "id": "Code_715", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_607", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_676", + "extensionAttributes": [], + "standardCode": { + "id": "Code_716", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_608", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_677", + "extensionAttributes": [], + "standardCode": { + "id": "Code_717", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_665", + "extensionAttributes": [], + "standardCode": { + "id": "Code_705", + "extensionAttributes": [], + "code": "C64488", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Calcium Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_69", + "extensionAttributes": [], + "name": "Urea Nitrogen Measurement", + "label": "Urea Nitrogen Measurement", + "synonyms": [ + "Urea Nitrogen" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/UREANSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_609", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_679", + "extensionAttributes": [], + "standardCode": { + "id": "Code_719", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_610", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_680", + "extensionAttributes": [], + "standardCode": { + "id": "Code_720", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_611", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_681", + "extensionAttributes": [], + "standardCode": { + "id": "Code_721", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_612", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_682", + "extensionAttributes": [], + "standardCode": { + "id": "Code_722", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_613", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_683", + "extensionAttributes": [], + "standardCode": { + "id": "Code_723", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_614", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_684", + "extensionAttributes": [], + "standardCode": { + "id": "Code_724", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_615", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_685", + "extensionAttributes": [], + "standardCode": { + "id": "Code_725", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_616", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_686", + "extensionAttributes": [], + "standardCode": { + "id": "Code_726", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_617", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_687", + "extensionAttributes": [], + "standardCode": { + "id": "Code_727", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_618", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_688", + "extensionAttributes": [], + "standardCode": { + "id": "Code_728", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_619", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_689", + "extensionAttributes": [], + "standardCode": { + "id": "Code_729", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_620", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_690", + "extensionAttributes": [], + "standardCode": { + "id": "Code_730", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_678", + "extensionAttributes": [], + "standardCode": { + "id": "Code_718", + "extensionAttributes": [], + "code": "C125949", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Urea Nitrogen Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_70", + "extensionAttributes": [], + "name": "Total Protein Measurement", + "label": "Total Protein Measurement", + "synonyms": [ + "Protein" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/PROTSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_621", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_692", + "extensionAttributes": [], + "standardCode": { + "id": "Code_732", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_622", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_693", + "extensionAttributes": [], + "standardCode": { + "id": "Code_733", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_623", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_694", + "extensionAttributes": [], + "standardCode": { + "id": "Code_734", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_624", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_695", + "extensionAttributes": [], + "standardCode": { + "id": "Code_735", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_625", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_696", + "extensionAttributes": [], + "standardCode": { + "id": "Code_736", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_626", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_697", + "extensionAttributes": [], + "standardCode": { + "id": "Code_737", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_627", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_698", + "extensionAttributes": [], + "standardCode": { + "id": "Code_738", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_628", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_699", + "extensionAttributes": [], + "standardCode": { + "id": "Code_739", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_629", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_700", + "extensionAttributes": [], + "standardCode": { + "id": "Code_740", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_630", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_701", + "extensionAttributes": [], + "standardCode": { + "id": "Code_741", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_631", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_702", + "extensionAttributes": [], + "standardCode": { + "id": "Code_742", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_632", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_703", + "extensionAttributes": [], + "standardCode": { + "id": "Code_743", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_691", + "extensionAttributes": [], + "standardCode": { + "id": "Code_731", + "extensionAttributes": [], + "code": "C64858", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Total Protein Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_71", + "extensionAttributes": [], + "name": "Alkaline Phosphatase Measurement", + "label": "Alkaline Phosphatase Measurement", + "synonyms": [ + "Alkaline Phosphatase" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/ALPSERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_633", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_705", + "extensionAttributes": [], + "standardCode": { + "id": "Code_745", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_634", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_706", + "extensionAttributes": [], + "standardCode": { + "id": "Code_746", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_635", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_707", + "extensionAttributes": [], + "standardCode": { + "id": "Code_747", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_636", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_708", + "extensionAttributes": [], + "standardCode": { + "id": "Code_748", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_637", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_709", + "extensionAttributes": [], + "standardCode": { + "id": "Code_749", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_638", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_710", + "extensionAttributes": [], + "standardCode": { + "id": "Code_750", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_639", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_711", + "extensionAttributes": [], + "standardCode": { + "id": "Code_751", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_640", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_712", + "extensionAttributes": [], + "standardCode": { + "id": "Code_752", + "extensionAttributes": [], + "code": "C67365", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_641", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_713", + "extensionAttributes": [], + "standardCode": { + "id": "Code_753", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_642", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_714", + "extensionAttributes": [], + "standardCode": { + "id": "Code_754", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_643", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_715", + "extensionAttributes": [], + "standardCode": { + "id": "Code_755", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_644", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_716", + "extensionAttributes": [], + "standardCode": { + "id": "Code_756", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_704", + "extensionAttributes": [], + "standardCode": { + "id": "Code_744", + "extensionAttributes": [], + "code": "C64432", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Alkaline Phosphatase Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_72", + "extensionAttributes": [], + "name": "Urate Measurement", + "label": "Urate Measurement", + "synonyms": [ + "Urate", + "Uric Acid" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/URATESERPL", + "properties": [ + { + "id": "BiomedicalConceptProperty_645", + "name": "LBTESTCD", + "label": "LBTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_718", + "extensionAttributes": [], + "standardCode": { + "id": "Code_758", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_646", + "name": "LBTEST", + "label": "LBTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_719", + "extensionAttributes": [], + "standardCode": { + "id": "Code_759", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_647", + "name": "LBCAT", + "label": "LBCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_720", + "extensionAttributes": [], + "standardCode": { + "id": "Code_760", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_648", + "name": "LBORRES", + "label": "LBORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_721", + "extensionAttributes": [], + "standardCode": { + "id": "Code_761", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_649", + "name": "LBORRESU", + "label": "LBORRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_722", + "extensionAttributes": [], + "standardCode": { + "id": "Code_762", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBORRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_650", + "name": "LBSTRESC", + "label": "LBSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_723", + "extensionAttributes": [], + "standardCode": { + "id": "Code_763", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_651", + "name": "LBSTRESN", + "label": "LBSTRESN", + "isRequired": true, + "isEnabled": true, + "datatype": "float", + "responseCodes": [], + "code": { + "id": "AliasCode_724", + "extensionAttributes": [], + "standardCode": { + "id": "Code_764", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESN", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_652", + "name": "LBSTRESU", + "label": "LBSTRESU", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_725", + "extensionAttributes": [], + "standardCode": { + "id": "Code_765", + "extensionAttributes": [], + "code": "C48207", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSTRESU", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_653", + "name": "LBLOINC", + "label": "LBLOINC", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_726", + "extensionAttributes": [], + "standardCode": { + "id": "Code_766", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBLOINC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_654", + "name": "LBSPEC", + "label": "LBSPEC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_727", + "extensionAttributes": [], + "standardCode": { + "id": "Code_767", + "extensionAttributes": [], + "code": "C70713", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBSPEC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_655", + "name": "LBFAST", + "label": "LBFAST", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_728", + "extensionAttributes": [], + "standardCode": { + "id": "Code_768", + "extensionAttributes": [], + "code": "C93566", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBFAST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_656", + "name": "LBDTC", + "label": "LBDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_729", + "extensionAttributes": [], + "standardCode": { + "id": "Code_769", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "LBDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_717", + "extensionAttributes": [], + "standardCode": { + "id": "Code_757", + "extensionAttributes": [], + "code": "C64814", + "codeSystem": "/mdr/bc/packages/2025-07-01/biomedicalconcepts", + "codeSystemVersion": "2025-07-01", + "decode": "Urate Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_73", + "extensionAttributes": [], + "name": "Tumor Size Measurement", + "label": "Tumor Size Measurement", + "synonyms": [], + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/", + "properties": [], + "code": { + "id": "AliasCode_730", + "extensionAttributes": [], + "standardCode": { + "id": "Code_770", + "extensionAttributes": [], + "code": "C106303", + "codeSystem": "/mdr/bc/packages/2025-09-23/biomedicalconcepts", + "codeSystemVersion": "2025-09-23", + "decode": "Tumor Size Measurement", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_74", + "extensionAttributes": [], + "name": "Tumor Identification", + "label": "Tumor Identification", + "synonyms": [ + "TUMIDENT" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/TUMERGE", + "properties": [ + { + "id": "BiomedicalConceptProperty_657", + "name": "TUTESTCD", + "label": "TUTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_732", + "extensionAttributes": [], + "standardCode": { + "id": "Code_772", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_658", + "name": "TUTEST", + "label": "TUTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_733", + "extensionAttributes": [], + "standardCode": { + "id": "Code_773", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_659", + "name": "TUORRES", + "label": "TUORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_734", + "extensionAttributes": [], + "standardCode": { + "id": "Code_774", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_660", + "name": "TUSTRESC", + "label": "TUSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_735", + "extensionAttributes": [], + "standardCode": { + "id": "Code_775", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_661", + "name": "TULOC", + "label": "TULOC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_736", + "extensionAttributes": [], + "standardCode": { + "id": "Code_776", + "extensionAttributes": [], + "code": "C170500", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TULOC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_662", + "name": "TULAT", + "label": "TULAT", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_737", + "extensionAttributes": [], + "standardCode": { + "id": "Code_777", + "extensionAttributes": [], + "code": "C25185", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TULAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_663", + "name": "TUDIR", + "label": "TUDIR", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_738", + "extensionAttributes": [], + "standardCode": { + "id": "Code_778", + "extensionAttributes": [], + "code": "C54215", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUDIR", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_664", + "name": "TUMETHOD", + "label": "TUMETHOD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_739", + "extensionAttributes": [], + "standardCode": { + "id": "Code_779", + "extensionAttributes": [], + "code": "C82535", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUMETHOD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_665", + "name": "TUEVAL", + "label": "TUEVAL", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_740", + "extensionAttributes": [], + "standardCode": { + "id": "Code_780", + "extensionAttributes": [], + "code": "C51824", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUEVAL", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_666", + "name": "TUEVALID", + "label": "TUEVALID", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_741", + "extensionAttributes": [], + "standardCode": { + "id": "Code_781", + "extensionAttributes": [], + "code": "C117043", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUEVALID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_667", + "name": "TUREFID", + "label": "TUREFID", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_742", + "extensionAttributes": [], + "standardCode": { + "id": "Code_782", + "extensionAttributes": [], + "code": "C117442", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUREFID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_668", + "name": "TULNKID", + "label": "TULNKID", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_743", + "extensionAttributes": [], + "standardCode": { + "id": "Code_783", + "extensionAttributes": [], + "code": "C117436", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TULNKID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_669", + "name": "TUDTC", + "label": "TUDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_744", + "extensionAttributes": [], + "standardCode": { + "id": "Code_784", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-07-01/datasetspecializations", + "codeSystemVersion": "2025-07-01", + "decode": "TUDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_731", + "extensionAttributes": [], + "standardCode": { + "id": "Code_771", + "extensionAttributes": [], + "code": "C94523", + "codeSystem": "/mdr/bc/packages/2024-06-27/biomedicalconcepts", + "codeSystemVersion": "2024-06-27", + "decode": "Tumor Identification", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_75", + "extensionAttributes": [], + "name": "Response in Non-Target Lesion", + "label": "Response in Non-Target Lesion", + "synonyms": [ + "NTRGRESP", + "Non-Target Response" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/NTRGRESP", + "properties": [ + { + "id": "BiomedicalConceptProperty_670", + "name": "RSTESTCD", + "label": "RSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_746", + "extensionAttributes": [], + "standardCode": { + "id": "Code_786", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_671", + "name": "RSTEST", + "label": "RSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_747", + "extensionAttributes": [], + "standardCode": { + "id": "Code_787", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_672", + "name": "RSCAT", + "label": "RSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_748", + "extensionAttributes": [], + "standardCode": { + "id": "Code_788", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_673", + "name": "RSORRES", + "label": "RSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_749", + "extensionAttributes": [], + "standardCode": { + "id": "Code_789", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_674", + "name": "RSSTRESC", + "label": "RSSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_750", + "extensionAttributes": [], + "standardCode": { + "id": "Code_790", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_675", + "name": "RSEVAL", + "label": "RSEVAL", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_751", + "extensionAttributes": [], + "standardCode": { + "id": "Code_791", + "extensionAttributes": [], + "code": "C51824", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVAL", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_676", + "name": "RSEVALID", + "label": "RSEVALID", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_752", + "extensionAttributes": [], + "standardCode": { + "id": "Code_792", + "extensionAttributes": [], + "code": "C117043", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVALID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_677", + "name": "RSDTC", + "label": "RSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_753", + "extensionAttributes": [], + "standardCode": { + "id": "Code_793", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_745", + "extensionAttributes": [], + "standardCode": { + "id": "Code_785", + "extensionAttributes": [], + "code": "C94535", + "codeSystem": "/mdr/bc/packages/2024-06-27/biomedicalconcepts", + "codeSystemVersion": "2024-06-27", + "decode": "Response in Non-Target Lesion", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_76", + "extensionAttributes": [], + "name": "Response in Target Lesion", + "label": "Response in Target Lesion", + "synonyms": [ + "TRGRESP", + "Target Response" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/TRGRESP", + "properties": [ + { + "id": "BiomedicalConceptProperty_678", + "name": "RSTESTCD", + "label": "RSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_755", + "extensionAttributes": [], + "standardCode": { + "id": "Code_795", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_679", + "name": "RSTEST", + "label": "RSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_756", + "extensionAttributes": [], + "standardCode": { + "id": "Code_796", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_680", + "name": "RSCAT", + "label": "RSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_757", + "extensionAttributes": [], + "standardCode": { + "id": "Code_797", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_681", + "name": "RSORRES", + "label": "RSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_758", + "extensionAttributes": [], + "standardCode": { + "id": "Code_798", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_682", + "name": "RSSTRESC", + "label": "RSSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_759", + "extensionAttributes": [], + "standardCode": { + "id": "Code_799", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_683", + "name": "RSEVAL", + "label": "RSEVAL", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_760", + "extensionAttributes": [], + "standardCode": { + "id": "Code_800", + "extensionAttributes": [], + "code": "C51824", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVAL", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_684", + "name": "RSEVALID", + "label": "RSEVALID", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_761", + "extensionAttributes": [], + "standardCode": { + "id": "Code_801", + "extensionAttributes": [], + "code": "C117043", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVALID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_685", + "name": "RSDTC", + "label": "RSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_762", + "extensionAttributes": [], + "standardCode": { + "id": "Code_802", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_754", + "extensionAttributes": [], + "standardCode": { + "id": "Code_794", + "extensionAttributes": [], + "code": "C94534", + "codeSystem": "/mdr/bc/packages/2024-06-27/biomedicalconcepts", + "codeSystemVersion": "2024-06-27", + "decode": "Response in Target Lesion", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + }, + { + "id": "BiomedicalConcept_77", + "extensionAttributes": [], + "name": "Overall Response", + "label": "Overall Response", + "synonyms": [ + "OVRLRESP" + ], + "reference": "https://api.library.cdisc.org/api/cosmos/v2/mdr/specializations/sdtm/datasetspecializations/OVRLRESP", + "properties": [ + { + "id": "BiomedicalConceptProperty_686", + "name": "RSLNKGRP", + "label": "RSLNKGRP", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_764", + "extensionAttributes": [], + "standardCode": { + "id": "Code_804", + "extensionAttributes": [], + "code": "C117394", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSLNKGRP", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_687", + "name": "RSTESTCD", + "label": "RSTESTCD", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_765", + "extensionAttributes": [], + "standardCode": { + "id": "Code_805", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTESTCD", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_688", + "name": "RSTEST", + "label": "RSTEST", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_766", + "extensionAttributes": [], + "standardCode": { + "id": "Code_806", + "extensionAttributes": [], + "code": "", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSTEST", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_689", + "name": "RSCAT", + "label": "RSCAT", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_767", + "extensionAttributes": [], + "standardCode": { + "id": "Code_807", + "extensionAttributes": [], + "code": "C25372", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSCAT", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_690", + "name": "RSORRES", + "label": "RSORRES", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_768", + "extensionAttributes": [], + "standardCode": { + "id": "Code_808", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSORRES", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_691", + "name": "RSSTRESC", + "label": "RSSTRESC", + "isRequired": true, + "isEnabled": true, + "datatype": "text", + "responseCodes": [], + "code": { + "id": "AliasCode_769", + "extensionAttributes": [], + "standardCode": { + "id": "Code_809", + "extensionAttributes": [], + "code": "C70856", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSSTRESC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_692", + "name": "RSEVAL", + "label": "RSEVAL", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_770", + "extensionAttributes": [], + "standardCode": { + "id": "Code_810", + "extensionAttributes": [], + "code": "C51824", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVAL", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_693", + "name": "RSEVALID", + "label": "RSEVALID", + "isRequired": false, + "isEnabled": false, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_771", + "extensionAttributes": [], + "standardCode": { + "id": "Code_811", + "extensionAttributes": [], + "code": "C117043", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSEVALID", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + }, + { + "id": "BiomedicalConceptProperty_694", + "name": "RSDTC", + "label": "RSDTC", + "isRequired": true, + "isEnabled": true, + "datatype": "", + "responseCodes": [], + "code": { + "id": "AliasCode_772", + "extensionAttributes": [], + "standardCode": { + "id": "Code_812", + "extensionAttributes": [], + "code": "C82515", + "codeSystem": "/mdr/specializations/sdtm/packages/2025-12-16/datasetspecializations", + "codeSystemVersion": "2025-12-16", + "decode": "RSDTC", + "instanceType": "Code" + }, + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConceptProperty" + } + ], + "code": { + "id": "AliasCode_763", + "extensionAttributes": [], + "standardCode": { + "id": "Code_803", + "extensionAttributes": [], + "code": "C96613", + "codeSystem": "/mdr/bc/packages/2024-06-27/biomedicalconcepts", + "codeSystemVersion": "2024-06-27", + "decode": "Overall Response", + "instanceType": "Code" + }, + "standardCodeAliases": [], + "instanceType": "AliasCode" + }, + "notes": [], + "instanceType": "BiomedicalConcept" + } + ], + "bcSurrogates": [ + { + "id": "BiomedicalConceptSurrogate_1", + "extensionAttributes": [], + "name": "Magnesium Measurement", + "label": "Magnesium Measurement (C64840)", + "description": "A quantitative measurement of the amount of magnesium present in a sample.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C64840", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_2", + "extensionAttributes": [], + "name": "Hepatitis B DNA Measurement", + "label": "Hepatitis B DNA Measurement (C103404)", + "description": "A measurement of the Hepatitis B virus DNA in a biological specimen", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C103404", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_3", + "extensionAttributes": [], + "name": "Hepatitis B Surface Antigen", + "label": "Hepatitis B Virus Surface Antigen Measurement (C64850)", + "description": "A measurement of the surface antigen reaction of a biological specimen to the Hepatitis B virus.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C64850", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_4", + "extensionAttributes": [], + "name": "HBsAb+", + "label": "Hepatitis B Surface Antibody Positive (C153243)", + "description": "An indication that antibodies that recognize a hepatitis B virus surface protein have been detected in a sample.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C153243", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_5", + "extensionAttributes": [], + "name": "HBsAb-", + "label": "Hepatitis B Surface Antibody Negative (C153244)", + "description": "An indication that antibodies that recognize a hepatitis B virus surface protein have not been detected in a sample.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C153244", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_6", + "extensionAttributes": [], + "name": "HCV RNA Positive", + "label": "HCV RNA Positive (C162042)", + "description": "An indication that hepatitis C RNA has been detected in a sample.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C162042", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_7", + "extensionAttributes": [], + "name": "PFTs with DLCO", + "label": "Pulmonary function tests (PFTs) that include DLCO (Diffusing Capacity of the Lungs for Carbon Monoxide) (C38081)", + "description": "A broad range of tests that are performed to assess how well lungs inhale and exhale air and how efficiently they transfer oxygen into the blood.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C38081", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + }, + { + "id": "BiomedicalConceptSurrogate_8", + "extensionAttributes": [], + "name": "Dietary Phosphorus Measurement", + "label": "Dietary Phosphorus Measurement (C184481)", + "description": "A determination of the phosphorus in a nutritional product or meal, or a portion thereof.", + "reference": "https://evsexplore.semantics.cancer.gov/evsexplore/concept/ncit/C184481", + "notes": [], + "instanceType": "BiomedicalConceptSurrogate" + } + ], + "notes": [], + "instanceType": "StudyVersion" + } + ], + "documentedBy": [], + "instanceType": "Study" + }, + "usdmVersion": "4.0", + "systemName": "SOA Workbench", + "systemVersion": "1.0.0" +} diff --git a/output/report/NCT01797120_validation_report.xlsx b/output/report/NCT01797120_validation_report.xlsx new file mode 100644 index 00000000..f144fc00 Binary files /dev/null and b/output/report/NCT01797120_validation_report.xlsx differ diff --git a/requirements.txt b/requirements.txt index fe936884..4e4762b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ pydantic_core==2.41.5 python-dateutil==2.9.0.post0 python-dotenv==1.2.1 python-multipart==0.0.22 -requests==2.32.5 +requests>=2.33.0 six==1.17.0 starlette==0.52.1 typing-inspection==0.4.2 diff --git a/schema/USDM_API_v4.0.0.json b/schema/USDM_API_v4.0.0.json new file mode 100644 index 00000000..e5994177 --- /dev/null +++ b/schema/USDM_API_v4.0.0.json @@ -0,0 +1,14114 @@ +{ + "openapi": "3.1.0", + "info": { + "title": "DDF USDM API", + "description": "A simple TransCelerate Digital Data Flow (DDF) Study Definitions Repository API.", + "version": "4.0.0" + }, + "paths": { + "/v4/studyDefinitions": { + "post": { + "tags": [ + "Production" + ], + "summary": "Create a study", + "description": "Create an entire study including all child element with a single post", + "operationId": "create_study_v4_studyDefinitions_post", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wrapper-Input" + } + } + }, + "required": true + }, + "responses": { + "201": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "string", + "format": "uuid", + "title": "Response Create Study V4 Studydefinitions Post" + } + } + } + }, + "400": { + "description": "Bad Request", + "status_code": "string", + "detail": "string", + "message": "string" + }, + "401": { + "description": "Unauthorized", + "status_code": "string", + "detail": "string", + "message": "string" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/v4/studyDefinitions/{studyId}": { + "put": { + "tags": [ + "Production" + ], + "summary": "Update a study", + "description": "Update an entire study including all child element with a single put", + "operationId": "update_study_v4_studyDefinitions__studyId__put", + "parameters": [ + { + "name": "studyId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Studyid" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wrapper-Input" + } + } + } + }, + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "string", + "format": "uuid", + "title": "Response Update Study V4 Studydefinitions Studyid Put" + } + } + } + }, + "400": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Bad Request" + }, + "401": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + }, + "get": { + "tags": [ + "Production" + ], + "summary": "Return a study", + "description": "Return an entire study including all child elements", + "operationId": "read_full_study_v4_studyDefinitions__studyId__get", + "parameters": [ + { + "name": "studyId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Studyid" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Wrapper-Output" + } + } + } + }, + "400": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Bad Request" + }, + "401": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/v4/studyDefinitions/{studyId}/history": { + "get": { + "tags": [ + "Production" + ], + "summary": "Returns the study history", + "description": "Returns the history for the specified study", + "operationId": "read_study_history_v4_studyDefinitions__studyId__history_get", + "parameters": [ + { + "name": "studyId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "title": "Studyid" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Wrapper-Output" + }, + "title": "Response Read Study History V4 Studydefinitions Studyid History Get" + } + } + } + }, + "400": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Bad Request" + }, + "401": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + }, + "/v4/studyDesigns": { + "get": { + "tags": [ + "Production" + ], + "summary": "Study designs for a study", + "description": "Returns all the study designs for a specified study.", + "operationId": "search_study_design_v4_studyDesigns_get", + "parameters": [ + { + "name": "studyId", + "in": "query", + "required": true, + "schema": { + "type": "string", + "format": "uuid", + "title": "Studyid" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/InterventionalStudyDesign-Output" + }, + { + "$ref": "#/components/schemas/ObservationalStudyDesign-Output" + } + ] + }, + "title": "Response Search Study Design V4 Studydesigns Get" + } + } + } + }, + "400": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Bad Request" + }, + "401": { + "status_code": "string", + "detail": "string", + "message": "string", + "description": "Unauthorized" + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + } + } + } + }, + "components": { + "schemas": { + "Abbreviation-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "abbreviatedText": { + "type": "string", + "minLength": 1, + "title": "Abbreviatedtext" + }, + "expandedText": { + "type": "string", + "minLength": 1, + "title": "Expandedtext" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Abbreviation" + ], + "const": "Abbreviation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "abbreviatedText", + "expandedText", + "instanceType" + ], + "title": "Abbreviation" + }, + "Abbreviation-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "abbreviatedText": { + "type": "string", + "minLength": 1, + "title": "Abbreviatedtext" + }, + "expandedText": { + "type": "string", + "minLength": 1, + "title": "Expandedtext" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Abbreviation" + ], + "const": "Abbreviation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "abbreviatedText", + "expandedText", + "instanceType" + ], + "title": "Abbreviation" + }, + "Activity-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "definedProcedures": { + "items": { + "$ref": "#/components/schemas/Procedure-Input" + }, + "type": "array", + "title": "Definedprocedures", + "default": [] + }, + "biomedicalConceptIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Biomedicalconceptids", + "default": [] + }, + "bcCategoryIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Bccategoryids", + "default": [] + }, + "bcSurrogateIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Bcsurrogateids", + "default": [] + }, + "timelineId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Activity" + ], + "const": "Activity", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "Activity" + }, + "Activity-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "definedProcedures": { + "items": { + "$ref": "#/components/schemas/Procedure-Output" + }, + "type": "array", + "title": "Definedprocedures", + "default": [] + }, + "biomedicalConceptIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Biomedicalconceptids", + "default": [] + }, + "bcCategoryIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Bccategoryids", + "default": [] + }, + "bcSurrogateIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Bcsurrogateids", + "default": [] + }, + "timelineId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Activity" + ], + "const": "Activity", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "Activity" + }, + "Address-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "lines": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Lines", + "default": [] + }, + "city": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "City" + }, + "district": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "District" + }, + "state": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "State" + }, + "postalCode": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Postalcode" + }, + "country": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Address" + ], + "const": "Address", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "Address" + }, + "Address-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "lines": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Lines", + "default": [] + }, + "city": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "City" + }, + "district": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "District" + }, + "state": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "State" + }, + "postalCode": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Postalcode" + }, + "country": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Address" + ], + "const": "Address", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "Address" + }, + "AdministrableProduct-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "pharmacologicClass": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "administrableDoseForm": { + "$ref": "#/components/schemas/AliasCode-Input" + }, + "productDesignation": { + "$ref": "#/components/schemas/Code-Input" + }, + "sourcing": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "properties": { + "items": { + "$ref": "#/components/schemas/AdministrableProductProperty-Input" + }, + "type": "array", + "title": "Properties", + "default": [] + }, + "identifiers": { + "items": { + "$ref": "#/components/schemas/AdministrableProductIdentifier-Input" + }, + "type": "array", + "title": "Identifiers", + "default": [] + }, + "ingredients": { + "items": { + "$ref": "#/components/schemas/Ingredient-Input" + }, + "type": "array", + "title": "Ingredients", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProduct" + ], + "const": "AdministrableProduct", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "administrableDoseForm", + "productDesignation", + "instanceType" + ], + "title": "AdministrableProduct" + }, + "AdministrableProduct-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "pharmacologicClass": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "administrableDoseForm": { + "$ref": "#/components/schemas/AliasCode-Output" + }, + "productDesignation": { + "$ref": "#/components/schemas/Code-Output" + }, + "sourcing": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "properties": { + "items": { + "$ref": "#/components/schemas/AdministrableProductProperty-Output" + }, + "type": "array", + "title": "Properties", + "default": [] + }, + "identifiers": { + "items": { + "$ref": "#/components/schemas/AdministrableProductIdentifier-Output" + }, + "type": "array", + "title": "Identifiers", + "default": [] + }, + "ingredients": { + "items": { + "$ref": "#/components/schemas/Ingredient-Output" + }, + "type": "array", + "title": "Ingredients", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProduct" + ], + "const": "AdministrableProduct", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "administrableDoseForm", + "productDesignation", + "instanceType" + ], + "title": "AdministrableProduct" + }, + "AdministrableProductIdentifier-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProductIdentifier" + ], + "const": "AdministrableProductIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "instanceType" + ], + "title": "AdministrableProductIdentifier" + }, + "AdministrableProductIdentifier-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProductIdentifier" + ], + "const": "AdministrableProductIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "instanceType" + ], + "title": "AdministrableProductIdentifier" + }, + "AdministrableProductProperty-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "text": { + "type": "string", + "title": "Text" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "quantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProductProperty" + ], + "const": "AdministrableProductProperty", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "type", + "instanceType" + ], + "title": "AdministrableProductProperty" + }, + "AdministrableProductProperty-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "text": { + "type": "string", + "title": "Text" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "quantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "AdministrableProductProperty" + ], + "const": "AdministrableProductProperty", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "type", + "instanceType" + ], + "title": "AdministrableProductProperty" + }, + "Administration-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "duration": { + "$ref": "#/components/schemas/Duration-Input" + }, + "dose": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "type": "null" + } + ] + }, + "route": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "frequency": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "administrableProductId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Administrableproductid" + }, + "medicalDeviceId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Medicaldeviceid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Administration" + ], + "const": "Administration", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "duration", + "instanceType" + ], + "title": "Administration" + }, + "Administration-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "duration": { + "$ref": "#/components/schemas/Duration-Output" + }, + "dose": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "type": "null" + } + ] + }, + "route": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "frequency": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "administrableProductId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Administrableproductid" + }, + "medicalDeviceId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Medicaldeviceid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Administration" + ], + "const": "Administration", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "duration", + "instanceType" + ], + "title": "Administration" + }, + "AliasCode-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "standardCode": { + "$ref": "#/components/schemas/Code-Input" + }, + "standardCodeAliases": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Standardcodealiases", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AliasCode" + ], + "const": "AliasCode", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "standardCode", + "instanceType" + ], + "title": "AliasCode" + }, + "AliasCode-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "standardCode": { + "$ref": "#/components/schemas/Code-Output" + }, + "standardCodeAliases": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Standardcodealiases", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AliasCode" + ], + "const": "AliasCode", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "standardCode", + "instanceType" + ], + "title": "AliasCode" + }, + "AnalysisPopulation-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "subsetOfIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Subsetofids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AnalysisPopulation" + ], + "const": "AnalysisPopulation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "AnalysisPopulation" + }, + "AnalysisPopulation-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "subsetOfIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Subsetofids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "AnalysisPopulation" + ], + "const": "AnalysisPopulation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "AnalysisPopulation" + }, + "AssignedPerson-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "personName": { + "$ref": "#/components/schemas/PersonName-Input" + }, + "jobTitle": { + "type": "string", + "title": "Jobtitle" + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Organizationid" + }, + "instanceType": { + "type": "string", + "enum": [ + "AssignedPerson" + ], + "const": "AssignedPerson", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "personName", + "jobTitle", + "instanceType" + ], + "title": "AssignedPerson" + }, + "AssignedPerson-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "personName": { + "$ref": "#/components/schemas/PersonName-Output" + }, + "jobTitle": { + "type": "string", + "title": "Jobtitle" + }, + "organizationId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Organizationid" + }, + "instanceType": { + "type": "string", + "enum": [ + "AssignedPerson" + ], + "const": "AssignedPerson", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "personName", + "jobTitle", + "instanceType" + ], + "title": "AssignedPerson" + }, + "BiomedicalConcept-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "synonyms": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Synonyms", + "default": [] + }, + "reference": { + "type": "string", + "title": "Reference" + }, + "properties": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptProperty-Input" + }, + "type": "array", + "title": "Properties", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/AliasCode-Input" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConcept" + ], + "const": "BiomedicalConcept", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "reference", + "code", + "instanceType" + ], + "title": "BiomedicalConcept" + }, + "BiomedicalConcept-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "synonyms": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Synonyms", + "default": [] + }, + "reference": { + "type": "string", + "title": "Reference" + }, + "properties": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptProperty-Output" + }, + "type": "array", + "title": "Properties", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/AliasCode-Output" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConcept" + ], + "const": "BiomedicalConcept", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "reference", + "code", + "instanceType" + ], + "title": "BiomedicalConcept" + }, + "BiomedicalConceptCategory-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "memberIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Memberids", + "default": [] + }, + "code": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptCategory" + ], + "const": "BiomedicalConceptCategory", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "BiomedicalConceptCategory" + }, + "BiomedicalConceptCategory-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "memberIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Memberids", + "default": [] + }, + "code": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptCategory" + ], + "const": "BiomedicalConceptCategory", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "BiomedicalConceptCategory" + }, + "BiomedicalConceptProperty-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "isRequired": { + "type": "boolean", + "title": "Isrequired" + }, + "isEnabled": { + "type": "boolean", + "title": "Isenabled" + }, + "datatype": { + "type": "string", + "title": "Datatype" + }, + "responseCodes": { + "items": { + "$ref": "#/components/schemas/ResponseCode-Input" + }, + "type": "array", + "title": "Responsecodes", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/AliasCode-Input" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptProperty" + ], + "const": "BiomedicalConceptProperty", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRequired", + "isEnabled", + "datatype", + "code", + "instanceType" + ], + "title": "BiomedicalConceptProperty" + }, + "BiomedicalConceptProperty-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "isRequired": { + "type": "boolean", + "title": "Isrequired" + }, + "isEnabled": { + "type": "boolean", + "title": "Isenabled" + }, + "datatype": { + "type": "string", + "title": "Datatype" + }, + "responseCodes": { + "items": { + "$ref": "#/components/schemas/ResponseCode-Output" + }, + "type": "array", + "title": "Responsecodes", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/AliasCode-Output" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptProperty" + ], + "const": "BiomedicalConceptProperty", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRequired", + "isEnabled", + "datatype", + "code", + "instanceType" + ], + "title": "BiomedicalConceptProperty" + }, + "BiomedicalConceptSurrogate-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "reference": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reference" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptSurrogate" + ], + "const": "BiomedicalConceptSurrogate", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "BiomedicalConceptSurrogate" + }, + "BiomedicalConceptSurrogate-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "reference": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reference" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "BiomedicalConceptSurrogate" + ], + "const": "BiomedicalConceptSurrogate", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "BiomedicalConceptSurrogate" + }, + "BiospecimenRetention-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "isRetained": { + "type": "boolean", + "title": "Isretained" + }, + "includesDNA": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Includesdna" + }, + "instanceType": { + "type": "string", + "enum": [ + "BiospecimenRetention" + ], + "const": "BiospecimenRetention", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRetained", + "instanceType" + ], + "title": "BiospecimenRetention" + }, + "BiospecimenRetention-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "isRetained": { + "type": "boolean", + "title": "Isretained" + }, + "includesDNA": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Includesdna" + }, + "instanceType": { + "type": "string", + "enum": [ + "BiospecimenRetention" + ], + "const": "BiospecimenRetention", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRetained", + "instanceType" + ], + "title": "BiospecimenRetention" + }, + "Characteristic-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Characteristic" + ], + "const": "Characteristic", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "Characteristic" + }, + "Characteristic-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Characteristic" + ], + "const": "Characteristic", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "Characteristic" + }, + "Code-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "code": { + "type": "string", + "title": "Code" + }, + "codeSystem": { + "type": "string", + "title": "Codesystem" + }, + "codeSystemVersion": { + "type": "string", + "title": "Codesystemversion" + }, + "decode": { + "type": "string", + "title": "Decode" + }, + "instanceType": { + "type": "string", + "enum": [ + "Code" + ], + "const": "Code", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "code", + "codeSystem", + "codeSystemVersion", + "decode", + "instanceType" + ], + "title": "Code" + }, + "Code-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "code": { + "type": "string", + "title": "Code" + }, + "codeSystem": { + "type": "string", + "title": "Codesystem" + }, + "codeSystemVersion": { + "type": "string", + "title": "Codesystemversion" + }, + "decode": { + "type": "string", + "title": "Decode" + }, + "instanceType": { + "type": "string", + "enum": [ + "Code" + ], + "const": "Code", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "code", + "codeSystem", + "codeSystemVersion", + "decode", + "instanceType" + ], + "title": "Code" + }, + "CommentAnnotation-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "CommentAnnotation" + ], + "const": "CommentAnnotation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "instanceType" + ], + "title": "CommentAnnotation" + }, + "CommentAnnotation-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "CommentAnnotation" + ], + "const": "CommentAnnotation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "instanceType" + ], + "title": "CommentAnnotation" + }, + "Condition-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "contextIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Contextids", + "default": [] + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Condition" + ], + "const": "Condition", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "Condition" + }, + "Condition-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "contextIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Contextids", + "default": [] + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Condition" + ], + "const": "Condition", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "Condition" + }, + "ConditionAssignment-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "condition": { + "type": "string", + "title": "Condition" + }, + "conditionTargetId": { + "type": "string", + "title": "Conditiontargetid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ConditionAssignment" + ], + "const": "ConditionAssignment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "condition", + "conditionTargetId", + "instanceType" + ], + "title": "ConditionAssignment" + }, + "ConditionAssignment-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "condition": { + "type": "string", + "title": "Condition" + }, + "conditionTargetId": { + "type": "string", + "title": "Conditiontargetid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ConditionAssignment" + ], + "const": "ConditionAssignment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "condition", + "conditionTargetId", + "instanceType" + ], + "title": "ConditionAssignment" + }, + "DocumentContentReference-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "sectionNumber": { + "type": "string", + "title": "Sectionnumber" + }, + "sectionTitle": { + "type": "string", + "title": "Sectiontitle" + }, + "appliesToId": { + "type": "string", + "title": "Appliestoid" + }, + "instanceType": { + "type": "string", + "enum": [ + "DocumentContentReference" + ], + "const": "DocumentContentReference", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "sectionNumber", + "sectionTitle", + "appliesToId", + "instanceType" + ], + "title": "DocumentContentReference" + }, + "DocumentContentReference-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "sectionNumber": { + "type": "string", + "title": "Sectionnumber" + }, + "sectionTitle": { + "type": "string", + "title": "Sectiontitle" + }, + "appliesToId": { + "type": "string", + "title": "Appliestoid" + }, + "instanceType": { + "type": "string", + "enum": [ + "DocumentContentReference" + ], + "const": "DocumentContentReference", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "sectionNumber", + "sectionTitle", + "appliesToId", + "instanceType" + ], + "title": "DocumentContentReference" + }, + "Duration-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "quantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ], + "title": "Quantity" + }, + "durationWillVary": { + "type": "boolean", + "title": "Durationwillvary" + }, + "reasonDurationWillVary": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reasondurationwillvary" + }, + "instanceType": { + "type": "string", + "enum": [ + "Duration" + ], + "const": "Duration", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "durationWillVary", + "instanceType" + ], + "title": "Duration" + }, + "Duration-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "quantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ], + "title": "Quantity" + }, + "durationWillVary": { + "type": "boolean", + "title": "Durationwillvary" + }, + "reasonDurationWillVary": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reasondurationwillvary" + }, + "instanceType": { + "type": "string", + "enum": [ + "Duration" + ], + "const": "Duration", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "durationWillVary", + "instanceType" + ], + "title": "Duration" + }, + "EligibilityCriterion-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "category": { + "$ref": "#/components/schemas/Code-Input" + }, + "identifier": { + "type": "string", + "title": "Identifier" + }, + "criterionItemId": { + "type": "string", + "title": "Criterionitemid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "EligibilityCriterion" + ], + "const": "EligibilityCriterion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "category", + "identifier", + "criterionItemId", + "instanceType" + ], + "title": "EligibilityCriterion" + }, + "EligibilityCriterion-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "category": { + "$ref": "#/components/schemas/Code-Output" + }, + "identifier": { + "type": "string", + "title": "Identifier" + }, + "criterionItemId": { + "type": "string", + "title": "Criterionitemid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "EligibilityCriterion" + ], + "const": "EligibilityCriterion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "category", + "identifier", + "criterionItemId", + "instanceType" + ], + "title": "EligibilityCriterion" + }, + "EligibilityCriterionItem-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "EligibilityCriterionItem" + ], + "const": "EligibilityCriterionItem", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "EligibilityCriterionItem" + }, + "EligibilityCriterionItem-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "EligibilityCriterionItem" + ], + "const": "EligibilityCriterionItem", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "EligibilityCriterionItem" + }, + "Encounter-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "scheduledAtId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Scheduledatid" + }, + "environmentalSettings": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Environmentalsettings", + "default": [] + }, + "contactModes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Contactmodes", + "default": [] + }, + "transitionStartRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Input" + }, + { + "type": "null" + } + ] + }, + "transitionEndRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Input" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Encounter" + ], + "const": "Encounter", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "instanceType" + ], + "title": "Encounter" + }, + "Encounter-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "scheduledAtId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Scheduledatid" + }, + "environmentalSettings": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Environmentalsettings", + "default": [] + }, + "contactModes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Contactmodes", + "default": [] + }, + "transitionStartRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Output" + }, + { + "type": "null" + } + ] + }, + "transitionEndRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Output" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Encounter" + ], + "const": "Encounter", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "instanceType" + ], + "title": "Encounter" + }, + "Endpoint-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "purpose": { + "type": "string", + "title": "Purpose" + }, + "level": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "Endpoint" + ], + "const": "Endpoint", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "purpose", + "level", + "instanceType" + ], + "title": "Endpoint" + }, + "Endpoint-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "purpose": { + "type": "string", + "title": "Purpose" + }, + "level": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "Endpoint" + ], + "const": "Endpoint", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "purpose", + "level", + "instanceType" + ], + "title": "Endpoint" + }, + "Estimand-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "populationSummary": { + "type": "string", + "title": "Populationsummary" + }, + "analysisPopulationId": { + "type": "string", + "title": "Analysispopulationid" + }, + "interventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Interventionids" + }, + "variableOfInterestId": { + "type": "string", + "title": "Variableofinterestid" + }, + "intercurrentEvents": { + "items": { + "$ref": "#/components/schemas/IntercurrentEvent-Input" + }, + "type": "array", + "title": "Intercurrentevents" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Estimand" + ], + "const": "Estimand", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "populationSummary", + "analysisPopulationId", + "interventionIds", + "variableOfInterestId", + "intercurrentEvents", + "instanceType" + ], + "title": "Estimand" + }, + "Estimand-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "populationSummary": { + "type": "string", + "title": "Populationsummary" + }, + "analysisPopulationId": { + "type": "string", + "title": "Analysispopulationid" + }, + "interventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Interventionids" + }, + "variableOfInterestId": { + "type": "string", + "title": "Variableofinterestid" + }, + "intercurrentEvents": { + "items": { + "$ref": "#/components/schemas/IntercurrentEvent-Output" + }, + "type": "array", + "title": "Intercurrentevents" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Estimand" + ], + "const": "Estimand", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "populationSummary", + "analysisPopulationId", + "interventionIds", + "variableOfInterestId", + "intercurrentEvents", + "instanceType" + ], + "title": "Estimand" + }, + "ExtensionAttribute-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "url": { + "type": "string", + "title": "Url" + }, + "valueString": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Valuestring" + }, + "valueBoolean": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Valueboolean" + }, + "valueInteger": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Valueinteger" + }, + "valueId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Valueid" + }, + "valueQuantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "type": "null" + } + ] + }, + "valueRange": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ] + }, + "valueCode": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "valueAliasCode": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "valueExtensionClass": { + "anyOf": [ + { + "$ref": "#/components/schemas/ExtensionClass-Input" + }, + { + "type": "null" + } + ] + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "ExtensionAttribute" + ], + "const": "ExtensionAttribute", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "url", + "instanceType" + ], + "title": "ExtensionAttribute" + }, + "ExtensionAttribute-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "url": { + "type": "string", + "title": "Url" + }, + "valueString": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Valuestring" + }, + "valueBoolean": { + "anyOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ], + "title": "Valueboolean" + }, + "valueInteger": { + "anyOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ], + "title": "Valueinteger" + }, + "valueId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Valueid" + }, + "valueQuantity": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "type": "null" + } + ] + }, + "valueRange": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ] + }, + "valueCode": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "valueAliasCode": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "valueExtensionClass": { + "anyOf": [ + { + "$ref": "#/components/schemas/ExtensionClass-Output" + }, + { + "type": "null" + } + ] + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "ExtensionAttribute" + ], + "const": "ExtensionAttribute", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "url", + "instanceType" + ], + "title": "ExtensionAttribute" + }, + "ExtensionClass-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "url": { + "type": "string", + "title": "Url" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes" + }, + "instanceType": { + "type": "string", + "enum": [ + "ExtensionClass" + ], + "const": "ExtensionClass", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "url", + "extensionAttributes", + "instanceType" + ], + "title": "ExtensionClass" + }, + "ExtensionClass-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "url": { + "type": "string", + "title": "Url" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes" + }, + "instanceType": { + "type": "string", + "enum": [ + "ExtensionClass" + ], + "const": "ExtensionClass", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "url", + "extensionAttributes", + "instanceType" + ], + "title": "ExtensionClass" + }, + "GeographicScope-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "code": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "GeographicScope" + ], + "const": "GeographicScope", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "type", + "instanceType" + ], + "title": "GeographicScope" + }, + "GeographicScope-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "code": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "GeographicScope" + ], + "const": "GeographicScope", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "type", + "instanceType" + ], + "title": "GeographicScope" + }, + "GovernanceDate-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "dateValue": { + "type": "string", + "format": "date", + "title": "Datevalue" + }, + "geographicScopes": { + "items": { + "$ref": "#/components/schemas/GeographicScope-Input" + }, + "type": "array", + "title": "Geographicscopes" + }, + "instanceType": { + "type": "string", + "enum": [ + "GovernanceDate" + ], + "const": "GovernanceDate", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "dateValue", + "geographicScopes", + "instanceType" + ], + "title": "GovernanceDate" + }, + "GovernanceDate-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "dateValue": { + "type": "string", + "format": "date", + "title": "Datevalue" + }, + "geographicScopes": { + "items": { + "$ref": "#/components/schemas/GeographicScope-Output" + }, + "type": "array", + "title": "Geographicscopes" + }, + "instanceType": { + "type": "string", + "enum": [ + "GovernanceDate" + ], + "const": "GovernanceDate", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "dateValue", + "geographicScopes", + "instanceType" + ], + "title": "GovernanceDate" + }, + "HTTPValidationError": { + "properties": { + "detail": { + "items": { + "$ref": "#/components/schemas/ValidationError" + }, + "type": "array", + "title": "Detail" + } + }, + "type": "object", + "title": "HTTPValidationError" + }, + "Indication-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "isRareDisease": { + "type": "boolean", + "title": "Israredisease" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Indication" + ], + "const": "Indication", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRareDisease", + "instanceType" + ], + "title": "Indication" + }, + "Indication-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "isRareDisease": { + "type": "boolean", + "title": "Israredisease" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Indication" + ], + "const": "Indication", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isRareDisease", + "instanceType" + ], + "title": "Indication" + }, + "Ingredient-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "role": { + "$ref": "#/components/schemas/Code-Input" + }, + "substance": { + "$ref": "#/components/schemas/Substance-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "Ingredient" + ], + "const": "Ingredient", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "role", + "substance", + "instanceType" + ], + "title": "Ingredient" + }, + "Ingredient-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "role": { + "$ref": "#/components/schemas/Code-Output" + }, + "substance": { + "$ref": "#/components/schemas/Substance-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "Ingredient" + ], + "const": "Ingredient", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "role", + "substance", + "instanceType" + ], + "title": "Ingredient" + }, + "IntercurrentEvent-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "strategy": { + "type": "string", + "title": "Strategy" + }, + "instanceType": { + "type": "string", + "enum": [ + "IntercurrentEvent" + ], + "const": "IntercurrentEvent", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "strategy", + "instanceType" + ], + "title": "IntercurrentEvent" + }, + "IntercurrentEvent-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "strategy": { + "type": "string", + "title": "Strategy" + }, + "instanceType": { + "type": "string", + "enum": [ + "IntercurrentEvent" + ], + "const": "IntercurrentEvent", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "strategy", + "instanceType" + ], + "title": "IntercurrentEvent" + }, + "InterventionalStudyDesign-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "studyType": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "studyPhase": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "therapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Therapeuticareas", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "encounters": { + "items": { + "$ref": "#/components/schemas/Encounter-Input" + }, + "type": "array", + "title": "Encounters", + "default": [] + }, + "activities": { + "items": { + "$ref": "#/components/schemas/Activity-Input" + }, + "type": "array", + "title": "Activities", + "default": [] + }, + "arms": { + "items": { + "$ref": "#/components/schemas/StudyArm-Input" + }, + "type": "array", + "title": "Arms" + }, + "studyCells": { + "items": { + "$ref": "#/components/schemas/StudyCell-Input" + }, + "type": "array", + "title": "Studycells" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "epochs": { + "items": { + "$ref": "#/components/schemas/StudyEpoch-Input" + }, + "type": "array", + "title": "Epochs" + }, + "elements": { + "items": { + "$ref": "#/components/schemas/StudyElement-Input" + }, + "type": "array", + "title": "Elements", + "default": [] + }, + "estimands": { + "items": { + "$ref": "#/components/schemas/Estimand-Input" + }, + "type": "array", + "title": "Estimands", + "default": [] + }, + "indications": { + "items": { + "$ref": "#/components/schemas/Indication-Input" + }, + "type": "array", + "title": "Indications", + "default": [] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "objectives": { + "items": { + "$ref": "#/components/schemas/Objective-Input" + }, + "type": "array", + "title": "Objectives", + "default": [] + }, + "population": { + "$ref": "#/components/schemas/StudyDesignPopulation-Input" + }, + "scheduleTimelines": { + "items": { + "$ref": "#/components/schemas/ScheduleTimeline-Input" + }, + "type": "array", + "title": "Scheduletimelines", + "default": [] + }, + "biospecimenRetentions": { + "items": { + "$ref": "#/components/schemas/BiospecimenRetention-Input" + }, + "type": "array", + "title": "Biospecimenretentions", + "default": [] + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "eligibilityCriteria": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterion-Input" + }, + "type": "array", + "title": "Eligibilitycriteria" + }, + "analysisPopulations": { + "items": { + "$ref": "#/components/schemas/AnalysisPopulation-Input" + }, + "type": "array", + "title": "Analysispopulations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "subTypes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Subtypes", + "default": [] + }, + "model": { + "$ref": "#/components/schemas/Code-Input" + }, + "intentTypes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Intenttypes", + "default": [] + }, + "blindingSchema": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "InterventionalStudyDesign" + ], + "const": "InterventionalStudyDesign", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "arms", + "studyCells", + "rationale", + "epochs", + "population", + "eligibilityCriteria", + "model", + "instanceType" + ], + "title": "InterventionalStudyDesign" + }, + "InterventionalStudyDesign-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "studyType": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "studyPhase": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "therapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Therapeuticareas", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "encounters": { + "items": { + "$ref": "#/components/schemas/Encounter-Output" + }, + "type": "array", + "title": "Encounters", + "default": [] + }, + "activities": { + "items": { + "$ref": "#/components/schemas/Activity-Output" + }, + "type": "array", + "title": "Activities", + "default": [] + }, + "arms": { + "items": { + "$ref": "#/components/schemas/StudyArm-Output" + }, + "type": "array", + "title": "Arms" + }, + "studyCells": { + "items": { + "$ref": "#/components/schemas/StudyCell-Output" + }, + "type": "array", + "title": "Studycells" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "epochs": { + "items": { + "$ref": "#/components/schemas/StudyEpoch-Output" + }, + "type": "array", + "title": "Epochs" + }, + "elements": { + "items": { + "$ref": "#/components/schemas/StudyElement-Output" + }, + "type": "array", + "title": "Elements", + "default": [] + }, + "estimands": { + "items": { + "$ref": "#/components/schemas/Estimand-Output" + }, + "type": "array", + "title": "Estimands", + "default": [] + }, + "indications": { + "items": { + "$ref": "#/components/schemas/Indication-Output" + }, + "type": "array", + "title": "Indications", + "default": [] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "objectives": { + "items": { + "$ref": "#/components/schemas/Objective-Output" + }, + "type": "array", + "title": "Objectives", + "default": [] + }, + "population": { + "$ref": "#/components/schemas/StudyDesignPopulation-Output" + }, + "scheduleTimelines": { + "items": { + "$ref": "#/components/schemas/ScheduleTimeline-Output" + }, + "type": "array", + "title": "Scheduletimelines", + "default": [] + }, + "biospecimenRetentions": { + "items": { + "$ref": "#/components/schemas/BiospecimenRetention-Output" + }, + "type": "array", + "title": "Biospecimenretentions", + "default": [] + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "eligibilityCriteria": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterion-Output" + }, + "type": "array", + "title": "Eligibilitycriteria" + }, + "analysisPopulations": { + "items": { + "$ref": "#/components/schemas/AnalysisPopulation-Output" + }, + "type": "array", + "title": "Analysispopulations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "subTypes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Subtypes", + "default": [] + }, + "model": { + "$ref": "#/components/schemas/Code-Output" + }, + "intentTypes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Intenttypes", + "default": [] + }, + "blindingSchema": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "InterventionalStudyDesign" + ], + "const": "InterventionalStudyDesign", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "arms", + "studyCells", + "rationale", + "epochs", + "population", + "eligibilityCriteria", + "model", + "instanceType" + ], + "title": "InterventionalStudyDesign" + }, + "Masking-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "isMasked": { + "type": "boolean", + "title": "Ismasked" + }, + "instanceType": { + "type": "string", + "enum": [ + "Masking" + ], + "const": "Masking", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "isMasked", + "instanceType" + ], + "title": "Masking" + }, + "Masking-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "isMasked": { + "type": "boolean", + "title": "Ismasked" + }, + "instanceType": { + "type": "string", + "enum": [ + "Masking" + ], + "const": "Masking", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "isMasked", + "instanceType" + ], + "title": "Masking" + }, + "MedicalDevice-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "hardwareVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Hardwareversion" + }, + "softwareVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Softwareversion" + }, + "embeddedProductId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Embeddedproductid" + }, + "sourcing": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "identifiers": { + "items": { + "$ref": "#/components/schemas/MedicalDeviceIdentifier-Input" + }, + "type": "array", + "title": "Identifiers", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "MedicalDevice" + ], + "const": "MedicalDevice", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "MedicalDevice" + }, + "MedicalDevice-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "hardwareVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Hardwareversion" + }, + "softwareVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Softwareversion" + }, + "embeddedProductId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Embeddedproductid" + }, + "sourcing": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "identifiers": { + "items": { + "$ref": "#/components/schemas/MedicalDeviceIdentifier-Output" + }, + "type": "array", + "title": "Identifiers", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "MedicalDevice" + ], + "const": "MedicalDevice", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "MedicalDevice" + }, + "MedicalDeviceIdentifier-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "MedicalDeviceIdentifier" + ], + "const": "MedicalDeviceIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "type", + "instanceType" + ], + "title": "MedicalDeviceIdentifier" + }, + "MedicalDeviceIdentifier-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "MedicalDeviceIdentifier" + ], + "const": "MedicalDeviceIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "type", + "instanceType" + ], + "title": "MedicalDeviceIdentifier" + }, + "NarrativeContent-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "sectionNumber": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sectionnumber" + }, + "sectionTitle": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sectiontitle" + }, + "displaySectionNumber": { + "type": "boolean", + "title": "Displaysectionnumber" + }, + "displaySectionTitle": { + "type": "boolean", + "title": "Displaysectiontitle" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "contentItemId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Contentitemid" + }, + "instanceType": { + "type": "string", + "enum": [ + "NarrativeContent" + ], + "const": "NarrativeContent", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "displaySectionNumber", + "displaySectionTitle", + "instanceType" + ], + "title": "NarrativeContent" + }, + "NarrativeContent-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "sectionNumber": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sectionnumber" + }, + "sectionTitle": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Sectiontitle" + }, + "displaySectionNumber": { + "type": "boolean", + "title": "Displaysectionnumber" + }, + "displaySectionTitle": { + "type": "boolean", + "title": "Displaysectiontitle" + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "contentItemId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Contentitemid" + }, + "instanceType": { + "type": "string", + "enum": [ + "NarrativeContent" + ], + "const": "NarrativeContent", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "displaySectionNumber", + "displaySectionTitle", + "instanceType" + ], + "title": "NarrativeContent" + }, + "NarrativeContentItem-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "text": { + "type": "string", + "title": "Text" + }, + "instanceType": { + "type": "string", + "enum": [ + "NarrativeContentItem" + ], + "const": "NarrativeContentItem", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "NarrativeContentItem" + }, + "NarrativeContentItem-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "text": { + "type": "string", + "title": "Text" + }, + "instanceType": { + "type": "string", + "enum": [ + "NarrativeContentItem" + ], + "const": "NarrativeContentItem", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "NarrativeContentItem" + }, + "Objective-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "level": { + "$ref": "#/components/schemas/Code-Input" + }, + "endpoints": { + "items": { + "$ref": "#/components/schemas/Endpoint-Input" + }, + "type": "array", + "title": "Endpoints", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Objective" + ], + "const": "Objective", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "level", + "instanceType" + ], + "title": "Objective" + }, + "Objective-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "dictionaryId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Dictionaryid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "level": { + "$ref": "#/components/schemas/Code-Output" + }, + "endpoints": { + "items": { + "$ref": "#/components/schemas/Endpoint-Output" + }, + "type": "array", + "title": "Endpoints", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Objective" + ], + "const": "Objective", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "level", + "instanceType" + ], + "title": "Objective" + }, + "ObservationalStudyDesign-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "studyType": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "studyPhase": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "therapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Therapeuticareas", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "encounters": { + "items": { + "$ref": "#/components/schemas/Encounter-Input" + }, + "type": "array", + "title": "Encounters", + "default": [] + }, + "activities": { + "items": { + "$ref": "#/components/schemas/Activity-Input" + }, + "type": "array", + "title": "Activities", + "default": [] + }, + "arms": { + "items": { + "$ref": "#/components/schemas/StudyArm-Input" + }, + "type": "array", + "title": "Arms" + }, + "studyCells": { + "items": { + "$ref": "#/components/schemas/StudyCell-Input" + }, + "type": "array", + "title": "Studycells" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "epochs": { + "items": { + "$ref": "#/components/schemas/StudyEpoch-Input" + }, + "type": "array", + "title": "Epochs" + }, + "elements": { + "items": { + "$ref": "#/components/schemas/StudyElement-Input" + }, + "type": "array", + "title": "Elements", + "default": [] + }, + "estimands": { + "items": { + "$ref": "#/components/schemas/Estimand-Input" + }, + "type": "array", + "title": "Estimands", + "default": [] + }, + "indications": { + "items": { + "$ref": "#/components/schemas/Indication-Input" + }, + "type": "array", + "title": "Indications", + "default": [] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "objectives": { + "items": { + "$ref": "#/components/schemas/Objective-Input" + }, + "type": "array", + "title": "Objectives", + "default": [] + }, + "population": { + "$ref": "#/components/schemas/StudyDesignPopulation-Input" + }, + "scheduleTimelines": { + "items": { + "$ref": "#/components/schemas/ScheduleTimeline-Input" + }, + "type": "array", + "title": "Scheduletimelines", + "default": [] + }, + "biospecimenRetentions": { + "items": { + "$ref": "#/components/schemas/BiospecimenRetention-Input" + }, + "type": "array", + "title": "Biospecimenretentions", + "default": [] + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "eligibilityCriteria": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterion-Input" + }, + "type": "array", + "title": "Eligibilitycriteria" + }, + "analysisPopulations": { + "items": { + "$ref": "#/components/schemas/AnalysisPopulation-Input" + }, + "type": "array", + "title": "Analysispopulations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "subTypes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Subtypes", + "default": [] + }, + "model": { + "$ref": "#/components/schemas/Code-Input" + }, + "timePerspective": { + "$ref": "#/components/schemas/Code-Input" + }, + "samplingMethod": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "ObservationalStudyDesign" + ], + "const": "ObservationalStudyDesign", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "arms", + "studyCells", + "rationale", + "epochs", + "population", + "eligibilityCriteria", + "model", + "timePerspective", + "instanceType" + ], + "title": "ObservationalStudyDesign" + }, + "ObservationalStudyDesign-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "studyType": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "studyPhase": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "therapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Therapeuticareas", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "encounters": { + "items": { + "$ref": "#/components/schemas/Encounter-Output" + }, + "type": "array", + "title": "Encounters", + "default": [] + }, + "activities": { + "items": { + "$ref": "#/components/schemas/Activity-Output" + }, + "type": "array", + "title": "Activities", + "default": [] + }, + "arms": { + "items": { + "$ref": "#/components/schemas/StudyArm-Output" + }, + "type": "array", + "title": "Arms" + }, + "studyCells": { + "items": { + "$ref": "#/components/schemas/StudyCell-Output" + }, + "type": "array", + "title": "Studycells" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "epochs": { + "items": { + "$ref": "#/components/schemas/StudyEpoch-Output" + }, + "type": "array", + "title": "Epochs" + }, + "elements": { + "items": { + "$ref": "#/components/schemas/StudyElement-Output" + }, + "type": "array", + "title": "Elements", + "default": [] + }, + "estimands": { + "items": { + "$ref": "#/components/schemas/Estimand-Output" + }, + "type": "array", + "title": "Estimands", + "default": [] + }, + "indications": { + "items": { + "$ref": "#/components/schemas/Indication-Output" + }, + "type": "array", + "title": "Indications", + "default": [] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "objectives": { + "items": { + "$ref": "#/components/schemas/Objective-Output" + }, + "type": "array", + "title": "Objectives", + "default": [] + }, + "population": { + "$ref": "#/components/schemas/StudyDesignPopulation-Output" + }, + "scheduleTimelines": { + "items": { + "$ref": "#/components/schemas/ScheduleTimeline-Output" + }, + "type": "array", + "title": "Scheduletimelines", + "default": [] + }, + "biospecimenRetentions": { + "items": { + "$ref": "#/components/schemas/BiospecimenRetention-Output" + }, + "type": "array", + "title": "Biospecimenretentions", + "default": [] + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "eligibilityCriteria": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterion-Output" + }, + "type": "array", + "title": "Eligibilitycriteria" + }, + "analysisPopulations": { + "items": { + "$ref": "#/components/schemas/AnalysisPopulation-Output" + }, + "type": "array", + "title": "Analysispopulations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "subTypes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Subtypes", + "default": [] + }, + "model": { + "$ref": "#/components/schemas/Code-Output" + }, + "timePerspective": { + "$ref": "#/components/schemas/Code-Output" + }, + "samplingMethod": { + "anyOf": [ + { + "$ref": "#/components/schemas/Code-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "ObservationalStudyDesign" + ], + "const": "ObservationalStudyDesign", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "arms", + "studyCells", + "rationale", + "epochs", + "population", + "eligibilityCriteria", + "model", + "timePerspective", + "instanceType" + ], + "title": "ObservationalStudyDesign" + }, + "Organization-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "identifierScheme": { + "type": "string", + "title": "Identifierscheme" + }, + "identifier": { + "type": "string", + "title": "Identifier" + }, + "legalAddress": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address-Input" + }, + { + "type": "null" + } + ] + }, + "managedSites": { + "items": { + "$ref": "#/components/schemas/StudySite-Input" + }, + "type": "array", + "title": "Managedsites", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Organization" + ], + "const": "Organization", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "identifierScheme", + "identifier", + "instanceType" + ], + "title": "Organization" + }, + "Organization-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "identifierScheme": { + "type": "string", + "title": "Identifierscheme" + }, + "identifier": { + "type": "string", + "title": "Identifier" + }, + "legalAddress": { + "anyOf": [ + { + "$ref": "#/components/schemas/Address-Output" + }, + { + "type": "null" + } + ] + }, + "managedSites": { + "items": { + "$ref": "#/components/schemas/StudySite-Output" + }, + "type": "array", + "title": "Managedsites", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Organization" + ], + "const": "Organization", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "identifierScheme", + "identifier", + "instanceType" + ], + "title": "Organization" + }, + "ParameterMap-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "tag": { + "type": "string", + "title": "Tag" + }, + "reference": { + "type": "string", + "title": "Reference" + }, + "instanceType": { + "type": "string", + "enum": [ + "ParameterMap" + ], + "const": "ParameterMap", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "tag", + "reference", + "instanceType" + ], + "title": "ParameterMap" + }, + "ParameterMap-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "tag": { + "type": "string", + "title": "Tag" + }, + "reference": { + "type": "string", + "title": "Reference" + }, + "instanceType": { + "type": "string", + "enum": [ + "ParameterMap" + ], + "const": "ParameterMap", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "tag", + "reference", + "instanceType" + ], + "title": "ParameterMap" + }, + "PersonName-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "familyName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Familyname" + }, + "givenNames": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Givennames", + "default": [] + }, + "prefixes": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Prefixes", + "default": [] + }, + "suffixes": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Suffixes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "PersonName" + ], + "const": "PersonName", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "PersonName" + }, + "PersonName-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Text" + }, + "familyName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Familyname" + }, + "givenNames": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Givennames", + "default": [] + }, + "prefixes": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Prefixes", + "default": [] + }, + "suffixes": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Suffixes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "PersonName" + ], + "const": "PersonName", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "PersonName" + }, + "Procedure-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "procedureType": { + "type": "string", + "title": "Proceduretype" + }, + "code": { + "$ref": "#/components/schemas/Code-Input" + }, + "studyInterventionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Studyinterventionid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Procedure" + ], + "const": "Procedure", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "procedureType", + "code", + "instanceType" + ], + "title": "Procedure" + }, + "Procedure-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "procedureType": { + "type": "string", + "title": "Proceduretype" + }, + "code": { + "$ref": "#/components/schemas/Code-Output" + }, + "studyInterventionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Studyinterventionid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Procedure" + ], + "const": "Procedure", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "procedureType", + "code", + "instanceType" + ], + "title": "Procedure" + }, + "ProductOrganizationRole-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "code": { + "$ref": "#/components/schemas/Code-Input" + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "organizationId": { + "type": "string", + "title": "Organizationid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ProductOrganizationRole" + ], + "const": "ProductOrganizationRole", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "code", + "organizationId", + "instanceType" + ], + "title": "ProductOrganizationRole" + }, + "ProductOrganizationRole-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "code": { + "$ref": "#/components/schemas/Code-Output" + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "organizationId": { + "type": "string", + "title": "Organizationid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ProductOrganizationRole" + ], + "const": "ProductOrganizationRole", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "code", + "organizationId", + "instanceType" + ], + "title": "ProductOrganizationRole" + }, + "Quantity-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "value": { + "type": "number", + "title": "Value" + }, + "unit": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Quantity" + ], + "const": "Quantity", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "value", + "instanceType" + ], + "title": "Quantity" + }, + "Quantity-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "value": { + "type": "number", + "title": "Value" + }, + "unit": { + "anyOf": [ + { + "$ref": "#/components/schemas/AliasCode-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Quantity" + ], + "const": "Quantity", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "value", + "instanceType" + ], + "title": "Quantity" + }, + "Range-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "minValue": { + "$ref": "#/components/schemas/Quantity-Input" + }, + "maxValue": { + "$ref": "#/components/schemas/Quantity-Input" + }, + "isApproximate": { + "type": "boolean", + "title": "Isapproximate" + }, + "instanceType": { + "type": "string", + "enum": [ + "Range" + ], + "const": "Range", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "minValue", + "maxValue", + "isApproximate", + "instanceType" + ], + "title": "Range" + }, + "Range-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "minValue": { + "$ref": "#/components/schemas/Quantity-Output" + }, + "maxValue": { + "$ref": "#/components/schemas/Quantity-Output" + }, + "isApproximate": { + "type": "boolean", + "title": "Isapproximate" + }, + "instanceType": { + "type": "string", + "enum": [ + "Range" + ], + "const": "Range", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "minValue", + "maxValue", + "isApproximate", + "instanceType" + ], + "title": "Range" + }, + "ReferenceIdentifier-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "ReferenceIdentifier" + ], + "const": "ReferenceIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "type", + "instanceType" + ], + "title": "ReferenceIdentifier" + }, + "ReferenceIdentifier-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "ReferenceIdentifier" + ], + "const": "ReferenceIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "type", + "instanceType" + ], + "title": "ReferenceIdentifier" + }, + "ResponseCode-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "isEnabled": { + "type": "boolean", + "title": "Isenabled" + }, + "code": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "ResponseCode" + ], + "const": "ResponseCode", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isEnabled", + "code", + "instanceType" + ], + "title": "ResponseCode" + }, + "ResponseCode-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "isEnabled": { + "type": "boolean", + "title": "Isenabled" + }, + "code": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "ResponseCode" + ], + "const": "ResponseCode", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "isEnabled", + "code", + "instanceType" + ], + "title": "ResponseCode" + }, + "ScheduleTimeline-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "mainTimeline": { + "type": "boolean", + "title": "Maintimeline" + }, + "entryCondition": { + "type": "string", + "title": "Entrycondition" + }, + "entryId": { + "type": "string", + "title": "Entryid" + }, + "exits": { + "items": { + "$ref": "#/components/schemas/ScheduleTimelineExit-Input" + }, + "type": "array", + "title": "Exits", + "default": [] + }, + "timings": { + "items": { + "$ref": "#/components/schemas/Timing-Input" + }, + "type": "array", + "title": "Timings", + "default": [] + }, + "instances": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/ScheduledActivityInstance-Input" + }, + { + "$ref": "#/components/schemas/ScheduledDecisionInstance-Input" + } + ] + }, + "type": "array", + "title": "Instances", + "default": [] + }, + "plannedDuration": { + "anyOf": [ + { + "$ref": "#/components/schemas/Duration-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduleTimeline" + ], + "const": "ScheduleTimeline", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "mainTimeline", + "entryCondition", + "entryId", + "instanceType" + ], + "title": "ScheduleTimeline" + }, + "ScheduleTimeline-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "mainTimeline": { + "type": "boolean", + "title": "Maintimeline" + }, + "entryCondition": { + "type": "string", + "title": "Entrycondition" + }, + "entryId": { + "type": "string", + "title": "Entryid" + }, + "exits": { + "items": { + "$ref": "#/components/schemas/ScheduleTimelineExit-Output" + }, + "type": "array", + "title": "Exits", + "default": [] + }, + "timings": { + "items": { + "$ref": "#/components/schemas/Timing-Output" + }, + "type": "array", + "title": "Timings", + "default": [] + }, + "instances": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/ScheduledActivityInstance-Output" + }, + { + "$ref": "#/components/schemas/ScheduledDecisionInstance-Output" + } + ] + }, + "type": "array", + "title": "Instances", + "default": [] + }, + "plannedDuration": { + "anyOf": [ + { + "$ref": "#/components/schemas/Duration-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduleTimeline" + ], + "const": "ScheduleTimeline", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "mainTimeline", + "entryCondition", + "entryId", + "instanceType" + ], + "title": "ScheduleTimeline" + }, + "ScheduleTimelineExit-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduleTimelineExit" + ], + "const": "ScheduleTimelineExit", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "ScheduleTimelineExit" + }, + "ScheduleTimelineExit-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduleTimelineExit" + ], + "const": "ScheduleTimelineExit", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "instanceType" + ], + "title": "ScheduleTimelineExit" + }, + "ScheduledActivityInstance-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "defaultConditionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defaultconditionid" + }, + "epochId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Epochid" + }, + "timelineId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineid" + }, + "timelineExitId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineexitid" + }, + "activityIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Activityids", + "default": [] + }, + "encounterId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Encounterid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduledActivityInstance" + ], + "const": "ScheduledActivityInstance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "ScheduledActivityInstance" + }, + "ScheduledActivityInstance-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "defaultConditionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defaultconditionid" + }, + "epochId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Epochid" + }, + "timelineId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineid" + }, + "timelineExitId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Timelineexitid" + }, + "activityIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Activityids", + "default": [] + }, + "encounterId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Encounterid" + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduledActivityInstance" + ], + "const": "ScheduledActivityInstance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "ScheduledActivityInstance" + }, + "ScheduledDecisionInstance-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "defaultConditionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defaultconditionid" + }, + "epochId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Epochid" + }, + "conditionAssignments": { + "items": { + "$ref": "#/components/schemas/ConditionAssignment-Input" + }, + "type": "array", + "title": "Conditionassignments" + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduledDecisionInstance" + ], + "const": "ScheduledDecisionInstance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "conditionAssignments", + "instanceType" + ], + "title": "ScheduledDecisionInstance" + }, + "ScheduledDecisionInstance-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "defaultConditionId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Defaultconditionid" + }, + "epochId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Epochid" + }, + "conditionAssignments": { + "items": { + "$ref": "#/components/schemas/ConditionAssignment-Output" + }, + "type": "array", + "title": "Conditionassignments" + }, + "instanceType": { + "type": "string", + "enum": [ + "ScheduledDecisionInstance" + ], + "const": "ScheduledDecisionInstance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "conditionAssignments", + "instanceType" + ], + "title": "ScheduledDecisionInstance" + }, + "Strength-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "numerator": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + } + ], + "title": "Numerator" + }, + "denominator": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Strength" + ], + "const": "Strength", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "numerator", + "instanceType" + ], + "title": "Strength" + }, + "Strength-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "numerator": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + } + ], + "title": "Numerator" + }, + "denominator": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Strength" + ], + "const": "Strength", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "numerator", + "instanceType" + ], + "title": "Strength" + }, + "Study-Input": { + "properties": { + "id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "versions": { + "items": { + "$ref": "#/components/schemas/StudyVersion-Input" + }, + "type": "array", + "title": "Versions", + "default": [] + }, + "documentedBy": { + "items": { + "$ref": "#/components/schemas/StudyDefinitionDocument-Input" + }, + "type": "array", + "title": "Documentedby", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Study" + ], + "const": "Study", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "name", + "instanceType" + ], + "title": "Study" + }, + "Study-Output": { + "properties": { + "id": { + "anyOf": [ + { + "type": "string", + "format": "uuid" + }, + { + "type": "null" + } + ], + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "versions": { + "items": { + "$ref": "#/components/schemas/StudyVersion-Output" + }, + "type": "array", + "title": "Versions", + "default": [] + }, + "documentedBy": { + "items": { + "$ref": "#/components/schemas/StudyDefinitionDocument-Output" + }, + "type": "array", + "title": "Documentedby", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "Study" + ], + "const": "Study", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "name", + "instanceType" + ], + "title": "Study" + }, + "StudyAmendment-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "number": { + "type": "string", + "title": "Number" + }, + "summary": { + "type": "string", + "title": "Summary" + }, + "primaryReason": { + "$ref": "#/components/schemas/StudyAmendmentReason-Input" + }, + "secondaryReasons": { + "items": { + "$ref": "#/components/schemas/StudyAmendmentReason-Input" + }, + "type": "array", + "title": "Secondaryreasons", + "default": [] + }, + "changes": { + "items": { + "$ref": "#/components/schemas/StudyChange-Input" + }, + "type": "array", + "title": "Changes" + }, + "impacts": { + "items": { + "$ref": "#/components/schemas/StudyAmendmentImpact-Input" + }, + "type": "array", + "title": "Impacts", + "default": [] + }, + "geographicScopes": { + "items": { + "$ref": "#/components/schemas/GeographicScope-Input" + }, + "type": "array", + "title": "Geographicscopes" + }, + "enrollments": { + "items": { + "$ref": "#/components/schemas/SubjectEnrollment-Input" + }, + "type": "array", + "title": "Enrollments", + "default": [] + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Input" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendment" + ], + "const": "StudyAmendment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "number", + "summary", + "primaryReason", + "changes", + "geographicScopes", + "instanceType" + ], + "title": "StudyAmendment" + }, + "StudyAmendment-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "number": { + "type": "string", + "title": "Number" + }, + "summary": { + "type": "string", + "title": "Summary" + }, + "primaryReason": { + "$ref": "#/components/schemas/StudyAmendmentReason-Output" + }, + "secondaryReasons": { + "items": { + "$ref": "#/components/schemas/StudyAmendmentReason-Output" + }, + "type": "array", + "title": "Secondaryreasons", + "default": [] + }, + "changes": { + "items": { + "$ref": "#/components/schemas/StudyChange-Output" + }, + "type": "array", + "title": "Changes" + }, + "impacts": { + "items": { + "$ref": "#/components/schemas/StudyAmendmentImpact-Output" + }, + "type": "array", + "title": "Impacts", + "default": [] + }, + "geographicScopes": { + "items": { + "$ref": "#/components/schemas/GeographicScope-Output" + }, + "type": "array", + "title": "Geographicscopes" + }, + "enrollments": { + "items": { + "$ref": "#/components/schemas/SubjectEnrollment-Output" + }, + "type": "array", + "title": "Enrollments", + "default": [] + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Output" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendment" + ], + "const": "StudyAmendment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "number", + "summary", + "primaryReason", + "changes", + "geographicScopes", + "instanceType" + ], + "title": "StudyAmendment" + }, + "StudyAmendmentImpact-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "text": { + "type": "string", + "title": "Text" + }, + "isSubstantial": { + "type": "boolean", + "title": "Issubstantial" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendmentImpact" + ], + "const": "StudyAmendmentImpact", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "type", + "text", + "isSubstantial", + "instanceType" + ], + "title": "StudyAmendmentImpact" + }, + "StudyAmendmentImpact-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "text": { + "type": "string", + "title": "Text" + }, + "isSubstantial": { + "type": "boolean", + "title": "Issubstantial" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendmentImpact" + ], + "const": "StudyAmendmentImpact", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "type", + "text", + "isSubstantial", + "instanceType" + ], + "title": "StudyAmendmentImpact" + }, + "StudyAmendmentReason-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/Code-Input" + }, + "otherReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Otherreason" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendmentReason" + ], + "const": "StudyAmendmentReason", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "code", + "instanceType" + ], + "title": "StudyAmendmentReason" + }, + "StudyAmendmentReason-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "code": { + "$ref": "#/components/schemas/Code-Output" + }, + "otherReason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Otherreason" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyAmendmentReason" + ], + "const": "StudyAmendmentReason", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "code", + "instanceType" + ], + "title": "StudyAmendmentReason" + }, + "StudyArm-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "dataOriginDescription": { + "type": "string", + "title": "Dataorigindescription" + }, + "dataOriginType": { + "$ref": "#/components/schemas/Code-Input" + }, + "populationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Populationids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyArm" + ], + "const": "StudyArm", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "dataOriginDescription", + "dataOriginType", + "instanceType" + ], + "title": "StudyArm" + }, + "StudyArm-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "dataOriginDescription": { + "type": "string", + "title": "Dataorigindescription" + }, + "dataOriginType": { + "$ref": "#/components/schemas/Code-Output" + }, + "populationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Populationids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyArm" + ], + "const": "StudyArm", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "dataOriginDescription", + "dataOriginType", + "instanceType" + ], + "title": "StudyArm" + }, + "StudyCell-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "armId": { + "type": "string", + "title": "Armid" + }, + "epochId": { + "type": "string", + "title": "Epochid" + }, + "elementIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Elementids" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyCell" + ], + "const": "StudyCell", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "armId", + "epochId", + "elementIds", + "instanceType" + ], + "title": "StudyCell" + }, + "StudyCell-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "armId": { + "type": "string", + "title": "Armid" + }, + "epochId": { + "type": "string", + "title": "Epochid" + }, + "elementIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Elementids" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyCell" + ], + "const": "StudyCell", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "armId", + "epochId", + "elementIds", + "instanceType" + ], + "title": "StudyCell" + }, + "StudyChange-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "summary": { + "type": "string", + "title": "Summary" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "changedSections": { + "items": { + "$ref": "#/components/schemas/DocumentContentReference-Input" + }, + "type": "array", + "title": "Changedsections" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyChange" + ], + "const": "StudyChange", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "summary", + "rationale", + "changedSections", + "instanceType" + ], + "title": "StudyChange" + }, + "StudyChange-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "summary": { + "type": "string", + "title": "Summary" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "changedSections": { + "items": { + "$ref": "#/components/schemas/DocumentContentReference-Output" + }, + "type": "array", + "title": "Changedsections" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyChange" + ], + "const": "StudyChange", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "summary", + "rationale", + "changedSections", + "instanceType" + ], + "title": "StudyChange" + }, + "StudyCohort-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "includesHealthySubjects": { + "type": "boolean", + "title": "Includeshealthysubjects" + }, + "plannedEnrollmentNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ], + "title": "Plannedenrollmentnumber" + }, + "plannedCompletionNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ], + "title": "Plannedcompletionnumber" + }, + "plannedSex": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "maxItems": 2, + "title": "Plannedsex", + "default": [] + }, + "criterionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Criterionids", + "default": [] + }, + "plannedAge": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Characteristic-Input" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "indicationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Indicationids", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyCohort" + ], + "const": "StudyCohort", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "includesHealthySubjects", + "instanceType" + ], + "title": "StudyCohort" + }, + "StudyCohort-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "includesHealthySubjects": { + "type": "boolean", + "title": "Includeshealthysubjects" + }, + "plannedEnrollmentNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ], + "title": "Plannedenrollmentnumber" + }, + "plannedCompletionNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ], + "title": "Plannedcompletionnumber" + }, + "plannedSex": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "maxItems": 2, + "title": "Plannedsex", + "default": [] + }, + "criterionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Criterionids", + "default": [] + }, + "plannedAge": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "characteristics": { + "items": { + "$ref": "#/components/schemas/Characteristic-Output" + }, + "type": "array", + "title": "Characteristics", + "default": [] + }, + "indicationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Indicationids", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyCohort" + ], + "const": "StudyCohort", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "includesHealthySubjects", + "instanceType" + ], + "title": "StudyCohort" + }, + "StudyDefinitionDocument-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "language": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "templateName": { + "type": "string", + "title": "Templatename" + }, + "versions": { + "items": { + "$ref": "#/components/schemas/StudyDefinitionDocumentVersion-Input" + }, + "type": "array", + "title": "Versions", + "default": [] + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDefinitionDocument" + ], + "const": "StudyDefinitionDocument", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "language", + "type", + "templateName", + "instanceType" + ], + "title": "StudyDefinitionDocument" + }, + "StudyDefinitionDocument-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "language": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "templateName": { + "type": "string", + "title": "Templatename" + }, + "versions": { + "items": { + "$ref": "#/components/schemas/StudyDefinitionDocumentVersion-Output" + }, + "type": "array", + "title": "Versions", + "default": [] + }, + "childIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Childids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDefinitionDocument" + ], + "const": "StudyDefinitionDocument", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "language", + "type", + "templateName", + "instanceType" + ], + "title": "StudyDefinitionDocument" + }, + "StudyDefinitionDocumentVersion-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "version": { + "type": "string", + "title": "Version" + }, + "status": { + "$ref": "#/components/schemas/Code-Input" + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Input" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "contents": { + "items": { + "$ref": "#/components/schemas/NarrativeContent-Input" + }, + "type": "array", + "title": "Contents", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDefinitionDocumentVersion" + ], + "const": "StudyDefinitionDocumentVersion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "version", + "status", + "instanceType" + ], + "title": "StudyDefinitionDocumentVersion" + }, + "StudyDefinitionDocumentVersion-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "version": { + "type": "string", + "title": "Version" + }, + "status": { + "$ref": "#/components/schemas/Code-Output" + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Output" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "contents": { + "items": { + "$ref": "#/components/schemas/NarrativeContent-Output" + }, + "type": "array", + "title": "Contents", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDefinitionDocumentVersion" + ], + "const": "StudyDefinitionDocumentVersion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "version", + "status", + "instanceType" + ], + "title": "StudyDefinitionDocumentVersion" + }, + "StudyDesignPopulation-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "includesHealthySubjects": { + "type": "boolean", + "title": "Includeshealthysubjects" + }, + "plannedEnrollmentNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ], + "title": "Plannedenrollmentnumber" + }, + "plannedCompletionNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ], + "title": "Plannedcompletionnumber" + }, + "plannedSex": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "maxItems": 2, + "title": "Plannedsex", + "default": [] + }, + "criterionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Criterionids", + "default": [] + }, + "plannedAge": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Input" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "cohorts": { + "items": { + "$ref": "#/components/schemas/StudyCohort-Input" + }, + "type": "array", + "title": "Cohorts", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDesignPopulation" + ], + "const": "StudyDesignPopulation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "includesHealthySubjects", + "instanceType" + ], + "title": "StudyDesignPopulation" + }, + "StudyDesignPopulation-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "includesHealthySubjects": { + "type": "boolean", + "title": "Includeshealthysubjects" + }, + "plannedEnrollmentNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ], + "title": "Plannedenrollmentnumber" + }, + "plannedCompletionNumber": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ], + "title": "Plannedcompletionnumber" + }, + "plannedSex": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "maxItems": 2, + "title": "Plannedsex", + "default": [] + }, + "criterionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Criterionids", + "default": [] + }, + "plannedAge": { + "anyOf": [ + { + "$ref": "#/components/schemas/Range-Output" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "cohorts": { + "items": { + "$ref": "#/components/schemas/StudyCohort-Output" + }, + "type": "array", + "title": "Cohorts", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyDesignPopulation" + ], + "const": "StudyDesignPopulation", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "includesHealthySubjects", + "instanceType" + ], + "title": "StudyDesignPopulation" + }, + "StudyElement-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "transitionStartRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Input" + }, + { + "type": "null" + } + ] + }, + "transitionEndRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Input" + }, + { + "type": "null" + } + ] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyElement" + ], + "const": "StudyElement", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "StudyElement" + }, + "StudyElement-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "transitionStartRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Output" + }, + { + "type": "null" + } + ] + }, + "transitionEndRule": { + "anyOf": [ + { + "$ref": "#/components/schemas/TransitionRule-Output" + }, + { + "type": "null" + } + ] + }, + "studyInterventionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Studyinterventionids", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyElement" + ], + "const": "StudyElement", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "instanceType" + ], + "title": "StudyElement" + }, + "StudyEpoch-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyEpoch" + ], + "const": "StudyEpoch", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "instanceType" + ], + "title": "StudyEpoch" + }, + "StudyEpoch-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "previousId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Previousid" + }, + "nextId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Nextid" + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyEpoch" + ], + "const": "StudyEpoch", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "instanceType" + ], + "title": "StudyEpoch" + }, + "StudyIdentifier-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyIdentifier" + ], + "const": "StudyIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "instanceType" + ], + "title": "StudyIdentifier" + }, + "StudyIdentifier-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "scopeId": { + "type": "string", + "title": "Scopeid" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyIdentifier" + ], + "const": "StudyIdentifier", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "scopeId", + "instanceType" + ], + "title": "StudyIdentifier" + }, + "StudyIntervention-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "role": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "minimumResponseDuration": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Input" + }, + { + "type": "null" + } + ] + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "administrations": { + "items": { + "$ref": "#/components/schemas/Administration-Input" + }, + "type": "array", + "title": "Administrations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyIntervention" + ], + "const": "StudyIntervention", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "role", + "type", + "instanceType" + ], + "title": "StudyIntervention" + }, + "StudyIntervention-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "role": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "minimumResponseDuration": { + "anyOf": [ + { + "$ref": "#/components/schemas/Quantity-Output" + }, + { + "type": "null" + } + ] + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "administrations": { + "items": { + "$ref": "#/components/schemas/Administration-Output" + }, + "type": "array", + "title": "Administrations", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyIntervention" + ], + "const": "StudyIntervention", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "role", + "type", + "instanceType" + ], + "title": "StudyIntervention" + }, + "StudyRole-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "code": { + "$ref": "#/components/schemas/Code-Input" + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "assignedPersons": { + "items": { + "$ref": "#/components/schemas/AssignedPerson-Input" + }, + "type": "array", + "title": "Assignedpersons", + "default": [] + }, + "organizationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Organizationids", + "default": [] + }, + "masking": { + "anyOf": [ + { + "$ref": "#/components/schemas/Masking-Input" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyRole" + ], + "const": "StudyRole", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "code", + "instanceType" + ], + "title": "StudyRole" + }, + "StudyRole-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "code": { + "$ref": "#/components/schemas/Code-Output" + }, + "appliesToIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Appliestoids", + "default": [] + }, + "assignedPersons": { + "items": { + "$ref": "#/components/schemas/AssignedPerson-Output" + }, + "type": "array", + "title": "Assignedpersons", + "default": [] + }, + "organizationIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Organizationids", + "default": [] + }, + "masking": { + "anyOf": [ + { + "$ref": "#/components/schemas/Masking-Output" + }, + { + "type": "null" + } + ] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyRole" + ], + "const": "StudyRole", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "code", + "instanceType" + ], + "title": "StudyRole" + }, + "StudySite-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "country": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudySite" + ], + "const": "StudySite", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "country", + "instanceType" + ], + "title": "StudySite" + }, + "StudySite-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "country": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudySite" + ], + "const": "StudySite", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "country", + "instanceType" + ], + "title": "StudySite" + }, + "StudyTitle-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyTitle" + ], + "const": "StudyTitle", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "type", + "instanceType" + ], + "title": "StudyTitle" + }, + "StudyTitle-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "text": { + "type": "string", + "title": "Text" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyTitle" + ], + "const": "StudyTitle", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "text", + "type", + "instanceType" + ], + "title": "StudyTitle" + }, + "StudyVersion-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "versionIdentifier": { + "type": "string", + "title": "Versionidentifier" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Input" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "amendments": { + "items": { + "$ref": "#/components/schemas/StudyAmendment-Input" + }, + "type": "array", + "title": "Amendments", + "default": [] + }, + "businessTherapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Businesstherapeuticareas", + "default": [] + }, + "studyIdentifiers": { + "items": { + "$ref": "#/components/schemas/StudyIdentifier-Input" + }, + "type": "array", + "title": "Studyidentifiers" + }, + "referenceIdentifiers": { + "items": { + "$ref": "#/components/schemas/ReferenceIdentifier-Input" + }, + "type": "array", + "title": "Referenceidentifiers", + "default": [] + }, + "studyDesigns": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/InterventionalStudyDesign-Input" + }, + { + "$ref": "#/components/schemas/ObservationalStudyDesign-Input" + } + ] + }, + "type": "array", + "title": "Studydesigns", + "default": [] + }, + "titles": { + "items": { + "$ref": "#/components/schemas/StudyTitle-Input" + }, + "type": "array", + "title": "Titles" + }, + "eligibilityCriterionItems": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterionItem-Input" + }, + "type": "array", + "title": "Eligibilitycriterionitems", + "default": [] + }, + "narrativeContentItems": { + "items": { + "$ref": "#/components/schemas/NarrativeContentItem-Input" + }, + "type": "array", + "title": "Narrativecontentitems", + "default": [] + }, + "abbreviations": { + "items": { + "$ref": "#/components/schemas/Abbreviation-Input" + }, + "type": "array", + "title": "Abbreviations", + "default": [] + }, + "roles": { + "items": { + "$ref": "#/components/schemas/StudyRole-Input" + }, + "type": "array", + "title": "Roles", + "default": [] + }, + "organizations": { + "items": { + "$ref": "#/components/schemas/Organization-Input" + }, + "type": "array", + "title": "Organizations", + "default": [] + }, + "studyInterventions": { + "items": { + "$ref": "#/components/schemas/StudyIntervention-Input" + }, + "type": "array", + "title": "Studyinterventions", + "default": [] + }, + "administrableProducts": { + "items": { + "$ref": "#/components/schemas/AdministrableProduct-Input" + }, + "type": "array", + "title": "Administrableproducts", + "default": [] + }, + "medicalDevices": { + "items": { + "$ref": "#/components/schemas/MedicalDevice-Input" + }, + "type": "array", + "title": "Medicaldevices", + "default": [] + }, + "productOrganizationRoles": { + "items": { + "$ref": "#/components/schemas/ProductOrganizationRole-Input" + }, + "type": "array", + "title": "Productorganizationroles", + "default": [] + }, + "biomedicalConcepts": { + "items": { + "$ref": "#/components/schemas/BiomedicalConcept-Input" + }, + "type": "array", + "title": "Biomedicalconcepts", + "default": [] + }, + "bcCategories": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptCategory-Input" + }, + "type": "array", + "title": "Bccategories", + "default": [] + }, + "bcSurrogates": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptSurrogate-Input" + }, + "type": "array", + "title": "Bcsurrogates", + "default": [] + }, + "dictionaries": { + "items": { + "$ref": "#/components/schemas/SyntaxTemplateDictionary-Input" + }, + "type": "array", + "title": "Dictionaries", + "default": [] + }, + "conditions": { + "items": { + "$ref": "#/components/schemas/Condition-Input" + }, + "type": "array", + "title": "Conditions", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Input" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyVersion" + ], + "const": "StudyVersion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "versionIdentifier", + "rationale", + "studyIdentifiers", + "titles", + "instanceType" + ], + "title": "StudyVersion" + }, + "StudyVersion-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "versionIdentifier": { + "type": "string", + "title": "Versionidentifier" + }, + "rationale": { + "type": "string", + "title": "Rationale" + }, + "documentVersionIds": { + "items": { + "type": "string" + }, + "type": "array", + "title": "Documentversionids", + "default": [] + }, + "dateValues": { + "items": { + "$ref": "#/components/schemas/GovernanceDate-Output" + }, + "type": "array", + "title": "Datevalues", + "default": [] + }, + "amendments": { + "items": { + "$ref": "#/components/schemas/StudyAmendment-Output" + }, + "type": "array", + "title": "Amendments", + "default": [] + }, + "businessTherapeuticAreas": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Businesstherapeuticareas", + "default": [] + }, + "studyIdentifiers": { + "items": { + "$ref": "#/components/schemas/StudyIdentifier-Output" + }, + "type": "array", + "title": "Studyidentifiers" + }, + "referenceIdentifiers": { + "items": { + "$ref": "#/components/schemas/ReferenceIdentifier-Output" + }, + "type": "array", + "title": "Referenceidentifiers", + "default": [] + }, + "studyDesigns": { + "items": { + "anyOf": [ + { + "$ref": "#/components/schemas/InterventionalStudyDesign-Output" + }, + { + "$ref": "#/components/schemas/ObservationalStudyDesign-Output" + } + ] + }, + "type": "array", + "title": "Studydesigns", + "default": [] + }, + "titles": { + "items": { + "$ref": "#/components/schemas/StudyTitle-Output" + }, + "type": "array", + "title": "Titles" + }, + "eligibilityCriterionItems": { + "items": { + "$ref": "#/components/schemas/EligibilityCriterionItem-Output" + }, + "type": "array", + "title": "Eligibilitycriterionitems", + "default": [] + }, + "narrativeContentItems": { + "items": { + "$ref": "#/components/schemas/NarrativeContentItem-Output" + }, + "type": "array", + "title": "Narrativecontentitems", + "default": [] + }, + "abbreviations": { + "items": { + "$ref": "#/components/schemas/Abbreviation-Output" + }, + "type": "array", + "title": "Abbreviations", + "default": [] + }, + "roles": { + "items": { + "$ref": "#/components/schemas/StudyRole-Output" + }, + "type": "array", + "title": "Roles", + "default": [] + }, + "organizations": { + "items": { + "$ref": "#/components/schemas/Organization-Output" + }, + "type": "array", + "title": "Organizations", + "default": [] + }, + "studyInterventions": { + "items": { + "$ref": "#/components/schemas/StudyIntervention-Output" + }, + "type": "array", + "title": "Studyinterventions", + "default": [] + }, + "administrableProducts": { + "items": { + "$ref": "#/components/schemas/AdministrableProduct-Output" + }, + "type": "array", + "title": "Administrableproducts", + "default": [] + }, + "medicalDevices": { + "items": { + "$ref": "#/components/schemas/MedicalDevice-Output" + }, + "type": "array", + "title": "Medicaldevices", + "default": [] + }, + "productOrganizationRoles": { + "items": { + "$ref": "#/components/schemas/ProductOrganizationRole-Output" + }, + "type": "array", + "title": "Productorganizationroles", + "default": [] + }, + "biomedicalConcepts": { + "items": { + "$ref": "#/components/schemas/BiomedicalConcept-Output" + }, + "type": "array", + "title": "Biomedicalconcepts", + "default": [] + }, + "bcCategories": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptCategory-Output" + }, + "type": "array", + "title": "Bccategories", + "default": [] + }, + "bcSurrogates": { + "items": { + "$ref": "#/components/schemas/BiomedicalConceptSurrogate-Output" + }, + "type": "array", + "title": "Bcsurrogates", + "default": [] + }, + "dictionaries": { + "items": { + "$ref": "#/components/schemas/SyntaxTemplateDictionary-Output" + }, + "type": "array", + "title": "Dictionaries", + "default": [] + }, + "conditions": { + "items": { + "$ref": "#/components/schemas/Condition-Output" + }, + "type": "array", + "title": "Conditions", + "default": [] + }, + "notes": { + "items": { + "$ref": "#/components/schemas/CommentAnnotation-Output" + }, + "type": "array", + "title": "Notes", + "default": [] + }, + "instanceType": { + "type": "string", + "enum": [ + "StudyVersion" + ], + "const": "StudyVersion", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "versionIdentifier", + "rationale", + "studyIdentifiers", + "titles", + "instanceType" + ], + "title": "StudyVersion" + }, + "SubjectEnrollment-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "quantity": { + "$ref": "#/components/schemas/Quantity-Input" + }, + "forGeographicScope": { + "anyOf": [ + { + "$ref": "#/components/schemas/GeographicScope-Input" + }, + { + "type": "null" + } + ] + }, + "forStudyCohortId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Forstudycohortid" + }, + "forStudySiteId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Forstudysiteid" + }, + "instanceType": { + "type": "string", + "enum": [ + "SubjectEnrollment" + ], + "const": "SubjectEnrollment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "quantity", + "instanceType" + ], + "title": "SubjectEnrollment" + }, + "SubjectEnrollment-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "quantity": { + "$ref": "#/components/schemas/Quantity-Output" + }, + "forGeographicScope": { + "anyOf": [ + { + "$ref": "#/components/schemas/GeographicScope-Output" + }, + { + "type": "null" + } + ] + }, + "forStudyCohortId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Forstudycohortid" + }, + "forStudySiteId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Forstudysiteid" + }, + "instanceType": { + "type": "string", + "enum": [ + "SubjectEnrollment" + ], + "const": "SubjectEnrollment", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "quantity", + "instanceType" + ], + "title": "SubjectEnrollment" + }, + "Substance-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Input" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "strengths": { + "items": { + "$ref": "#/components/schemas/Strength-Input" + }, + "type": "array", + "title": "Strengths" + }, + "referenceSubstance": { + "anyOf": [ + { + "$ref": "#/components/schemas/Substance-Input" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Substance" + ], + "const": "Substance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "strengths", + "instanceType" + ], + "title": "Substance" + }, + "Substance-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "codes": { + "items": { + "$ref": "#/components/schemas/Code-Output" + }, + "type": "array", + "title": "Codes", + "default": [] + }, + "strengths": { + "items": { + "$ref": "#/components/schemas/Strength-Output" + }, + "type": "array", + "title": "Strengths" + }, + "referenceSubstance": { + "anyOf": [ + { + "$ref": "#/components/schemas/Substance-Output" + }, + { + "type": "null" + } + ] + }, + "instanceType": { + "type": "string", + "enum": [ + "Substance" + ], + "const": "Substance", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "strengths", + "instanceType" + ], + "title": "Substance" + }, + "SyntaxTemplateDictionary-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "parameterMaps": { + "items": { + "$ref": "#/components/schemas/ParameterMap-Input" + }, + "type": "array", + "title": "Parametermaps" + }, + "instanceType": { + "type": "string", + "enum": [ + "SyntaxTemplateDictionary" + ], + "const": "SyntaxTemplateDictionary", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "parameterMaps", + "instanceType" + ], + "title": "SyntaxTemplateDictionary" + }, + "SyntaxTemplateDictionary-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "parameterMaps": { + "items": { + "$ref": "#/components/schemas/ParameterMap-Output" + }, + "type": "array", + "title": "Parametermaps" + }, + "instanceType": { + "type": "string", + "enum": [ + "SyntaxTemplateDictionary" + ], + "const": "SyntaxTemplateDictionary", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "parameterMaps", + "instanceType" + ], + "title": "SyntaxTemplateDictionary" + }, + "Timing-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Input" + }, + "value": { + "type": "string", + "title": "Value" + }, + "valueLabel": { + "type": "string", + "title": "Valuelabel" + }, + "relativeToFrom": { + "$ref": "#/components/schemas/Code-Input" + }, + "relativeFromScheduledInstanceId": { + "type": "string", + "title": "Relativefromscheduledinstanceid" + }, + "relativeToScheduledInstanceId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Relativetoscheduledinstanceid" + }, + "windowLower": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowlower" + }, + "windowUpper": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowupper" + }, + "windowLabel": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowlabel" + }, + "instanceType": { + "type": "string", + "enum": [ + "Timing" + ], + "const": "Timing", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "value", + "valueLabel", + "relativeToFrom", + "relativeFromScheduledInstanceId", + "instanceType" + ], + "title": "Timing" + }, + "Timing-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "type": { + "$ref": "#/components/schemas/Code-Output" + }, + "value": { + "type": "string", + "title": "Value" + }, + "valueLabel": { + "type": "string", + "title": "Valuelabel" + }, + "relativeToFrom": { + "$ref": "#/components/schemas/Code-Output" + }, + "relativeFromScheduledInstanceId": { + "type": "string", + "title": "Relativefromscheduledinstanceid" + }, + "relativeToScheduledInstanceId": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Relativetoscheduledinstanceid" + }, + "windowLower": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowlower" + }, + "windowUpper": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowupper" + }, + "windowLabel": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Windowlabel" + }, + "instanceType": { + "type": "string", + "enum": [ + "Timing" + ], + "const": "Timing", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "type", + "value", + "valueLabel", + "relativeToFrom", + "relativeFromScheduledInstanceId", + "instanceType" + ], + "title": "Timing" + }, + "TransitionRule-Input": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Input" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "instanceType": { + "type": "string", + "enum": [ + "TransitionRule" + ], + "const": "TransitionRule", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "TransitionRule" + }, + "TransitionRule-Output": { + "properties": { + "id": { + "type": "string", + "minLength": 1, + "title": "Id" + }, + "extensionAttributes": { + "items": { + "$ref": "#/components/schemas/ExtensionAttribute-Output" + }, + "type": "array", + "title": "Extensionattributes", + "default": [] + }, + "name": { + "type": "string", + "minLength": 1, + "title": "Name" + }, + "label": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Label" + }, + "description": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Description" + }, + "text": { + "type": "string", + "title": "Text" + }, + "instanceType": { + "type": "string", + "enum": [ + "TransitionRule" + ], + "const": "TransitionRule", + "title": "Instancetype" + } + }, + "type": "object", + "required": [ + "id", + "name", + "text", + "instanceType" + ], + "title": "TransitionRule" + }, + "ValidationError": { + "properties": { + "loc": { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ] + }, + "type": "array", + "title": "Location" + }, + "msg": { + "type": "string", + "title": "Message" + }, + "type": { + "type": "string", + "title": "Error Type" + } + }, + "type": "object", + "required": [ + "loc", + "msg", + "type" + ], + "title": "ValidationError" + }, + "Wrapper-Input": { + "properties": { + "study": { + "$ref": "#/components/schemas/Study-Input" + }, + "usdmVersion": { + "type": "string", + "title": "Usdmversion" + }, + "systemName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Systemname" + }, + "systemVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Systemversion" + } + }, + "type": "object", + "required": [ + "study", + "usdmVersion" + ], + "title": "Wrapper" + }, + "Wrapper-Output": { + "properties": { + "study": { + "$ref": "#/components/schemas/Study-Output" + }, + "usdmVersion": { + "type": "string", + "title": "Usdmversion" + }, + "systemName": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Systemname" + }, + "systemVersion": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Systemversion" + } + }, + "type": "object", + "required": [ + "study", + "usdmVersion" + ], + "title": "Wrapper" + } + } + }, + "tags": [ + { + "name": "Production", + "description": "Routes that form the production specification." + } + ] +} \ No newline at end of file diff --git a/src/soa_builder/web/app.py b/src/soa_builder/web/app.py index 01b73ea4..aeb499eb 100644 --- a/src/soa_builder/web/app.py +++ b/src/soa_builder/web/app.py @@ -7,6 +7,7 @@ from __future__ import annotations import csv +import html as _html import io import json import logging @@ -69,6 +70,13 @@ _migrate_study_cell_add_order_index, _migrate_biomedical_concept_audit, _migrate_backfill_biomedical_concept_codes, + _migrate_add_soa_id_indexes, + _migrate_add_footnote_table, + _migrate_add_footnote_audit_table, + _migrate_matrix_cells_add_superscript, + _migrate_add_bc_surrogate_table, + _migrate_add_activity_surrogate_table, + _migrate_add_bc_surrogate_audit_table, ) from .routers import activities as activities_router from .routers import arms as arms_router @@ -87,6 +95,8 @@ from .routers import tdd as tdd_router from .routers import decision_instances as decision_instances_router from .routers import condition_assignments as condition_assignments_router +from .routers import footnotes as footnotes_router +from .routers import bc_surrogates as bc_surrogates_router from .audit import _record_element_audit @@ -138,6 +148,11 @@ def _configure_logging(): NORMALIZED_ROOT = os.environ.get("SOA_BUILDER_NORMALIZED_ROOT", "normalized") +# Set server listen port +HTTP_LISTEN_PORT = 8000 +HTTP_LISTEN_IP = "0.0.0.0" + + _concept_cache = {"data": None, "fetched_at": 0} _CONCEPT_CACHE_TTL = 60 * 60 # 1 hour TTL # SDTM dataset specializations cache (similar TTL) @@ -199,6 +214,13 @@ def _configure_logging(): _backfill_dataset_date("protocol_terminology", "protocol_terminology_audit") _migrate_biomedical_concept_audit() _migrate_backfill_biomedical_concept_codes() +_migrate_add_soa_id_indexes() +_migrate_add_footnote_table() +_migrate_add_footnote_audit_table() +_migrate_matrix_cells_add_superscript() +_migrate_add_bc_surrogate_table() +_migrate_add_activity_surrogate_table() +_migrate_add_bc_surrogate_audit_table() # Include routers @@ -220,6 +242,10 @@ def _configure_logging(): app.include_router(tdd_router.router) app.include_router(decision_instances_router.router) app.include_router(condition_assignments_router.router) +app.include_router(footnotes_router.router) +app.include_router(footnotes_router.ui_router) +app.include_router(bc_surrogates_router.router) +app.include_router(bc_surrogates_router.ui_router) def _record_visit_audit( @@ -303,72 +329,6 @@ def reorder_visits_api(soa_id: int, order: List[int]): ''' -# API functions for reordering Activities -@app.post("/soa/{soa_id}/activities/reorder", response_class=JSONResponse) -def reorder_activities_api(soa_id: int, order: List[int]): - """JSON reorder endpoint for activities.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - if not order: - raise HTTPException(400, "Order list required") - conn = _connect() - cur = conn.cursor() - cur.execute( - "SELECT id FROM activity WHERE soa_id=? ORDER BY order_index", (soa_id,) - ) - old_order = [r[0] for r in cur.fetchall()] - cur.execute("SELECT id FROM activity WHERE soa_id=?", (soa_id,)) - existing = {r[0] for r in cur.fetchall()} - if set(order) - existing: - conn.close() - raise HTTPException(400, "Order contains invalid activity id") - # Capture before state for audit detail (id -> order_index) - before_rows = { - r[0]: r[1] - for r in cur.execute( - "SELECT id, order_index FROM activity WHERE soa_id=?", (soa_id,) - ).fetchall() - } - for idx, aid in enumerate(order, start=1): - cur.execute("UPDATE activity SET order_index=? WHERE id=?", (idx, aid)) - # Prepare after state mapping prior to UID refresh - after_rows = { - r[0]: r[1] - for r in cur.execute( - "SELECT id, order_index FROM activity WHERE soa_id=?", (soa_id,) - ).fetchall() - } - # Two-phase UID reassignment to avoid UNIQUE constraint collisions during in-place changes - cur.execute( - "UPDATE activity SET activity_uid = 'TMP_' || id WHERE soa_id=?", - (soa_id,), - ) - cur.execute( - "UPDATE activity SET activity_uid = 'Activity_' || order_index WHERE soa_id=?", - (soa_id,), - ) - conn.commit() - conn.close() - _record_reorder_audit(soa_id, "activity", old_order, order) - # Activity-level audit entry capturing each id's order change list - reorder_details = [ - { - "id": aid, - "before_order_index": before_rows.get(aid), - "after_order_index": after_rows.get(aid), - } - for aid in order - ] - _record_activity_audit( - soa_id, - "reorder", - activity_id=None, - before={"old_order": old_order}, - after={"new_order": order, "details": reorder_details}, - ) - return JSONResponse({"ok": True, "old_order": old_order, "new_order": order}) - - def _list_freezes(soa_id: int): conn = _connect() cur = conn.cursor() @@ -1108,12 +1068,13 @@ def _fetch_matrix(soa_id: int): ] cur.execute( """ - SELECT instance_id, activity_id, status FROM matrix_cells WHERE soa_id=? AND instance_id IS NOT NULL + SELECT instance_id, activity_id, status, superscript FROM matrix_cells WHERE soa_id=? AND instance_id IS NOT NULL """, (soa_id,), ) cells = [ - dict(instance_id=r[0], activity_id=r[1], status=r[2]) for r in cur.fetchall() + dict(instance_id=r[0], activity_id=r[1], status=r[2], superscript=r[3]) + for r in cur.fetchall() ] conn.close() return instances, activities, cells @@ -2400,6 +2361,38 @@ def _get_activity_concepts(activity_id: int): return rows +def _get_activity_surrogates(soa_id: int, activity_id: int): + """Return (surrogates, selected_surrogate_list, selected_surrogate_uids) for concepts_cell render.""" + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name, label FROM biomedical_concept_surrogate WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + surrogates = [ + {"id": r[0], "surrogate_uid": r[1], "name": r[2], "label": r[3]} + for r in cur.fetchall() + ] + cur.execute( + "SELECT bcs.id, bcs.surrogate_uid, bcs.name, bcs.label " + "FROM activity_surrogate asr " + "JOIN biomedical_concept_surrogate bcs ON bcs.surrogate_uid=asr.surrogate_uid AND bcs.soa_id=asr.soa_id " + "JOIN activity a ON a.activity_uid=asr.activity_uid AND a.soa_id=asr.soa_id " + "WHERE asr.soa_id=? AND a.id=?", + (soa_id, activity_id), + ) + selected_surrogate_list = [ + {"id": r[0], "surrogate_uid": r[1], "name": r[2], "label": r[3]} + for r in cur.fetchall() + ] + conn.close() + return ( + surrogates, + selected_surrogate_list, + [s["surrogate_uid"] for s in selected_surrogate_list], + ) + + def _lookup_and_save_dss(soa_id: int, activity_id: int, concept_code: str) -> None: """Background task: auto-lookup DSS for a concept via CDISC API and persist.""" import os @@ -3179,6 +3172,9 @@ def ui_add_activity_concept( background_tasks.add_task(_populate_bc_properties_bg, soa_id, activity_id, code) conn.close() selected = _get_activity_concepts(activity_id) + surrogates, selected_surrogate_list, selected_surrogate_uids = ( + _get_activity_surrogates(soa_id, activity_id) + ) html = templates.get_template("concepts_cell.html").render( request=request, soa_id=soa_id, @@ -3186,6 +3182,9 @@ def ui_add_activity_concept( concepts=concepts, selected_codes=[s["code"] for s in selected], selected_list=selected, + surrogates=surrogates, + selected_surrogate_list=selected_surrogate_list, + selected_surrogate_uids=selected_surrogate_uids, edit=False, ) return HTMLResponse(html) @@ -3248,6 +3247,9 @@ def ui_remove_activity_concept( conn.close() concepts = fetch_biomedical_concepts() selected = _get_activity_concepts(activity_id) + surrogates, selected_surrogate_list, selected_surrogate_uids = ( + _get_activity_surrogates(soa_id, activity_id) + ) html = templates.get_template("concepts_cell.html").render( request=request, soa_id=soa_id, @@ -3255,6 +3257,9 @@ def ui_remove_activity_concept( concepts=concepts, selected_codes=[s["code"] for s in selected], selected_list=selected, + surrogates=surrogates, + selected_surrogate_list=selected_surrogate_list, + selected_surrogate_uids=selected_surrogate_uids, edit=False, ) return HTMLResponse(html) @@ -3353,6 +3358,44 @@ def set_cell_instance(soa_id: int, payload: dict): return {"cell_id": cid, "status": status} +def _render_cell_td( + soa_id: int, + instance_id: int, + activity_id: int, + status: str, + superscript: str | None, +) -> str: + """Build the HTML for a matrix cell, including superscript and edit button.""" + soa_id_safe = _html.escape(str(soa_id), quote=True) + instance_id_safe = _html.escape(str(instance_id), quote=True) + activity_id_safe = _html.escape(str(activity_id), quote=True) + + if status == "X": + sup_html = f"{_html.escape(superscript)}" if superscript else "" + edit_btn = ( + f'\u270e' + ) + content = f"X{sup_html}{edit_btn}" + else: + content = "" + + # Build hx-vals as JSON, then HTML-escape for safe embedding in attribute + hx_vals_json = json.dumps( + {"instance_id": instance_id, "activity_id": activity_id}, + separators=(",", ":"), + ) + hx_vals_attr = _html.escape(hx_vals_json, quote=True) + + return ( + f'{content}' + ) + + @app.post("/ui/soa/{soa_id}/toggle_cell_instance", response_class=HTMLResponse) def ui_toggle_cell_instance( request: Request, @@ -3370,16 +3413,11 @@ def ui_toggle_cell_instance( (soa_id, instance_id, activity_id), ) row = cur.fetchone() - if row and row[0] == "X": - cur.execute("DELETE FROM matrix_cells WHERE id=?", (row[1],)) - conn.commit() - conn.close() - current = "" - elif row: + if row: cur.execute("DELETE FROM matrix_cells WHERE id=?", (row[1],)) conn.commit() conn.close() - current = "" + return HTMLResponse(_render_cell_td(soa_id, instance_id, activity_id, "", None)) else: cur.execute( "INSERT INTO matrix_cells (soa_id, instance_id, activity_id, status) VALUES (?,?,?,?)", @@ -3387,9 +3425,9 @@ def ui_toggle_cell_instance( ) conn.commit() conn.close() - current = "X" - cell_html = f'{current}' - return HTMLResponse(cell_html) + return HTMLResponse( + _render_cell_td(soa_id, instance_id, activity_id, "X", None) + ) # API endpoint for exporting the Matrix as XLSX @@ -3445,6 +3483,23 @@ def export_xlsx(soa_id: int, left: Optional[int] = None, right: Optional[int] = conn.close() visits, activities, _cells = _fetch_matrix(soa_id) activity_ids_in_order = [a["id"] for a in activities] + # Fetch BC surrogates per activity + conn_s = _connect() + cur_s = conn_s.cursor() + cur_s.execute( + "SELECT a.id, bcs.surrogate_uid, bcs.name, bcs.label " + "FROM activity_surrogate asr " + "JOIN activity a ON a.activity_uid=asr.activity_uid AND a.soa_id=asr.soa_id " + "JOIN biomedical_concept_surrogate bcs ON bcs.surrogate_uid=asr.surrogate_uid AND bcs.soa_id=asr.soa_id " + "WHERE asr.soa_id=?", + (soa_id,), + ) + surrogates_map: dict = {} + for _aid, _sur_uid, _sur_name, _sur_label in cur_s.fetchall(): + surrogates_map.setdefault(_aid, []).append( + {"surrogate_uid": _sur_uid, "name": _sur_name, "label": _sur_label} + ) + conn_s.close() # Build display strings using EffectiveTitle (override if present) and show code in parentheses concepts_strings = [] concept_titles_strings = [] # For Concept UIDs column, show titles with UIDs @@ -3468,9 +3523,34 @@ def export_xlsx(soa_id: int, left: Optional[int] = None, right: Optional[int] = else: titles_with_uids.append(title) concept_titles_strings.append("; ".join(titles_with_uids)) + surrogates_strings = [] + for aid in activity_ids_in_order: + slist = surrogates_map.get(aid, []) + if not slist: + surrogates_strings.append("") + else: + surrogates_strings.append( + "; ".join( + [ + f"[S] {s['label'] or s['name']} ({s['surrogate_uid']})" + for s in slist + ] + ) + ) + combined_uid_strings = [] + for _i in range(len(activity_ids_in_order)): + _parts = [ + _p for _p in [concept_titles_strings[_i], surrogates_strings[_i]] if _p + ] + combined_uid_strings.append("; ".join(_parts)) if len(concepts_strings) == len(df): df.insert(1, "Concepts", concepts_strings) - df["Concept UIDs"] = concept_titles_strings + df["Concept UIDs"] = combined_uid_strings + if len(surrogates_strings) == len(df): + concepts_col_idx = ( + df.columns.get_loc("Concepts") + 1 if "Concepts" in df.columns else 1 + ) + df.insert(concepts_col_idx, "Surrogates", surrogates_strings) # Build concept mappings sheet data mapping_rows = [] for a in activities: @@ -3511,6 +3591,18 @@ def export_xlsx(soa_id: int, left: Optional[int] = None, right: Optional[int] = "ConceptUID", ], ) + # Build BC surrogate mappings sheet data + surrogate_mapping_rows = [] + for a in activities: + aid = a["id"] + for s in surrogates_map.get(aid, []): + surrogate_mapping_rows.append( + [aid, a["name"], s["surrogate_uid"], s["name"], s["label"]] + ) + surrogate_mapping_df = pd.DataFrame( + surrogate_mapping_rows, + columns=["ActivityID", "ActivityName", "SurrogateUID", "Name", "Label"], + ) # Build rollback audit sheet data (optional) audit_rows = ( _list_rollback_audit(soa_id) if "_list_rollback_audit" in globals() else [] @@ -3670,6 +3762,9 @@ def export_xlsx(soa_id: int, left: Optional[int] = None, right: Optional[int] = with pd.ExcelWriter(bio, engine="openpyxl") as writer: study_df.to_excel(writer, index=False, sheet_name="Study") mapping_df.to_excel(writer, index=False, sheet_name="ConceptMappings") + surrogate_mapping_df.to_excel( + writer, index=False, sheet_name="SurrogateMappings" + ) audit_df.to_excel(writer, index=False, sheet_name="RollbackAudit") if concept_diff_df is not None: concept_diff_df.to_excel(writer, index=False, sheet_name="ConceptDiff") @@ -3711,7 +3806,14 @@ def export_xlsx(soa_id: int, left: Optional[int] = None, right: Optional[int] = # Add concepts columns if len(concepts_strings) == len(df_tl): df_tl.insert(1, "Concepts", concepts_strings) - df_tl["Concept UIDs"] = concept_titles_strings + df_tl["Concept UIDs"] = combined_uid_strings + if len(surrogates_strings) == len(df_tl): + _sur_col_idx = ( + df_tl.columns.get_loc("Concepts") + 1 + if "Concepts" in df_tl.columns + else 1 + ) + df_tl.insert(_sur_col_idx, "Surrogates", surrogates_strings) # Sanitize sheet name (max 31 chars, no special chars) sheet_name = f"SoA - {timeline_name}"[:31] @@ -4037,7 +4139,7 @@ def import_matrix(soa_id: int, payload: MatrixImport): next_order += 1 if has_activity_uid: cols.append("activity_uid") - vals.append(f"Activity_{soa_id}_{next_order}") + vals.append(activities_router._next_activity_uid(cur, soa_id)) cur.execute( f"INSERT INTO activity ({','.join(cols)}) VALUES ({','.join(['?'] * len(vals))})", vals, @@ -4076,17 +4178,6 @@ def _reindex(table: str, soa_id: int): ids = [r[0] for r in cur.fetchall()] for idx, _id in enumerate(ids, start=1): cur.execute(f"UPDATE {table} SET order_index=? WHERE id=?", (idx, _id)) - # Maintain activity_uid after any activity reindex - if table == "activity": - # Two-phase UID refresh to satisfy UNIQUE(soa_id, activity_uid) without transient collisions - cur.execute( - "UPDATE activity SET activity_uid = 'TMP_' || id WHERE soa_id=?", - (soa_id,), - ) - cur.execute( - "UPDATE activity SET activity_uid = 'Activity_' || order_index WHERE soa_id=?", - (soa_id,), - ) conn.commit() conn.close() @@ -4179,7 +4270,7 @@ def ui_add_activity(request: Request, soa_id: int, name: str = Form(...)): order_index = cur.fetchone()[0] + 1 cur.execute( "INSERT INTO activity (soa_id,name,order_index,activity_uid) VALUES (?,?,?,?)", - (soa_id, nm, order_index, f"Activity_{order_index}"), + (soa_id, nm, order_index, activities_router._next_activity_uid(cur, soa_id)), ) aid = cur.lastrowid conn.commit() @@ -4348,6 +4439,9 @@ def ui_edit(request: Request, soa_id: int): activities_page = activities # Build cell lookup cell_map = {(c["instance_id"], c["activity_id"]): c["status"] for c in cells} + superscript_map = { + (c["instance_id"], c["activity_id"]): c.get("superscript") for c in cells + } concepts = fetch_biomedical_concepts() activity_ids = [a["id"] for a in activities_page] activity_concepts = {} @@ -4368,6 +4462,29 @@ def ui_edit(request: Request, soa_id: int): for aid, code, title in cur.fetchall(): activity_concepts.setdefault(aid, []).append({"code": code, "title": title}) conn.close() + # Fetch per-activity surrogate mappings for the matrix view + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT a.id, bcs.id, bcs.surrogate_uid, bcs.name, bcs.label " + "FROM activity_surrogate asr " + "JOIN activity a ON a.activity_uid=asr.activity_uid AND a.soa_id=asr.soa_id " + "JOIN biomedical_concept_surrogate bcs ON bcs.surrogate_uid=asr.surrogate_uid AND bcs.soa_id=asr.soa_id " + "WHERE asr.soa_id=?", + (soa_id,), + ) + activity_surrogates: dict = {} + for row in cur.fetchall(): + aid, sur_id, sur_uid, sur_name, sur_label = row + activity_surrogates.setdefault(aid, []).append( + { + "id": sur_id, + "surrogate_uid": sur_uid, + "name": sur_name, + "label": sur_label, + } + ) + conn.close() concepts_diag = { "count": len(_concept_cache.get("data") or []), "last_status": _concept_cache.get("last_status"), @@ -4642,6 +4759,28 @@ def ui_edit(request: Request, soa_id: int): if not default_timeline and "unassigned" in instances_by_timeline: default_timeline = "unassigned" + # Load footnotes for display below matrix + conn_fn = _connect() + cur_fn = conn_fn.cursor() + cur_fn.execute( + "SELECT id,soa_id,footnote_uid,name,label,description,text,dictionary_uid FROM footnote WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + footnotes = [ + dict( + id=r[0], + soa_id=r[1], + footnote_uid=r[2], + name=r[3], + label=r[4], + description=r[5], + text=r[6], + dictionary_uid=r[7], + ) + for r in cur_fn.fetchall() + ] + conn_fn.close() + instances_crud = instances_router.list_instances(soa_id) encounter_options = get_encounter_id(soa_id) epoch_options = get_epoch_uid(soa_id) @@ -4666,6 +4805,7 @@ def ui_edit(request: Request, soa_id: int): "cell_map": cell_map, "concepts": concepts, "activity_concepts": activity_concepts, + "activity_surrogates": activity_surrogates, "concepts_empty": len(concepts) == 0, "concepts_diag": concepts_diag, "concepts_last_fetch_iso": last_fetch_iso, @@ -4685,6 +4825,8 @@ def ui_edit(request: Request, soa_id: int): "timelines": timelines, "instances_by_timeline": instances_by_timeline, "default_timeline": default_timeline, + "footnotes": footnotes, + "superscript_map": superscript_map, }, ) @@ -5526,6 +5668,9 @@ def ui_set_activity_concepts( ) selected = [{"code": c, "title": t} for c, t in cur.fetchall()] conn.close() + surrogates, selected_surrogate_list, selected_surrogate_uids = ( + _get_activity_surrogates(soa_id, activity_id) + ) html = templates.get_template("concepts_cell.html").render( request=request, soa_id=soa_id, @@ -5533,6 +5678,9 @@ def ui_set_activity_concepts( concepts=concepts, selected_codes=[s["code"] for s in selected], selected_list=selected, + surrogates=surrogates, + selected_surrogate_list=selected_surrogate_list, + selected_surrogate_uids=selected_surrogate_uids, edit=False, ) return HTMLResponse(html) @@ -5570,6 +5718,9 @@ def ui_activity_concepts_cell( ) selected = [{"code": c, "title": t} for c, t in cur.fetchall()] conn.close() + surrogates, selected_surrogate_list, selected_surrogate_uids = ( + _get_activity_surrogates(soa_id, activity_id) + ) return HTMLResponse( templates.get_template("concepts_cell.html").render( request=request, @@ -5578,6 +5729,9 @@ def ui_activity_concepts_cell( concepts=concepts, selected_codes=[s["code"] for s in selected], selected_list=selected, + surrogates=surrogates, + selected_surrogate_list=selected_surrogate_list, + selected_surrogate_uids=selected_surrogate_uids, edit=bool(edit), ) ) @@ -5625,7 +5779,9 @@ def ui_toggle_cell( cur.execute("DELETE FROM matrix_cells WHERE id=?", (row[1],)) conn.commit() conn.close() - current = "" + return HTMLResponse( + _render_cell_td(soa_id, int(instance_id), activity_id, "", None) + ) else: cur.execute( "INSERT INTO matrix_cells (soa_id, instance_id, activity_id, status) VALUES (?,?,?,?)", @@ -5633,12 +5789,9 @@ def ui_toggle_cell( ) conn.commit() conn.close() - current = "X" - cell_html = ( - f'{current}' - ) + return HTMLResponse( + _render_cell_td(soa_id, int(instance_id), activity_id, "X", None) + ) else: # Legacy visit-based toggle if visit_id is None: @@ -5662,6 +5815,7 @@ def ui_toggle_cell( conn.commit() conn.close() current = "X" + # Legacy path: visit-based cells don't have superscript support cell_html = ( f' for superscript inline editing.""" + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT superscript FROM matrix_cells WHERE soa_id=? AND instance_id=? AND activity_id=?", + (soa_id, instance_id, activity_id), + ) + row = cur.fetchone() + conn.close() + if not row: + raise HTTPException(404, "Cell not found") + sup_val = _html.escape(row[0] or "", quote=True) + html = ( + f'' + f"X" + f'
' + f'' + f'' + f"
" + f'' + f"" + ) + return HTMLResponse(html) + + +@app.post( + "/ui/soa/{soa_id}/cell_superscript/{instance_id}/{activity_id}", + response_class=HTMLResponse, +) +def ui_cell_superscript_save( + request: Request, + soa_id: int, + instance_id: int, + activity_id: int, + superscript: Optional[str] = Form(None), +): + """Save superscript value for a cell and return rendered .""" + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + # Normalise empty string to NULL + sup_val = superscript.strip() if superscript else None + conn = _connect() + cur = conn.cursor() + cur.execute( + "UPDATE matrix_cells SET superscript=? WHERE soa_id=? AND instance_id=? AND activity_id=?", + (sup_val, soa_id, instance_id, activity_id), + ) + # If no rows were updated, the target cell does not exist (or does not belong to this SOA) + if cur.rowcount == 0: + conn.close() + raise HTTPException(404, "Matrix cell not found") + # Read back the actual status and superscript from the database to render an accurate cell + cur.execute( + "SELECT status, superscript FROM matrix_cells WHERE soa_id=? AND instance_id=? AND activity_id=?", + (soa_id, instance_id, activity_id), + ) + row = cur.fetchone() + conn.commit() + conn.close() + status = row[0] if row else "" + sup_val_db = row[1] if row else None + return HTMLResponse( + _render_cell_td(soa_id, instance_id, activity_id, status or "", sup_val_db) + ) + + +@app.get( + "/ui/soa/{soa_id}/cell_superscript_view/{instance_id}/{activity_id}", + response_class=HTMLResponse, +) +def ui_cell_superscript_view( + request: Request, + soa_id: int, + instance_id: int, + activity_id: int, +): + """Return rendered (view-mode) — used for cancel.""" + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT status, superscript FROM matrix_cells WHERE soa_id=? AND instance_id=? AND activity_id=?", + (soa_id, instance_id, activity_id), + ) + row = cur.fetchone() + conn.close() + status = row[0] if row else "" + sup_val = row[1] if row else None + return HTMLResponse( + _render_cell_td(soa_id, instance_id, activity_id, status or "", sup_val) + ) + + # UI endpoint for associating a Transition Start Rule with Visit/Encounter (visit.transitionStartRule) @app.post( "/ui/soa/{soa_id}/set_visit_transition_start_rule", response_class=HTMLResponse @@ -6108,6 +6373,17 @@ def load_ddf_terminology( return {"columns": sanitized, "row_count": len(records)} +def _validate_terminology_path(file_path: str, project_root: str) -> str: + safe_root = os.path.realpath(os.path.join(project_root, "files")) + resolved = os.path.realpath(file_path) + if not resolved.startswith(safe_root + os.sep) and resolved != safe_root: + raise HTTPException( + 400, + f"file_path must be within the project files directory. Got: {file_path}", + ) + return resolved + + # UI endpoint to load DDF Terminology @app.post("/admin/load_ddf_terminology") def admin_load_ddf( @@ -6130,7 +6406,7 @@ def admin_load_ddf( ] # If explicit file_path provided, prefer it if file_path: - fp = file_path + fp = _validate_terminology_path(file_path, project_root) else: fp = None for c in candidates: @@ -6716,7 +6992,7 @@ def admin_load_protocol( os.path.join(project_root, "files", "Protocol_Terminology_2025-09-26.xls"), ] if file_path: - fp = file_path + fp = _validate_terminology_path(file_path, project_root) else: fp = None for c in candidates: @@ -7153,1115 +7429,13 @@ def ui_protocol_audit( def main(): import uvicorn - uvicorn.run("soa_builder.web.app:app", host="0.0.0.0", port=8000, reload=True) + uvicorn.run( + "soa_builder.web.app:app", + host=HTTP_LISTEN_IP, + port=HTTP_LISTEN_PORT, + reload=True, + ) if __name__ == "__main__": main() - - -# Deprecated (Moved to routers/epochs.py) -""" -def _record_epoch_audit( - soa_id: int, - action: str, - epoch_id: Optional[int], - before: Optional[dict] = None, - after: Optional[dict] = None, -): - try: - conn = _connect() - cur = conn.cursor() - cur.execute( - "INSERT INTO epoch_audit (soa_id, epoch_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", - ( - soa_id, - epoch_id, - action, - json.dumps(before) if before else None, - json.dumps(after) if after else None, - datetime.now(timezone.utc).isoformat(), - ), - ) - conn.commit() - conn.close() - except Exception as e: # pragma: no cover - logger.warning("Failed recording epoch audit: %s", e) -""" -# Moved to routers/epochs.py -''' -@app.delete("/soa/{soa_id}/epochs/{epoch_id}") -def delete_epoch(soa_id: int, epoch_id: int): - """Delete an Epoch from an SoA.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - conn = _connect() - cur = conn.cursor() - cur.execute("SELECT 1 FROM epoch WHERE id=? AND soa_id=?", (epoch_id, soa_id)) - if not cur.fetchone(): - conn.close() - raise HTTPException(404, "Epoch not found") - cur.execute( - "SELECT id,name,order_index,epoch_seq,epoch_label,epoch_description FROM epoch WHERE id=?", - (epoch_id,), - ) - b = cur.fetchone() - before = None - if b: - before = { - "id": b[0], - "name": b[1], - "order_index": b[2], - "epoch_seq": b[3], - "epoch_label": b[4], - "epoch_description": b[5], - } - # Include current type in before snapshot - try: - cur.execute("SELECT type FROM epoch WHERE id=?", (epoch_id,)) - tr = cur.fetchone() - if before is not None: - before["type"] = tr[0] if tr else None - except Exception: - pass - # Clear visit epoch references to avoid dangling links - try: - cur.execute( - "UPDATE visit SET epoch_id=NULL WHERE soa_id=? AND epoch_id=?", - (soa_id, epoch_id), - ) - except Exception: - pass - # Delete the epoch row - cur.execute("DELETE FROM epoch WHERE id=?", (epoch_id,)) - conn.commit() - conn.close() - _reindex("epoch", soa_id) - _record_epoch_audit(soa_id, "delete", epoch_id, before=before, after=None) - return {"deleted_epoch_id": epoch_id} -''' - -# # UI endpoint for reordering Epochs <- moved to routers/epochs.py -''' -@app.post("/ui/soa/{soa_id}/reorder_epochs", response_class=HTMLResponse) -def ui_reorder_epochs(request: Request, soa_id: int, order: str = Form("")): - """Form handler to persist new epoch ordering.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - ids = [int(x) for x in order.split(",") if x.strip().isdigit()] - if not ids: - return HTMLResponse("Invalid order", status_code=400) - conn = _connect() - cur = conn.cursor() - cur.execute("SELECT id FROM epoch WHERE soa_id=? ORDER BY order_index", (soa_id,)) - old_order = [r[0] for r in cur.fetchall()] - cur.execute("SELECT id FROM epoch WHERE soa_id=?", (soa_id,)) - existing = {r[0] for r in cur.fetchall()} - if set(ids) - existing: - conn.close() - return HTMLResponse("Order contains invalid epoch id", status_code=400) - for idx, eid in enumerate(ids, start=1): - cur.execute("UPDATE epoch SET order_index=? WHERE id=?", (idx, eid)) - conn.commit() - conn.close() - _record_reorder_audit(soa_id, "epoch", old_order, ids) - - # Also record epoch-specific reorder audit for parity with JSON endpoint - def _epoch_types_snapshot(soa_id_int: int) -> list[dict]: - conn_s = _connect() - cur_s = conn_s.cursor() - cur_s.execute( - "SELECT id,type FROM epoch WHERE soa_id=? ORDER BY order_index", - (soa_id_int,), - ) - rows = cur_s.fetchall() - conn_s.close() - return [{"id": rid, "type": rtype} for rid, rtype in rows] - - _record_epoch_audit( - soa_id, - "reorder", - epoch_id=None, - before={ - "old_order": old_order, - "types": _epoch_types_snapshot(soa_id), - }, - after={"new_order": ids}, - ) - return HTMLResponse("OK") -''' -# UI endpoint for deleting an Epoch <- moved to routers/epochs.py -''' -@app.post("/ui/soa/{soa_id}/delete_epoch", response_class=HTMLResponse) -def ui_delete_epoch(request: Request, soa_id: int, epoch_id: int = Form(...)): - """Form handler to delete an Epoch.""" - delete_epoch(soa_id, epoch_id) - return HTMLResponse( - f"" - ) -''' - -# UI endpoint for reordering Encounters/Visits <- Deprecated -''' -@app.post("/ui/soa/{soa_id}/reorder_visits", response_class=HTMLResponse) -def ui_reorder_visits(request: Request, soa_id: int, order: str = Form("")): - """Persist new visit ordering. 'order' is a comma-separated list of visit IDs in desired order.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - ids = [int(x) for x in order.split(",") if x.strip().isdigit()] - if not ids: - return HTMLResponse("Invalid order", status_code=400) - conn = _connect() - cur = conn.cursor() - # Capture existing order BEFORE modifications - cur.execute("SELECT id FROM visit WHERE soa_id=? ORDER BY order_index", (soa_id,)) - old_order = [r[0] for r in cur.fetchall()] - # Validate membership - cur.execute("SELECT id FROM visit WHERE soa_id=?", (soa_id,)) - existing = {r[0] for r in cur.fetchall()} - if set(ids) - existing: - conn.close() - return HTMLResponse("Order contains invalid visit id", status_code=400) - # Apply new order indices - for idx, vid in enumerate(ids, start=1): - cur.execute("UPDATE visit SET order_index=? WHERE id=?", (idx, vid)) - conn.commit() - conn.close() - _record_reorder_audit(soa_id, "visit", old_order, ids) - return HTMLResponse("OK") -''' -# UI endpoint for updating an Encounter/Visit <- moved to routers/visits.py -''' -@app.post("/ui/soa/{soa_id}/update_visit", response_class=HTMLResponse) -def ui_update_visit( - request: Request, - soa_id: int, - visit_id: int = Form(...), - name: Optional[str] = Form(None), - label: Optional[str] = Form(None), - description: Optional[str] = Form(None), -): - """Form handler to update a Visit's mutable fields (name/label/description).""" - # Build payload with provided fields; blanks should clear values - payload = VisitUpdate( - name=name, - label=label, - description=description, - ) - try: - visits_router.update_visit(soa_id, visit_id, payload) - except Exception: - # Let redirect proceed; detailed errors will appear in API logs - pass - return HTMLResponse( - f"" - ) -''' -# UI code to delete an Encounter/Visit from an SOA <- moved to routers/visits.py -""" -@app.post("/ui/soa/{soa_id}/delete_visit", response_class=HTMLResponse) -def ui_delete_visit(request: Request, soa_id: int, visit_id: int = Form(...)): - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - - try: - # Call through router to avoid stale import bindings - visits_router.delete_visit(soa_id, visit_id) - except HTTPException: - # swallow 404 to keep UX smooth - pass - # If HTMX, use HX-Redirect; else script redirect - if request.headers.get("HX-Request") == "true": - return HTMLResponse("", headers={"HX-Redirect": f"/ui/soa/{int(soa_id)}/edit"}) - return HTMLResponse( - f"" - ) -""" - - -# UI endpoint for associating an Epoch with a Visit/Encounter <- Deprecated (Visits are not directly related to an Epoch) -''' -@app.post("/ui/soa/{soa_id}/set_visit_epoch", response_class=HTMLResponse) -def ui_set_visit_epoch( - request: Request, - soa_id: int, - visit_id: int = Form(...), - epoch_id_raw: str = Form(""), # new field name (blank means clear) - epoch_id: str = Form(""), # legacy field name used by template select -): - """Form handler to associate an Epoch with a Visit/Encounter.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - # Determine provided raw value (prefer epoch_id_raw if non-blank) - raw_val = (epoch_id_raw or "").strip() or (epoch_id or "").strip() - parsed_epoch: Optional[int] = None - if raw_val: - if raw_val.isdigit(): - parsed_epoch = int(raw_val) - else: - raise HTTPException(400, "Invalid epoch_id value") - conn = _connect() - cur = conn.cursor() - cur.execute( - "SELECT id,name,label,order_index,epoch_id,encounter_uid,description FROM visit WHERE id=? AND soa_id=?", - (visit_id, soa_id), - ) - row = cur.fetchone() - if not row: - conn.close() - raise HTTPException(404, "Visit not found") - before = { - "id": row[0], - "name": row[1], - "label": row[2], - "order_index": row[3], - "epoch_id": row[4], - "encounter_uid": row[5], - "description": row[6], - } - if parsed_epoch is not None: - cur.execute( - "SELECT 1 FROM epoch WHERE id=? AND soa_id=?", (parsed_epoch, soa_id) - ) - if not cur.fetchone(): - conn.close() - raise HTTPException(400, "Invalid epoch_id for this SOA") - cur.execute("UPDATE visit SET epoch_id=? WHERE id=?", (parsed_epoch, visit_id)) - conn.commit() - """ - logger.info( - "ui_set_visit_epoch updated visit id=%s soa_id=%s epoch_id=%s raw_val='%s' db_path=%s", - visit_id, - soa_id, - parsed_epoch, - raw_val, - DB_PATH, - ) - """ - # Fetch after and record audit - cur.execute( - "SELECT id,name,label,order_index,epoch_id,encounter_uid,description FROM visit WHERE id=? AND soa_id=?", - (visit_id, soa_id), - ) - r = cur.fetchone() - after = { - "id": r[0], - "name": r[1], - "label": r[2], - "order_index": r[3], - "epoch_id": r[4], - "encounter_uid": r[5], - "description": r[6], - } - updated_fields = [ - f for f in ["epoch_id"] if (before.get(f) or None) != (after.get(f) or None) - ] - _record_visit_audit( - soa_id, - "update", - visit_id, - before=before, - after={**after, "updated_fields": updated_fields}, - ) - conn.close() - return HTMLResponse( - f"" - ) -''' -# UI endpoint for adding a new Epoch <- moved to routers/epochs.py -''' -@app.post("/ui/soa/{soa_id}/add_epoch", response_class=HTMLResponse) -def ui_add_epoch( - request: Request, - soa_id: int, - name: str = Form(...), - epoch_label: Optional[str] = Form(None), - epoch_description: Optional[str] = Form(None), - epoch_type_submission_value: Optional[str] = Form(None), -): - """Form handler to add an Epoch.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - conn = _connect() - cur = conn.cursor() - cur.execute("SELECT COUNT(*) FROM epoch WHERE soa_id=?", (soa_id,)) - order_index = cur.fetchone()[0] + 1 - cur.execute("SELECT MAX(epoch_seq) FROM epoch WHERE soa_id=?", (soa_id,)) - row = cur.fetchone() - next_seq = (row[0] or 0) + 1 - # Optional epoch type mapping via code junction (C99079) using API-only map - epoch_type_submission_value = (epoch_type_submission_value or "").strip() or None - selected_code_uid = None - if epoch_type_submission_value: - try: - from .utils import load_epoch_type_map, get_epoch_parent_package_href_cached - - epoch_map = load_epoch_type_map() - except Exception: - epoch_map = {} - # Invert map to find conceptId by submissionValue - concept_id = None - for cid, sv in (epoch_map or {}).items(): - if sv and sv.strip().lower() == epoch_type_submission_value.strip().lower(): - concept_id = cid - break - if concept_id: - # Create a new Code_N for this conceptId under C99079 (API-only) - code_uid = _get_next_code_uid(cur, soa_id) - try: - parent_href = get_epoch_parent_package_href_cached() or None - except Exception: - parent_href = None - cur.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - code_uid, - parent_href, - "C99079", - concept_id, - ), - ) - selected_code_uid = code_uid - cur.execute( - "INSERT INTO epoch (soa_id,name,order_index,epoch_seq,epoch_label,epoch_description,type) VALUES (?,?,?,?,?,?,?)", - ( - soa_id, - name, - order_index, - next_seq, - (epoch_label or "").strip() or None, - (epoch_description or "").strip() or None, - selected_code_uid, - ), - ) - eid = cur.lastrowid - conn.commit() - conn.close() - _record_epoch_audit( - soa_id, - "create", - eid, - before={"type": None}, - after={ - "id": eid, - "name": name, - "order_index": order_index, - "epoch_seq": next_seq, - "epoch_label": (epoch_label or "").strip() or None, - "epoch_description": (epoch_description or "").strip() or None, - "type": selected_code_uid, - }, - ) - return HTMLResponse( - f"" - ) -''' - -# UI endpoint for updating an Epoch <- moved to routers/epochs.py -''' -@app.post("/ui/soa/{soa_id}/update_epoch", response_class=HTMLResponse) -def ui_update_epoch( - request: Request, - soa_id: int, - epoch_id: int = Form(...), - name: Optional[str] = Form(None), - epoch_label: Optional[str] = Form(None), - epoch_description: Optional[str] = Form(None), - epoch_type_submission_value: Optional[str] = Form(None), -): - """Form handler to update an existing Epoch.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - conn = _connect() - cur = conn.cursor() - cur.execute("SELECT 1 FROM epoch WHERE id=? AND soa_id=?", (epoch_id, soa_id)) - if not cur.fetchone(): - conn.close() - raise HTTPException(404, "Epoch not found") - conn.close() - # Capture before - conn_b = _connect() - cur_b = conn_b.cursor() - cur_b.execute( - "SELECT id,name,order_index,epoch_seq,epoch_label,epoch_description FROM epoch WHERE id=?", - (epoch_id,), - ) - b = cur_b.fetchone() - conn_b.close() - before = None - if b: - before = { - "id": b[0], - "name": b[1], - "order_index": b[2], - "epoch_seq": b[3], - "epoch_label": b[4], - "epoch_description": b[5], - } - # Include current type in before snapshot for audit - try: - conn_bt = _connect() - cur_bt = conn_bt.cursor() - cur_bt.execute("SELECT type FROM epoch WHERE id=?", (epoch_id,)) - br = cur_bt.fetchone() - conn_bt.close() - if before is not None: - before["type"] = br[0] if br else None - except Exception: - pass - sets = [] - vals: list[Any] = [] - if name is not None: - sets.append("name=?") - vals.append((name or "").strip() or None) - if epoch_label is not None: - sets.append("epoch_label=?") - vals.append((epoch_label or "").strip() or None) - if epoch_description is not None: - sets.append("epoch_description=?") - vals.append((epoch_description or "").strip() or None) - # Handle epoch type mapping via code junction (C99079) using API-only map - epoch_type_submission_value = (epoch_type_submission_value or "").strip() or None - if epoch_type_submission_value is not None: - # If empty string provided, clear type - if epoch_type_submission_value == "": - sets.append("type=?") - vals.append(None) - else: - # Resolve submission value to conceptId via API-only map - try: - from .utils import ( - load_epoch_type_map, - get_epoch_parent_package_href_cached, - ) - - epoch_map = load_epoch_type_map() - except Exception: - epoch_map = {} - concept_id = None - for cid, sv in (epoch_map or {}).items(): - if ( - sv - and sv.strip().lower() - == epoch_type_submission_value.strip().lower() - ): - concept_id = cid - break - selected_code_uid = None - if concept_id: - conn_t = _connect() - cur_t = conn_t.cursor() - # Always create a new Code_N for C99079 selections (no reuse) - code_uid = _get_next_code_uid(cur_t, soa_id) - try: - parent_href = get_epoch_parent_package_href_cached() or None - except Exception: - parent_href = None - cur_t.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - code_uid, - parent_href, - "C99079", - concept_id, - ), - ) - selected_code_uid = code_uid - conn_t.commit() - conn_t.close() - # Persist epoch.type even if concept_id not found will be None - sets.append("type=?") - vals.append(selected_code_uid) - if sets: - conn_u = _connect() - cur_u = conn_u.cursor() - vals.append(epoch_id) - cur_u.execute(f"UPDATE epoch SET {', '.join(sets)} WHERE id=?", vals) - conn_u.commit() - conn_u.close() - conn_a = _connect() - cur_a = conn_a.cursor() - cur_a.execute( - "SELECT id,name,order_index,epoch_seq,epoch_label,epoch_description FROM epoch WHERE id=?", - (epoch_id,), - ) - r = cur_a.fetchone() - conn_a.close() - after_api = { - "id": r[0], - "name": r[1], - "order_index": r[2], - "epoch_seq": r[3], - "epoch_label": r[4], - "epoch_description": r[5], - "type": None, - } - # Fetch type from epoch for audit after snapshot - conn_ta = _connect() - cur_ta = conn_ta.cursor() - cur_ta.execute("SELECT type FROM epoch WHERE id=?", (epoch_id,)) - tr_after = cur_ta.fetchone() - conn_ta.close() - if tr_after: - after_api["type"] = tr_after[0] - _record_epoch_audit( - soa_id, - "update", - epoch_id, - before=before, - after=after_api, - ) - return HTMLResponse( - f"" - ) -''' - -# UI endpoint for creating an Encounter/Visit <- Deprecated (moved to routers/visits.py) -""" -@app.post("/ui/soa/{soa_id}/add_visit", response_class=HTMLResponse) -def ui_add_visit( - request: Request, - soa_id: int, - name: str = Form(...), - label: Optional[str] = Form(None), - epoch_id: Optional[str] = Form(None), - description: Optional[str] = Form(None), -): - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - - # Coerce empty epoch_id from form to None, otherwise to int - parsed_epoch_id: Optional[int] = None - if epoch_id is not None: - eid = str(epoch_id).strip() - if eid: - try: - parsed_epoch_id = int(eid) - except ValueError: - parsed_epoch_id = None - - payload = VisitCreate( - name=name, - label=label, - epoch_id=parsed_epoch_id, - description=description, - ) - # Create the visit via the API helper to ensure audits and ordering - try: - visits_router.add_visit(soa_id, payload) - except Exception: - pass - - return HTMLResponse( - f"" - ) -""" - - -# UI endpoint for adding a new Arm <- Deprecated (moved to routers/arms.py) -''' -@app.post("/ui/soa/{soa_id}/add_arm", response_class=HTMLResponse) -async def ui_add_arm( - request: Request, - soa_id: int, - name: str = Form(...), - label: Optional[str] = Form(None), - description: Optional[str] = Form(None), - element_id: Optional[str] = Form(None), -): - """Form handler to create a new Arm.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - # Accept blank/empty element selection gracefully. The form may submit "" which would 422 with Optional[int]. - eid = int(element_id) if element_id and element_id.strip().isdigit() else None - payload = ArmCreate(name=name, label=label, description=description, element_id=eid) - # Create base arm (function may not return id; fetch if needed) - created = create_arm(soa_id, payload) - # routers.arms.create_arm returns a row dict; extract id - new_arm_id = None - try: - if isinstance(created, dict): - new_arm_id = created.get("id") - elif isinstance(created, int): - new_arm_id = created - except Exception: - new_arm_id = None - if not new_arm_id: - try: - conn_tmp = _connect() - cur_tmp = conn_tmp.cursor() - cur_tmp.execute( - "SELECT id FROM arm WHERE soa_id=? ORDER BY id DESC LIMIT 1", - (soa_id,), - ) - rtmp = cur_tmp.fetchone() - new_arm_id = rtmp[0] if rtmp else None - conn_tmp.close() - except Exception: - new_arm_id = None - if not new_arm_id: - return HTMLResponse( - f"", - status_code=500, - ) - # Read optional type fields with hyphenated names - try: - form_data = await request.form() - arm_type_submission = (form_data.get("arm-type") or "").strip() - data_origin_type_submission = (form_data.get("data-origin-type") or "").strip() - except Exception: - arm_type_submission = "" - data_origin_type_submission = "" - - # If type selections provided, resolve to terminology codes and persist via junction table - if arm_type_submission or data_origin_type_submission: - conn = _connect() - cur = conn.cursor() - logger.info( - "ui_add_arm: received type selections arm-type='%s', data-origin-type='%s' for soa_id=%s arm_id=%s", - arm_type_submission, - data_origin_type_submission, - soa_id, - new_arm_id, - ) - new_type_uid: Optional[str] = None - new_data_origin_uid: Optional[str] = None - if arm_type_submission: - cur.execute( - "SELECT code FROM protocol_terminology WHERE codelist_code='C174222' AND (cdisc_submission_value=? OR LOWER(TRIM(cdisc_submission_value))=LOWER(TRIM(?)))", - (arm_type_submission, arm_type_submission), - ) - r = cur.fetchone() - resolved_code = r[0] if r else None - if resolved_code is None: - logger.warning( - "ui_add_arm: unknown arm type submission '%s' for soa_id=%s", - arm_type_submission, - soa_id, - ) - conn.close() - return HTMLResponse( - f"", - status_code=400, - ) - # Create Code_N - new_type_uid = _get_next_code_uid(cur, soa_id) - cur.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - new_type_uid, - "protocol_terminology", - "C174222", - resolved_code, - ), - ) - logger.info( - "ui_add_arm: created code junction %s -> table=%s list=%s code=%s", - new_type_uid, - "protocol_terminology", - "C174222", - resolved_code, - ) - if data_origin_type_submission: - cur.execute( - "SELECT code FROM ddf_terminology WHERE codelist_code='C188727' AND (cdisc_submission_value=? OR LOWER(TRIM(cdisc_submission_value))=LOWER(TRIM(?)))", - (data_origin_type_submission, data_origin_type_submission), - ) - r2 = cur.fetchone() - resolved_ddf_code = r2[0] if r2 else None - if resolved_ddf_code is None: - logger.warning( - "ui_add_arm: unknown data origin type submission '%s' for soa_id=%s", - data_origin_type_submission, - soa_id, - ) - conn.close() - # Properly escape the value for safety in HTML/JS context - escaped_selection = json.dumps(data_origin_type_submission) - return HTMLResponse( - f"", - status_code=400, - ) - # Create Code_N (continue numbering) - new_data_origin_uid = _get_next_code_uid(cur, soa_id) - cur.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - new_data_origin_uid, - "ddf_terminology", - "C188727", - resolved_ddf_code, - ), - ) - logger.info( - "ui_add_arm: created code junction %s -> table=%s list=%s code=%s", - new_data_origin_uid, - "ddf_terminology", - "C188727", - resolved_ddf_code, - ) - # Update arm row with new code_uids - if new_type_uid or new_data_origin_uid: - cur.execute( - "UPDATE arm SET type=COALESCE(?, type), data_origin_type=COALESCE(?, data_origin_type) WHERE id=? AND soa_id=?", - (new_type_uid, new_data_origin_uid, new_arm_id, soa_id), - ) - logger.info( - "ui_add_arm: updated arm id=%s set type=%s data_origin_type=%s", - new_arm_id, - new_type_uid, - new_data_origin_uid, - ) - conn.commit() - # routers.arms.create_arm already records a create audit; avoid duplicating here - conn.close() - return HTMLResponse( - f"" - ) -''' - -# UI endpoint for updating an Arm <- Deprecated (moved to routers/arms.py) -''' -@app.post("/ui/soa/{soa_id}/update_arm", response_class=HTMLResponse) -async def ui_update_arm( - request: Request, - soa_id: int, - arm_id: int = Form(...), - name: Optional[str] = Form(None), - label: Optional[str] = Form(None), - description: Optional[str] = Form(None), - element_id: Optional[str] = Form(None), -): - """Form handler to update an existing Arm.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - - # Read raw form to capture field names with hyphens: 'arm-type' and 'data-origin-type' - try: - form_data = await request.form() - arm_type_submission = (form_data.get("arm-type") or "").strip() - data_origin_type_submission = (form_data.get("data-origin-type") or "").strip() - except Exception: - arm_type_submission = "" - data_origin_type_submission = "" - logger.info( - "ui_update_arm: arm_id=%s soa_id=%s incoming arm-type='%s' data-origin-type='%s'", - arm_id, - soa_id, - arm_type_submission, - data_origin_type_submission, - ) - - # Fetch current arm (including existing type code_uid if any) - conn = _connect() - cur = conn.cursor() - cur.execute( - "SELECT id, name, label, description, COALESCE(type,''), COALESCE(data_origin_type,'') FROM arm WHERE id=? AND soa_id=?", - (arm_id, soa_id), - ) - row = cur.fetchone() - if not row: - conn.close() - raise HTTPException(404, "Arm not found") - current_code_uid = row[4] or None - current_data_origin_uid = row[5] or None - # Capture prior code values for audits when code mapping changes without uid change - prior_arm_type_code_value: Optional[str] = None - prior_data_origin_code_value: Optional[str] = None - if current_code_uid: - cur.execute( - "SELECT code FROM code_association WHERE soa_id=? AND code_uid=?", - (soa_id, current_code_uid), - ) - rcv = cur.fetchone() - prior_arm_type_code_value = rcv[0] if rcv else None - if current_data_origin_uid: - cur.execute( - "SELECT code FROM code_association WHERE soa_id=? AND code_uid=?", - (soa_id, current_data_origin_uid), - ) - rdv = cur.fetchone() - prior_data_origin_code_value = rdv[0] if rdv else None - before_state = { - "id": row[0], - "name": row[1], - "label": row[2], - "description": row[3], - "type": current_code_uid, - "data_origin_type": current_data_origin_uid, - } - - # Resolve submission value to protocol terminology code (C174222) - resolved_code: Optional[str] = None - if arm_type_submission: - cur.execute( - "SELECT code FROM protocol_terminology WHERE codelist_code='C174222' AND (cdisc_submission_value=? OR LOWER(TRIM(cdisc_submission_value))=LOWER(TRIM(?)))", - (arm_type_submission, arm_type_submission), - ) - r = cur.fetchone() - resolved_code = r[0] if r else None - if resolved_code is None: - logger.warning( - "ui_update_arm: unknown arm type submission '%s' for soa_id=%s arm_id=%s", - arm_type_submission, - soa_id, - arm_id, - ) - conn.close() - return HTMLResponse( - f"", - status_code=400, - ) - - # Maintain code table row with immutable code_uid (Code_N unique per SoA) - new_code_uid = current_code_uid - if resolved_code is not None: - if current_code_uid: - # Update existing junction row for this code_uid - cur.execute( - "UPDATE code_association SET code=?, codelist_code='C174222', codelist_table='protocol_terminology' WHERE soa_id=? AND code_uid=?", - (resolved_code, soa_id, current_code_uid), - ) - logger.info( - "ui_update_arm: updated junction code_uid=%s -> table=%s list=%s code=%s", - current_code_uid, - "protocol_terminology", - "C174222", - resolved_code, - ) - else: - # Create new Code_N within this SoA - new_code_uid = _get_next_code_uid(cur, soa_id) - cur.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - new_code_uid, - "protocol_terminology", - "C174222", - resolved_code, - ), - ) - logger.info( - "ui_update_arm: created junction code_uid=%s -> table=%s list=%s code=%s", - new_code_uid, - "protocol_terminology", - "C174222", - resolved_code, - ) - - # Resolve Data Origin Type submission value to DDF terminology code (C188727) - resolved_ddf_code: Optional[str] = None - new_data_origin_uid = current_data_origin_uid - if data_origin_type_submission: - cur.execute( - "SELECT code FROM ddf_terminology WHERE codelist_code='C188727' AND (cdisc_submission_value=? OR LOWER(TRIM(cdisc_submission_value))=LOWER(TRIM(?)))", - (data_origin_type_submission, data_origin_type_submission), - ) - r2 = cur.fetchone() - resolved_ddf_code = r2[0] if r2 else None - if resolved_ddf_code is None: - logger.warning( - "ui_update_arm: unknown data origin type submission '%s' for soa_id=%s arm_id=%s", - data_origin_type_submission, - soa_id, - arm_id, - ) - conn.close() - return HTMLResponse( - f"", - status_code=400, - ) - # Maintain/Upsert immutable Code_N for DDF mapping - if current_data_origin_uid: - cur.execute( - "UPDATE code_association SET code=?, codelist_code='C188727', codelist_table='ddf_terminology' WHERE soa_id=? AND code_uid=?", - (resolved_ddf_code, soa_id, current_data_origin_uid), - ) - new_data_origin_uid = current_data_origin_uid - logger.info( - "ui_update_arm: updated junction code_uid=%s -> table=%s list=%s code=%s", - current_data_origin_uid, - "ddf_terminology", - "C188727", - resolved_ddf_code, - ) - else: - # Create new Code_N, ensuring unique across this SoA - new_data_origin_uid = _get_next_code_uid(cur, soa_id) - cur.execute( - "INSERT INTO code_association (soa_id, code_uid, codelist_table, codelist_code, code) VALUES (?,?,?,?,?)", - ( - soa_id, - new_data_origin_uid, - "ddf_terminology", - "C188727", - resolved_ddf_code, - ), - ) - logger.info( - "ui_update_arm: created junction code_uid=%s -> table=%s list=%s code=%s", - new_data_origin_uid, - "ddf_terminology", - "C188727", - resolved_ddf_code, - ) - - # Apply arm field updates (including setting type to code_uid if resolved) - new_name = name if name is not None else row[1] - new_label = label if label is not None else row[2] - new_desc = description if description is not None else row[3] - cur.execute( - "UPDATE arm SET name=?, label=?, description=?, type=?, data_origin_type=? WHERE id=? AND soa_id=?", - ( - new_name, - new_label, - new_desc, - new_code_uid, - new_data_origin_uid, - arm_id, - soa_id, - ), - ) - logger.info( - "ui_update_arm: applied UPDATE arm id=%s set name='%s' label='%s' type=%s data_origin_type=%s", - arm_id, - new_name, - new_label, - new_code_uid, - new_data_origin_uid, - ) - conn.commit() - # Capture post-update code_association values - post_arm_type_code_value: Optional[str] = None - post_data_origin_code_value: Optional[str] = None - if new_code_uid: - cur.execute( - "SELECT code FROM code_association WHERE soa_id=? AND code_uid=?", - (soa_id, new_code_uid), - ) - rav = cur.fetchone() - post_arm_type_code_value = rav[0] if rav else None - if new_data_origin_uid: - cur.execute( - "SELECT code FROM code_association WHERE soa_id=? AND code_uid=?", - (soa_id, new_data_origin_uid), - ) - rdv2 = cur.fetchone() - post_data_origin_code_value = rdv2[0] if rdv2 else None - after_state = { - "id": arm_id, - "name": new_name, - "label": new_label, - "description": new_desc, - "type": new_code_uid, - "data_origin_type": new_data_origin_uid, - "type_code": post_arm_type_code_value, - "data_origin_type_code": post_data_origin_code_value, - } - # Record audit if any relevant fields or underlying code mappings changed - if ( - before_state["type"] != after_state["type"] - or before_state["data_origin_type"] != after_state["data_origin_type"] - or prior_arm_type_code_value != post_arm_type_code_value - or prior_data_origin_code_value != post_data_origin_code_value - or before_state["name"] != after_state["name"] - or before_state["label"] != after_state["label"] - or before_state["description"] != after_state["description"] - ): - try: - _record_arm_audit( - soa_id, - "update", - arm_id=arm_id, - before=before_state, - after=after_state, - ) - except Exception: - pass - else: - logger.info( - "ui_update_arm: no-op update detected for arm_id=%s (no field or code changes)", - arm_id, - ) - conn.close() - return HTMLResponse( - f"" - ) -''' - -# UI endpoint for deleting an Arm <- Deprecated (moved to routers/arms.py) -""" -@app.post("/ui/soa/{soa_id}/delete_arm", response_class=HTMLResponse) -def ui_delete_arm(request: Request, soa_id: int, arm_id: int = Form(...)): - delete_arm(soa_id, arm_id) - return HTMLResponse( - f"" - ) -""" - -# UI endpoint for reordering Arms <- Deprecated (no longer needed) -''' -@app.post("/ui/soa/{soa_id}/reorder_arms", response_class=HTMLResponse) -def ui_reorder_arms(request: Request, soa_id: int, order: str = Form("")): - """Form handler to reorder existing Arms.""" - if not soa_exists(soa_id): - raise HTTPException(404, "SOA not found") - ids = [int(x) for x in order.split(",") if x.strip().isdigit()] - if not ids: - return HTMLResponse("Invalid order", status_code=400) - conn = _connect() - cur = conn.cursor() - cur.execute("SELECT id FROM arm WHERE soa_id=? ORDER BY order_index", (soa_id,)) - old_order = [r[0] for r in cur.fetchall()] - cur.execute("SELECT id FROM arm WHERE soa_id=?", (soa_id,)) - existing = {r[0] for r in cur.fetchall()} - if set(ids) - existing: - conn.close() - return HTMLResponse("Order contains invalid arm id", status_code=400) - for idx, aid in enumerate(ids, start=1): - cur.execute("UPDATE arm SET order_index=? WHERE id=?", (idx, aid)) - conn.commit() - conn.close() - _record_reorder_audit(soa_id, "arm", old_order, ids) - _record_arm_audit( - soa_id, - "reorder", - arm_id=None, - before={"old_order": old_order}, - after={"new_order": ids}, - ) - return HTMLResponse("OK") -''' -# Deprecated (new definition in arms.py) -""" -def _record_arm_audit( - soa_id: int, - action: str, - arm_id: Optional[int], - before: Optional[dict] = None, - after: Optional[dict] = None, -): - try: - conn = _connect() - cur = conn.cursor() - cur.execute( - "INSERT INTO arm_audit (soa_id, arm_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", - ( - soa_id, - arm_id, - action, - json.dumps(before) if before else None, - json.dumps(after) if after else None, - datetime.now(timezone.utc).isoformat(), - ), - ) - conn.commit() - conn.close() - except Exception as e: # pragma: no cover - logger.warning("Failed recording arm audit: %s", e) -""" diff --git a/src/soa_builder/web/audit.py b/src/soa_builder/web/audit.py index e0835f6c..a45a7db1 100644 --- a/src/soa_builder/web/audit.py +++ b/src/soa_builder/web/audit.py @@ -45,18 +45,6 @@ def _record_element_audit( try: conn = _connect() cur = conn.cursor() - # Ensure table exists (defensive for migrated databases) - cur.execute( - """CREATE TABLE IF NOT EXISTS element_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - element_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO element_audit (soa_id, element_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", ( @@ -163,18 +151,6 @@ def _record_study_cell_audit( try: conn = _connect() cur = conn.cursor() - # Ensure table exists (defensive for migrated databases) - cur.execute( - """CREATE TABLE IF NOT EXISTS study_cell_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - study_cell_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO study_cell_audit (soa_id, study_cell_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", ( @@ -256,18 +232,6 @@ def _record_instance_audit( try: conn = _connect() cur = conn.cursor() - # Ensure table exists defensively - cur.execute( - """CREATE TABLE IF NOT EXISTS instance_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - instance_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO instance_audit (soa_id, instance_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", ( @@ -295,17 +259,6 @@ def _record_decision_instance_audit( try: conn = _connect() cur = conn.cursor() - cur.execute( - """CREATE TABLE IF NOT EXISTS decision_instance_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - decision_instance_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO decision_instance_audit (soa_id, decision_instance_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", ( @@ -333,17 +286,6 @@ def _record_condition_assignment_audit( try: conn = _connect() cur = conn.cursor() - cur.execute( - """CREATE TABLE IF NOT EXISTS condition_assignment_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - condition_assignment_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO condition_assignment_audit (soa_id, condition_assignment_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", ( @@ -403,17 +345,6 @@ def _record_biomedical_concept_audit( if own_conn: conn = _connect() cur = conn.cursor() - cur.execute( - """CREATE TABLE IF NOT EXISTS biomedical_concept_audit ( - id INTEGER PRIMARY KEY AUTOINCREMENT, - soa_id INTEGER NOT NULL, - biomedical_concept_id INTEGER, - action TEXT NOT NULL, - before_json TEXT, - after_json TEXT, - performed_at TEXT NOT NULL - )""" - ) cur.execute( "INSERT INTO biomedical_concept_audit" " (soa_id, biomedical_concept_id, action, before_json, after_json, performed_at)" @@ -432,3 +363,59 @@ def _record_biomedical_concept_audit( conn.close() except Exception as e: logger.warning("Failed recording biomedical_concept audit: %s", e) + + +def _record_bc_surrogate_audit( + soa_id: int, + action: str, + surrogate_id: Optional[int], + before: Optional[Dict[str, Any]] = None, + after: Optional[Dict[str, Any]] = None, +): + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + "INSERT INTO biomedical_concept_surrogate_audit" + " (soa_id, surrogate_id, action, before_json, after_json, performed_at)" + " VALUES (?,?,?,?,?,?)", + ( + soa_id, + surrogate_id, + action, + json.dumps(before) if before else None, + json.dumps(after) if after else None, + datetime.now(timezone.utc).isoformat(), + ), + ) + conn.commit() + conn.close() + except Exception as e: + logger.warning("Failed recording bc_surrogate audit: %s", e) + + +def _record_footnote_audit( + soa_id: int, + action: str, + footnote_id: Optional[int], + before: Optional[Dict[str, Any]] = None, + after: Optional[Dict[str, Any]] = None, +): + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + "INSERT INTO footnote_audit (soa_id, footnote_id, action, before_json, after_json, performed_at) VALUES (?,?,?,?,?,?)", + ( + soa_id, + footnote_id, + action, + json.dumps(before) if before else None, + json.dumps(after) if after else None, + datetime.now(timezone.utc).isoformat(), + ), + ) + conn.commit() + conn.close() + except Exception as e: + logger.warning("Failed recording footnote audit: %s", e) diff --git a/src/soa_builder/web/db.py b/src/soa_builder/web/db.py index 17fc22c3..6061237f 100644 --- a/src/soa_builder/web/db.py +++ b/src/soa_builder/web/db.py @@ -48,6 +48,10 @@ def _connect(): conn.execute("PRAGMA journal_mode=WAL") conn.execute("PRAGMA synchronous=NORMAL") conn.execute("PRAGMA busy_timeout=3000") - except Exception: - pass + except Exception as e: + import logging + + logging.getLogger("soa_builder.db").warning( + "PRAGMA configuration failed on %s: %s", db_path, e + ) return conn diff --git a/src/soa_builder/web/initialize_database.py b/src/soa_builder/web/initialize_database.py index de5ff084..d886d40c 100644 --- a/src/soa_builder/web/initialize_database.py +++ b/src/soa_builder/web/initialize_database.py @@ -352,6 +352,21 @@ def _init_db(): )""" ) + # The footnote table (created until full incorporation of SyntaxTemplates) + cur.execute( + """CREATE TABLE IF NOT EXISTS footnote ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INT, + footnote_uid TEXT NOT NULL, + name TEXT NOT NULL, + label TEXT, + description TEXT, + text TEXT, + dictionary_uid TEXT, + UNIQUE(soa_id, footnote_uid) + )""" + ) + # AUDIT TABLES FOR TRACKING ALL CHANGES TO ENTITIES # Element audit table capturing create/update/delete operations diff --git a/src/soa_builder/web/migrate_database.py b/src/soa_builder/web/migrate_database.py index 71c678ed..6a0df9c6 100644 --- a/src/soa_builder/web/migrate_database.py +++ b/src/soa_builder/web/migrate_database.py @@ -1122,3 +1122,165 @@ def _migrate_biomedical_concept_property_add_uid(): conn.close() except Exception as e: logger.warning("_migrate_biomedical_concept_property_add_uid: %s", e) + + +def _migrate_add_soa_id_indexes(): + """Add standalone soa_id indexes on high-traffic tables. + + The existing UNIQUE constraints cover (soa_id, uid) lookups, but bare + WHERE soa_id=? list queries do full table scans without a leading index. + These indexes cover the ~259 soa_id filter sites in the codebase. + """ + try: + conn = _connect() + cur = conn.cursor() + indexes = [ + ("idx_activity_soa", "activity", "soa_id"), + ("idx_visit_soa", "visit", "soa_id"), + ("idx_matrix_cells_soa", "matrix_cells", "soa_id"), + ("idx_activity_concept_soa", "activity_concept", "soa_id"), + ("idx_instances_soa", "instances", "soa_id"), + ("idx_timing_soa", "timing", "soa_id"), + ] + created = [] + for idx_name, table, col in indexes: + cur.execute(f"CREATE INDEX IF NOT EXISTS {idx_name} ON {table}({col})") + created.append(idx_name) + conn.commit() + conn.close() + logger.info("_migrate_add_soa_id_indexes: ensured indexes %s", created) + except Exception as e: + logger.warning("_migrate_add_soa_id_indexes: %s", e) + + +def _migrate_add_footnote_table(): + """Add the database table footnote""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + """CREATE TABLE IF NOT EXISTS footnote ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INT, + footnote_uid TEXT NOT NULL, + name TEXT NOT NULL, + label TEXT, + description TEXT, + text TEXT, + dictionary_uid TEXT, + UNIQUE(soa_id, footnote_uid) + )""" + ) + conn.commit() + conn.close() + logger.info("_migrate_add_footnote_table created footnote table") + except Exception as e: + logger.warning("_migrate_add_footnote_table failed: %s", e) + + +def _migrate_add_footnote_audit_table(): + """Create footnote_audit table for tracking create/update/delete operations.""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + """CREATE TABLE IF NOT EXISTS footnote_audit ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INTEGER NOT NULL, + footnote_id INTEGER, + action TEXT NOT NULL, + before_json TEXT, + after_json TEXT, + performed_at TEXT NOT NULL + )""" + ) + conn.commit() + conn.close() + logger.info("_migrate_add_footnote_audit_table created footnote_audit table") + except Exception as e: + logger.warning("_migrate_add_footnote_audit_table failed: %s", e) + + +def _migrate_matrix_cells_add_superscript(): + """Add superscript TEXT column to matrix_cells if missing.""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute("PRAGMA table_info(matrix_cells)") + if "superscript" not in {r[1] for r in cur.fetchall()}: + cur.execute("ALTER TABLE matrix_cells ADD COLUMN superscript TEXT") + conn.commit() + logger.info("Added superscript column to matrix_cells") + conn.close() + except Exception as e: + logger.warning("matrix_cells superscript migration failed: %s", e) + + +def _migrate_add_bc_surrogate_table(): + """Create biomedical_concept_surrogate table if missing.""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + """CREATE TABLE IF NOT EXISTS biomedical_concept_surrogate ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INT NOT NULL, + surrogate_uid TEXT NOT NULL, + name TEXT NOT NULL, + label TEXT, + description TEXT, + reference TEXT, + UNIQUE(surrogate_uid, soa_id) + )""" + ) + conn.commit() + conn.close() + logger.info( + "_migrate_add_bc_surrogate_table: biomedical_concept_surrogate ready" + ) + except Exception as e: + logger.warning("_migrate_add_bc_surrogate_table failed: %s", e) + + +def _migrate_add_activity_surrogate_table(): + """Create activity_surrogate junction table if missing.""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + """CREATE TABLE IF NOT EXISTS activity_surrogate ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INT NOT NULL, + activity_uid TEXT NOT NULL, + surrogate_uid TEXT NOT NULL, + UNIQUE(soa_id, activity_uid, surrogate_uid) + )""" + ) + conn.commit() + conn.close() + logger.info("_migrate_add_activity_surrogate_table: activity_surrogate ready") + except Exception as e: + logger.warning("_migrate_add_activity_surrogate_table failed: %s", e) + + +def _migrate_add_bc_surrogate_audit_table(): + """Create biomedical_concept_surrogate_audit table if missing.""" + try: + conn = _connect() + cur = conn.cursor() + cur.execute( + """CREATE TABLE IF NOT EXISTS biomedical_concept_surrogate_audit ( + id INTEGER PRIMARY KEY AUTOINCREMENT, + soa_id INTEGER NOT NULL, + surrogate_id INTEGER, + action TEXT NOT NULL, + before_json TEXT, + after_json TEXT, + performed_at TEXT NOT NULL + )""" + ) + conn.commit() + conn.close() + logger.info("_migrate_add_bc_surrogate_audit_table: audit table ready") + except Exception as e: + logger.warning("_migrate_add_bc_surrogate_audit_table failed: %s", e) diff --git a/src/soa_builder/web/routers/activities.py b/src/soa_builder/web/routers/activities.py index 48d675ce..7f7bef17 100644 --- a/src/soa_builder/web/routers/activities.py +++ b/src/soa_builder/web/routers/activities.py @@ -6,7 +6,7 @@ import time from typing import List -from fastapi import APIRouter, BackgroundTasks, HTTPException, Request, Form +from fastapi import APIRouter, BackgroundTasks, Body, HTTPException, Request, Form from fastapi.responses import JSONResponse, HTMLResponse, RedirectResponse from fastapi.templating import Jinja2Templates @@ -137,6 +137,41 @@ def get_activity(soa_id: int, activity_id: int): } +def _next_activity_uid(cur, soa_id: int) -> str: + """Return the next Activity_N UID, never reusing a deleted one. + + Scans both the live table and the audit trail so deleted UIDs are + never recycled — matching the pattern used by _next_study_cell_uid. + """ + max_n = 0 + cur.execute("SELECT activity_uid FROM activity WHERE soa_id=?", (soa_id,)) + for (uid,) in cur.fetchall(): + if isinstance(uid, str) and uid.startswith("Activity_"): + try: + n = int(uid.split("_")[-1]) + if n > max_n: + max_n = n + except (ValueError, IndexError): + pass + cur.execute( + "SELECT before_json, after_json FROM activity_audit WHERE soa_id=?", + (soa_id,), + ) + for before_raw, after_raw in cur.fetchall(): + for raw in (before_raw, after_raw): + if not raw: + continue + try: + uid = json.loads(raw).get("activity_uid", "") + if isinstance(uid, str) and uid.startswith("Activity_"): + n = int(uid.split("_")[-1]) + if n > max_n: + max_n = n + except Exception: + pass + return f"Activity_{max_n + 1}" + + @router.post("/activities", response_class=JSONResponse) def add_activity(soa_id: int, payload: ActivityCreate): if not soa_exists(soa_id): @@ -148,8 +183,7 @@ def add_activity(soa_id: int, payload: ActivityCreate): "SELECT COALESCE(MAX(order_index),0) FROM activity WHERE soa_id=?", (soa_id,) ) order_index = (cur.fetchone() or [0])[0] + 1 - # Compute activity_uid from order_index (keeps list stable after inserts) - activity_uid = f"Activity_{order_index}" + activity_uid = _next_activity_uid(cur, soa_id) name = (payload.name or "").strip() label = (payload.label or "").strip() or None @@ -313,7 +347,7 @@ def ui_update_activity( @router.post("/activities/reorder", response_class=JSONResponse) -def reorder_activities_api(soa_id: int, order: List[int]): +def reorder_activities_api(soa_id: int, order: List[int] = Body(..., embed=True)): if not soa_exists(soa_id): raise HTTPException(404, "SOA not found") if not order: @@ -355,14 +389,6 @@ def reorder_activities_api(soa_id: int, order: List[int]): ).fetchall() } - # Reassign activity_uid from order_index - cur.execute( - "UPDATE activity SET activity_uid='TMP_' || id WHERE soa_id=?", (soa_id,) - ) - cur.execute( - "UPDATE activity SET activity_uid='Activity_' || order_index WHERE soa_id=?", - (soa_id,), - ) conn.commit() conn.close() @@ -411,7 +437,7 @@ def add_activities_bulk(soa_id: int, payload: BulkActivities): order_index += 1 cur.execute( "INSERT INTO activity (soa_id,name,order_index,activity_uid) VALUES (?,?,?,?)", - (soa_id, name, order_index, f"Activity_{order_index}"), + (soa_id, name, order_index, _next_activity_uid(cur, soa_id)), ) added.append(name) existing.add(lname) @@ -554,7 +580,7 @@ def set_activity_concepts( def _reindex_activities(soa_id: int): - """Re-number order_index and activity_uid after a delete.""" + """Re-number order_index after a delete. activity_uid is immutable and never changed.""" conn = _connect() cur = conn.cursor() cur.execute( @@ -563,13 +589,6 @@ def _reindex_activities(soa_id: int): ids = [r[0] for r in cur.fetchall()] for idx, _id in enumerate(ids, start=1): cur.execute("UPDATE activity SET order_index=? WHERE id=?", (idx, _id)) - cur.execute( - "UPDATE activity SET activity_uid = 'TMP_' || id WHERE soa_id=?", (soa_id,) - ) - cur.execute( - "UPDATE activity SET activity_uid = 'Activity_' || order_index WHERE soa_id=?", - (soa_id,), - ) conn.commit() conn.close() @@ -648,8 +667,46 @@ def ui_list_activities(request: Request, soa_id: int): concepts = _app_fetch_concepts() sdtm_specializations = _app_fetch_dss() + # Fetch surrogates for this SOA conn = _connect() cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name, label, description, reference FROM biomedical_concept_surrogate WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + surrogates = [ + { + "id": r[0], + "surrogate_uid": r[1], + "name": r[2], + "label": r[3], + "description": r[4], + "reference": r[5], + } + for r in cur.fetchall() + ] + + # Per-activity surrogate mappings: activity_id -> [surrogate dicts] + cur.execute( + "SELECT a.id, bcs.id, bcs.surrogate_uid, bcs.name, bcs.label " + "FROM activity_surrogate asr " + "JOIN activity a ON a.activity_uid=asr.activity_uid AND a.soa_id=asr.soa_id " + "JOIN biomedical_concept_surrogate bcs ON bcs.surrogate_uid=asr.surrogate_uid AND bcs.soa_id=asr.soa_id " + "WHERE asr.soa_id=?", + (soa_id,), + ) + activity_surrogates: dict = {} + for row in cur.fetchall(): + activity_id, sur_id, sur_uid, sur_name, sur_label = row + activity_surrogates.setdefault(activity_id, []).append( + { + "id": sur_id, + "surrogate_uid": sur_uid, + "name": sur_name, + "label": sur_label, + } + ) + cur.execute( "SELECT study_id, study_label, study_description, name, created_at FROM soa WHERE id=?", (soa_id,), @@ -668,6 +725,8 @@ def ui_list_activities(request: Request, soa_id: int): "activity_concepts": activity_concepts, "concepts": concepts, "sdtm_specializations": sdtm_specializations, + "surrogates": surrogates, + "activity_surrogates": activity_surrogates, "study_id": study_id, "study_label": study_label, "study_description": study_description, diff --git a/src/soa_builder/web/routers/bc_surrogates.py b/src/soa_builder/web/routers/bc_surrogates.py new file mode 100644 index 00000000..f07c8e9e --- /dev/null +++ b/src/soa_builder/web/routers/bc_surrogates.py @@ -0,0 +1,631 @@ +import json +import logging +import os +from typing import Optional + +from fastapi import APIRouter, Form, HTTPException, Request +from fastapi.responses import HTMLResponse, JSONResponse, RedirectResponse +from fastapi.templating import Jinja2Templates + +from ..audit import _record_bc_surrogate_audit +from ..db import _connect +from ..schemas import BCSurrogateCreate, BCSurrogateUpdate +from ..utils import soa_exists + +router = APIRouter() +ui_router = APIRouter() +logger = logging.getLogger("soa_builder.web.routers.bc_surrogates") +templates = Jinja2Templates( + directory=os.path.join(os.path.dirname(__file__), "..", "templates") +) + + +def _nz(v: Optional[str]) -> Optional[str]: + """Return None for blank strings, otherwise the stripped value.""" + if v is None: + return None + v = v.strip() + return v if v else None + + +def _next_surrogate_uid(cur, soa_id: int) -> str: + """Generate next BiomedicalConceptSurrogate_N UID (monotonic, never reuses). + + Scans both the live table and the audit trail so deleted UIDs are never recycled. + """ + prefix = "BiomedicalConceptSurrogate_" + max_n = 0 + + cur.execute( + "SELECT surrogate_uid FROM biomedical_concept_surrogate WHERE soa_id=?", + (soa_id,), + ) + for (uid,) in cur.fetchall(): + if isinstance(uid, str) and uid.startswith(prefix): + try: + n = int(uid[len(prefix) :]) + if n > max_n: + max_n = n + except (ValueError, IndexError): + pass + + cur.execute( + "SELECT before_json, after_json FROM biomedical_concept_surrogate_audit WHERE soa_id=?", + (soa_id,), + ) + for before_raw, after_raw in cur.fetchall(): + for raw in (before_raw, after_raw): + if not raw: + continue + try: + uid = json.loads(raw).get("surrogate_uid", "") + if isinstance(uid, str) and uid.startswith(prefix): + n = int(uid[len(prefix) :]) + if n > max_n: + max_n = n + except Exception: + pass + + return f"{prefix}{max_n + 1}" + + +# --------------------------------------------------------------------------- +# API — list +# --------------------------------------------------------------------------- + + +@router.get( + "/soa/{soa_id}/bc-surrogates", response_class=JSONResponse, response_model=None +) +def list_bc_surrogates(soa_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name, label, description, reference " + "FROM biomedical_concept_surrogate WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + rows = [ + { + "id": r[0], + "surrogate_uid": r[1], + "name": r[2], + "label": r[3], + "description": r[4], + "reference": r[5], + } + for r in cur.fetchall() + ] + conn.close() + return rows + + +# --------------------------------------------------------------------------- +# API — create +# --------------------------------------------------------------------------- + + +@router.post( + "/soa/{soa_id}/bc-surrogates", response_class=JSONResponse, response_model=None +) +def create_bc_surrogate(soa_id: int, payload: BCSurrogateCreate): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + name = (payload.name or "").strip() + if not name: + raise HTTPException(400, "Surrogate name required") + + conn = _connect() + cur = conn.cursor() + uid = _next_surrogate_uid(cur, soa_id) + cur.execute( + "INSERT INTO biomedical_concept_surrogate (soa_id, surrogate_uid, name, label, description, reference) VALUES (?,?,?,?,?,?)", + ( + soa_id, + uid, + name, + _nz(payload.label), + _nz(payload.description), + _nz(payload.reference), + ), + ) + surrogate_id = cur.lastrowid + conn.commit() + conn.close() + after = { + "id": surrogate_id, + "surrogate_uid": uid, + "name": name, + "label": _nz(payload.label), + "description": _nz(payload.description), + "reference": _nz(payload.reference), + } + _record_bc_surrogate_audit(soa_id, "create", surrogate_id, before=None, after=after) + return after + + +# --------------------------------------------------------------------------- +# API — update +# --------------------------------------------------------------------------- + + +@router.patch( + "/soa/{soa_id}/bc-surrogates/{surrogate_id}", + response_class=JSONResponse, + response_model=None, +) +def update_bc_surrogate(soa_id: int, surrogate_id: int, payload: BCSurrogateUpdate): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name, label, description, reference " + "FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Surrogate not found") + before = { + "id": row[0], + "surrogate_uid": row[1], + "name": row[2], + "label": row[3], + "description": row[4], + "reference": row[5], + } + + new_name = _nz(payload.name) if payload.name is not None else before["name"] + new_label = _nz(payload.label) if payload.label is not None else before["label"] + new_desc = ( + _nz(payload.description) + if payload.description is not None + else before["description"] + ) + new_ref = ( + _nz(payload.reference) if payload.reference is not None else before["reference"] + ) + + cur.execute( + "UPDATE biomedical_concept_surrogate SET name=?, label=?, description=?, reference=? WHERE id=? AND soa_id=?", + (new_name, new_label, new_desc, new_ref, surrogate_id, soa_id), + ) + conn.commit() + conn.close() + after = { + **before, + "name": new_name, + "label": new_label, + "description": new_desc, + "reference": new_ref, + } + _record_bc_surrogate_audit( + soa_id, "update", surrogate_id, before=before, after=after + ) + return after + + +# --------------------------------------------------------------------------- +# API — delete +# --------------------------------------------------------------------------- + + +@router.delete( + "/soa/{soa_id}/bc-surrogates/{surrogate_id}", + response_class=JSONResponse, + response_model=None, +) +def delete_bc_surrogate(soa_id: int, surrogate_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Surrogate not found") + before = {"id": row[0], "surrogate_uid": row[1], "name": row[2]} + # Remove activity links first + cur.execute( + "DELETE FROM activity_surrogate WHERE soa_id=? AND surrogate_uid=?", + (soa_id, row[1]), + ) + cur.execute( + "DELETE FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + conn.commit() + conn.close() + _record_bc_surrogate_audit( + soa_id, "delete", surrogate_id, before=before, after=None + ) + return {"deleted": True, "id": surrogate_id} + + +# --------------------------------------------------------------------------- +# API — link / unlink surrogate ↔ activity +# --------------------------------------------------------------------------- + + +@router.post( + "/soa/{soa_id}/activities/{activity_id}/bc-surrogates/{surrogate_id}", + response_class=JSONResponse, + response_model=None, +) +def link_surrogate_to_activity(soa_id: int, activity_id: int, surrogate_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT activity_uid FROM activity WHERE id=? AND soa_id=?", + (activity_id, soa_id), + ) + act_row = cur.fetchone() + if not act_row: + conn.close() + raise HTTPException(404, "Activity not found") + activity_uid = act_row[0] + + cur.execute( + "SELECT surrogate_uid FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + sur_row = cur.fetchone() + if not sur_row: + conn.close() + raise HTTPException(404, "Surrogate not found") + surrogate_uid = sur_row[0] + + cur.execute( + "INSERT OR IGNORE INTO activity_surrogate (soa_id, activity_uid, surrogate_uid) VALUES (?,?,?)", + (soa_id, activity_uid, surrogate_uid), + ) + conn.commit() + conn.close() + return { + "linked": True, + "activity_uid": activity_uid, + "surrogate_uid": surrogate_uid, + } + + +@router.delete( + "/soa/{soa_id}/activities/{activity_id}/bc-surrogates/{surrogate_id}", + response_class=JSONResponse, + response_model=None, +) +def unlink_surrogate_from_activity(soa_id: int, activity_id: int, surrogate_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT activity_uid FROM activity WHERE id=? AND soa_id=?", + (activity_id, soa_id), + ) + act_row = cur.fetchone() + if not act_row: + conn.close() + raise HTTPException(404, "Activity not found") + activity_uid = act_row[0] + + cur.execute( + "SELECT surrogate_uid FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + sur_row = cur.fetchone() + if not sur_row: + conn.close() + raise HTTPException(404, "Surrogate not found") + surrogate_uid = sur_row[0] + + cur.execute( + "DELETE FROM activity_surrogate WHERE soa_id=? AND activity_uid=? AND surrogate_uid=?", + (soa_id, activity_uid, surrogate_uid), + ) + conn.commit() + conn.close() + return { + "unlinked": True, + "activity_uid": activity_uid, + "surrogate_uid": surrogate_uid, + } + + +# --------------------------------------------------------------------------- +# UI — create / update / delete (form POST → redirect) +# --------------------------------------------------------------------------- + + +@ui_router.post("/ui/soa/{soa_id}/bc-surrogates/create", response_class=HTMLResponse) +def ui_create_bc_surrogate( + request: Request, + soa_id: int, + name: str = Form(...), + label: str = Form(""), + description: str = Form(""), + reference: str = Form(""), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + name = name.strip() + if not name: + raise HTTPException(400, "Surrogate name required") + + conn = _connect() + cur = conn.cursor() + uid = _next_surrogate_uid(cur, soa_id) + cur.execute( + "INSERT INTO biomedical_concept_surrogate (soa_id, surrogate_uid, name, label, description, reference) VALUES (?,?,?,?,?,?)", + (soa_id, uid, name, _nz(label), _nz(description), _nz(reference)), + ) + surrogate_id = cur.lastrowid + conn.commit() + conn.close() + _record_bc_surrogate_audit( + soa_id, + "create", + surrogate_id, + before=None, + after={ + "surrogate_uid": uid, + "name": name, + "label": _nz(label), + "description": _nz(description), + "reference": _nz(reference), + }, + ) + return RedirectResponse(f"/ui/soa/{soa_id}/activities", status_code=303) + + +@ui_router.post( + "/ui/soa/{soa_id}/bc-surrogates/{surrogate_id}/update", response_class=HTMLResponse +) +def ui_update_bc_surrogate( + request: Request, + soa_id: int, + surrogate_id: int, + name: str = Form(...), + label: str = Form(""), + description: str = Form(""), + reference: str = Form(""), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name, label, description, reference " + "FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Surrogate not found") + before = { + "id": row[0], + "surrogate_uid": row[1], + "name": row[2], + "label": row[3], + "description": row[4], + "reference": row[5], + } + + new_name = name.strip() or before["name"] + new_label = _nz(label) + new_desc = _nz(description) + new_ref = _nz(reference) + cur.execute( + "UPDATE biomedical_concept_surrogate SET name=?, label=?, description=?, reference=? WHERE id=? AND soa_id=?", + (new_name, new_label, new_desc, new_ref, surrogate_id, soa_id), + ) + conn.commit() + conn.close() + after = { + **before, + "name": new_name, + "label": new_label, + "description": new_desc, + "reference": new_ref, + } + _record_bc_surrogate_audit( + soa_id, "update", surrogate_id, before=before, after=after + ) + return RedirectResponse(f"/ui/soa/{soa_id}/activities", status_code=303) + + +@ui_router.post( + "/ui/soa/{soa_id}/bc-surrogates/{surrogate_id}/delete", response_class=HTMLResponse +) +def ui_delete_bc_surrogate(request: Request, soa_id: int, surrogate_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id, surrogate_uid, name FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Surrogate not found") + before = {"id": row[0], "surrogate_uid": row[1], "name": row[2]} + cur.execute( + "DELETE FROM activity_surrogate WHERE soa_id=? AND surrogate_uid=?", + (soa_id, row[1]), + ) + cur.execute( + "DELETE FROM biomedical_concept_surrogate WHERE id=? AND soa_id=?", + (surrogate_id, soa_id), + ) + conn.commit() + conn.close() + _record_bc_surrogate_audit( + soa_id, "delete", surrogate_id, before=before, after=None + ) + return RedirectResponse(f"/ui/soa/{soa_id}/activities", status_code=303) + + +# --------------------------------------------------------------------------- +# UI — HTMX add/remove surrogate link on activity (returns concepts_cell partial) +# --------------------------------------------------------------------------- + + +def _render_concepts_cell(request: Request, soa_id: int, activity_id: int): + """Re-render the concepts_cell partial after a surrogate link/unlink.""" + conn = _connect() + cur = conn.cursor() + + # Fetch activity uid + cur.execute( + "SELECT activity_uid FROM activity WHERE id=? AND soa_id=?", + (activity_id, soa_id), + ) + act_row = cur.fetchone() + if not act_row: + conn.close() + raise HTTPException(404, "Activity not found") + activity_uid = act_row[0] + + # Fetch linked BC concepts + cur.execute( + "SELECT concept_code, concept_title FROM activity_concept WHERE activity_id=? AND soa_id=?", + (activity_id, soa_id), + ) + selected_list = [ + {"code": r[0], "title": r[1], "dss_title": "", "dss_href": ""} + for r in cur.fetchall() + ] + selected_codes = [c["code"] for c in selected_list] + + # Fetch linked surrogates + cur.execute( + "SELECT bcs.id, bcs.surrogate_uid, bcs.name, bcs.label " + "FROM activity_surrogate asr " + "JOIN biomedical_concept_surrogate bcs ON bcs.surrogate_uid=asr.surrogate_uid AND bcs.soa_id=asr.soa_id " + "WHERE asr.activity_uid=? AND asr.soa_id=?", + (activity_uid, soa_id), + ) + selected_surrogate_list = [ + {"id": r[0], "surrogate_uid": r[1], "name": r[2], "label": r[3]} + for r in cur.fetchall() + ] + selected_surrogate_uids = [s["surrogate_uid"] for s in selected_surrogate_list] + + # Fetch all surrogates for this SOA (for the dropdown) + cur.execute( + "SELECT id, surrogate_uid, name, label FROM biomedical_concept_surrogate WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + surrogates = [ + {"id": r[0], "surrogate_uid": r[1], "name": r[2], "label": r[3]} + for r in cur.fetchall() + ] + conn.close() + + # Fetch BC concepts list (for the dropdown) + from ..app import fetch_biomedical_concepts as _app_fetch_concepts + + concepts = _app_fetch_concepts() + + return templates.TemplateResponse( + request, + "concepts_cell.html", + { + "request": request, + "soa_id": soa_id, + "activity_id": activity_id, + "selected_list": selected_list, + "selected_codes": selected_codes, + "selected_surrogate_list": selected_surrogate_list, + "selected_surrogate_uids": selected_surrogate_uids, + "concepts": concepts, + "surrogates": surrogates, + "edit": False, + }, + ) + + +@ui_router.post( + "/ui/soa/{soa_id}/activity/{activity_id}/bc-surrogates/add", + response_class=HTMLResponse, +) +def ui_add_surrogate_to_activity( + request: Request, + soa_id: int, + activity_id: int, + surrogate_uid: str = Form(...), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT activity_uid FROM activity WHERE id=? AND soa_id=?", + (activity_id, soa_id), + ) + act_row = cur.fetchone() + if not act_row: + conn.close() + raise HTTPException(404, "Activity not found") + activity_uid = act_row[0] + + cur.execute( + "SELECT id FROM biomedical_concept_surrogate WHERE surrogate_uid=? AND soa_id=?", + (surrogate_uid, soa_id), + ) + if not cur.fetchone(): + conn.close() + raise HTTPException(404, "Surrogate not found") + + cur.execute( + "INSERT OR IGNORE INTO activity_surrogate (soa_id, activity_uid, surrogate_uid) VALUES (?,?,?)", + (soa_id, activity_uid, surrogate_uid), + ) + conn.commit() + conn.close() + return _render_concepts_cell(request, soa_id, activity_id) + + +@ui_router.post( + "/ui/soa/{soa_id}/activity/{activity_id}/bc-surrogates/remove", + response_class=HTMLResponse, +) +def ui_remove_surrogate_from_activity( + request: Request, + soa_id: int, + activity_id: int, + surrogate_uid: str = Form(...), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT activity_uid FROM activity WHERE id=? AND soa_id=?", + (activity_id, soa_id), + ) + act_row = cur.fetchone() + if not act_row: + conn.close() + raise HTTPException(404, "Activity not found") + activity_uid = act_row[0] + + cur.execute( + "DELETE FROM activity_surrogate WHERE soa_id=? AND activity_uid=? AND surrogate_uid=?", + (soa_id, activity_uid, surrogate_uid), + ) + conn.commit() + conn.close() + return _render_concepts_cell(request, soa_id, activity_id) diff --git a/src/soa_builder/web/routers/footnotes.py b/src/soa_builder/web/routers/footnotes.py new file mode 100644 index 00000000..32aaf85f --- /dev/null +++ b/src/soa_builder/web/routers/footnotes.py @@ -0,0 +1,260 @@ +import logging + +from fastapi import APIRouter, Form, HTTPException, Request +from fastapi.responses import HTMLResponse, JSONResponse, RedirectResponse + +from ..audit import _record_footnote_audit +from ..db import _connect +from ..schemas import FootnoteCreate, FootnoteUpdate +from ..utils import soa_exists + +router = APIRouter(prefix="/soa/{soa_id}") +ui_router = APIRouter() +logger = logging.getLogger("soa_builder.web.routers.footnotes") + + +def _next_footnote_uid(soa_id: int) -> str: + """Return next Footnote_N UID, never reusing deleted UIDs.""" + conn = _connect() + cur = conn.cursor() + cur.execute("SELECT MAX(id) FROM footnote WHERE soa_id=?", (soa_id,)) + row = cur.fetchone() + live_max = row[0] or 0 + cur.execute("SELECT MAX(footnote_id) FROM footnote_audit WHERE soa_id=?", (soa_id,)) + row = cur.fetchone() + audit_max = row[0] or 0 + conn.close() + return f"Footnote_{max(live_max, audit_max) + 1}" + + +def _row_to_dict(row) -> dict: + keys = [ + "id", + "soa_id", + "footnote_uid", + "name", + "label", + "description", + "text", + "dictionary_uid", + ] + return dict(zip(keys, row)) + + +# --------------------------------------------------------------------------- +# JSON API endpoints +# --------------------------------------------------------------------------- + + +@router.get("/footnotes", response_class=JSONResponse) +def list_footnotes(soa_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id,soa_id,footnote_uid,name,label,description,text,dictionary_uid FROM footnote WHERE soa_id=? ORDER BY id", + (soa_id,), + ) + rows = [_row_to_dict(r) for r in cur.fetchall()] + conn.close() + return JSONResponse(rows) + + +@router.post("/footnotes", response_class=JSONResponse) +def create_footnote(soa_id: int, body: FootnoteCreate): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + uid = _next_footnote_uid(soa_id) + conn = _connect() + cur = conn.cursor() + cur.execute( + "INSERT INTO footnote (soa_id, footnote_uid, name, label, description, text, dictionary_uid) VALUES (?,?,?,?,?,?,?)", + ( + soa_id, + uid, + body.name, + body.label or None, + body.description or None, + body.text or None, + body.dictionary_uid or None, + ), + ) + conn.commit() + footnote_id = cur.lastrowid + after = { + "footnote_uid": uid, + "name": body.name, + "label": body.label, + "description": body.description, + "text": body.text, + "dictionary_uid": body.dictionary_uid, + } + conn.close() + _record_footnote_audit(soa_id, "create", footnote_id, before=None, after=after) + return JSONResponse( + {"id": footnote_id, "footnote_uid": uid, **after}, status_code=201 + ) + + +@router.patch("/footnotes/{footnote_id}", response_class=JSONResponse) +def update_footnote( + soa_id: int, + footnote_id: int, + body: FootnoteUpdate, +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id,soa_id,footnote_uid,name,label,description,text,dictionary_uid FROM footnote WHERE id=? AND soa_id=?", + (footnote_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Footnote not found") + before = _row_to_dict(row) + new_name = body.name if body.name is not None else before["name"] + new_label = body.label if body.label is not None else before["label"] + new_desc = ( + body.description if body.description is not None else before["description"] + ) + new_text = body.text if body.text is not None else before["text"] + new_dict_uid = ( + body.dictionary_uid + if body.dictionary_uid is not None + else before["dictionary_uid"] + ) + cur.execute( + "UPDATE footnote SET name=?, label=?, description=?, text=?, dictionary_uid=? WHERE id=? AND soa_id=?", + ( + new_name, + new_label or None, + new_desc or None, + new_text or None, + new_dict_uid or None, + footnote_id, + soa_id, + ), + ) + conn.commit() + conn.close() + after = { + **before, + "name": new_name, + "label": new_label, + "description": new_desc, + "text": new_text, + "dictionary_uid": new_dict_uid, + } + _record_footnote_audit(soa_id, "update", footnote_id, before=before, after=after) + return JSONResponse(after) + + +@router.delete("/footnotes/{footnote_id}", response_class=JSONResponse) +def delete_footnote(soa_id: int, footnote_id: int): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + conn = _connect() + cur = conn.cursor() + cur.execute( + "SELECT id,soa_id,footnote_uid,name,label,description,text,dictionary_uid FROM footnote WHERE id=? AND soa_id=?", + (footnote_id, soa_id), + ) + row = cur.fetchone() + if not row: + conn.close() + raise HTTPException(404, "Footnote not found") + before = _row_to_dict(row) + cur.execute("DELETE FROM footnote WHERE id=? AND soa_id=?", (footnote_id, soa_id)) + conn.commit() + conn.close() + _record_footnote_audit(soa_id, "delete", footnote_id, before=before, after=None) + return JSONResponse({"deleted": footnote_id}) + + +# --------------------------------------------------------------------------- +# UI form endpoints +# --------------------------------------------------------------------------- + + +@ui_router.post("/ui/soa/{soa_id}/footnotes/create", response_class=HTMLResponse) +def ui_create_footnote( + request: Request, + soa_id: int, + name: str = Form(...), + label: str | None = Form(None), + description: str | None = Form(None), + text: str | None = Form(None), + dictionary_uid: str | None = Form(None), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + create_footnote( + soa_id, + FootnoteCreate( + name=name, + label=label, + description=description, + text=text, + dictionary_uid=dictionary_uid, + ), + ) + redirect_url = f"/ui/soa/{soa_id}/edit" + if request.headers.get("HX-Request") == "true": + return HTMLResponse("", headers={"HX-Redirect": redirect_url}) + + return RedirectResponse(redirect_url, status_code=303) + + +@ui_router.post( + "/ui/soa/{soa_id}/footnotes/{footnote_id}/update", response_class=HTMLResponse +) +def ui_update_footnote( + request: Request, + soa_id: int, + footnote_id: int, + name: str | None = Form(None), + label: str | None = Form(None), + description: str | None = Form(None), + text: str | None = Form(None), + dictionary_uid: str | None = Form(None), +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + update_footnote( + soa_id, + footnote_id, + FootnoteUpdate( + name=name, + label=label, + description=description, + text=text, + dictionary_uid=dictionary_uid, + ), + ) + redirect_url = f"/ui/soa/{soa_id}/edit" + if request.headers.get("HX-Request") == "true": + return HTMLResponse("", headers={"HX-Redirect": redirect_url}) + + return RedirectResponse(redirect_url, status_code=303) + + +@ui_router.post( + "/ui/soa/{soa_id}/footnotes/{footnote_id}/delete", response_class=HTMLResponse +) +def ui_delete_footnote( + request: Request, + soa_id: int, + footnote_id: int, +): + if not soa_exists(soa_id): + raise HTTPException(404, "SOA not found") + delete_footnote(soa_id, footnote_id) + redirect_url = f"/ui/soa/{soa_id}/edit" + if request.headers.get("HX-Request") == "true": + return HTMLResponse("", headers={"HX-Redirect": redirect_url}) + + return RedirectResponse(redirect_url, status_code=303) diff --git a/src/soa_builder/web/routers/freezes.py b/src/soa_builder/web/routers/freezes.py index 839738e2..62704520 100644 --- a/src/soa_builder/web/routers/freezes.py +++ b/src/soa_builder/web/routers/freezes.py @@ -1,14 +1,13 @@ import json import logging import os -import sqlite3 from fastapi import APIRouter, Form, HTTPException, Request from fastapi.responses import HTMLResponse, JSONResponse from fastapi.templating import Jinja2Templates +from ..db import _connect from ..utils import soa_exists -DB_PATH = os.environ.get("SOA_BUILDER_DB", "soa_builder_web.db") TEMPLATES_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), "templates") templates = Jinja2Templates(directory=TEMPLATES_DIR) @@ -16,10 +15,6 @@ logger = logging.getLogger("soa_builder.web.routers.freezes") -def _connect(): - return sqlite3.connect(DB_PATH) - - # Removed local _soa_exists; using shared utils.soa_exists diff --git a/src/soa_builder/web/routers/rollback.py b/src/soa_builder/web/routers/rollback.py index 01a3d509..1a6f66a5 100644 --- a/src/soa_builder/web/routers/rollback.py +++ b/src/soa_builder/web/routers/rollback.py @@ -9,7 +9,6 @@ from ..utils import soa_exists -DB_PATH = os.environ.get("SOA_BUILDER_DB", "soa_builder_web.db") TEMPLATES_DIR = os.path.join(os.path.dirname(os.path.dirname(__file__)), "templates") templates = Jinja2Templates(directory=TEMPLATES_DIR) diff --git a/src/soa_builder/web/routers/visits.py b/src/soa_builder/web/routers/visits.py index f40dcd21..aa4f059e 100644 --- a/src/soa_builder/web/routers/visits.py +++ b/src/soa_builder/web/routers/visits.py @@ -457,7 +457,6 @@ def update_visit(soa_id: int, visit_id: int, payload: VisitUpdate): soa_id, ), ) - conn.commit() if new_environmental_value is not None: if not env_code_uid: @@ -498,8 +497,6 @@ def update_visit(soa_id: int, visit_id: int, payload: VisitUpdate): (env_code_uid, visit_id, soa_id), ) - conn.commit() - if new_contact_mode is not None: if not contact_mode_code_uid: contact_mode_code_uid = _get_next_code_uid(cur, soa_id) @@ -539,7 +536,7 @@ def update_visit(soa_id: int, visit_id: int, payload: VisitUpdate): (contact_mode_code_uid, visit_id, soa_id), ) - conn.commit() + conn.commit() cur.execute( """ @@ -643,6 +640,7 @@ def delete_visit(soa_id: int, visit_id: int): ) row = cur.fetchone() if not row: + conn.close() raise HTTPException(404, f"Encounter id={int(visit_id)} not found") before = { diff --git a/src/soa_builder/web/schemas.py b/src/soa_builder/web/schemas.py index 1e0095c7..75002d09 100644 --- a/src/soa_builder/web/schemas.py +++ b/src/soa_builder/web/schemas.py @@ -339,3 +339,33 @@ class ConditionAssignmentUpdate(BaseModel): condition: Optional[str] = None decision_instance_uid: Optional[str] = None condition_target_uid: Optional[str] = None + + +class BCSurrogateCreate(BaseModel): + name: str + label: Optional[str] = None + description: Optional[str] = None + reference: Optional[str] = None + + +class BCSurrogateUpdate(BaseModel): + name: Optional[str] = None + label: Optional[str] = None + description: Optional[str] = None + reference: Optional[str] = None + + +class FootnoteCreate(BaseModel): + name: str + label: Optional[str] = None + description: Optional[str] = None + text: Optional[str] = None + dictionary_uid: Optional[str] = None + + +class FootnoteUpdate(BaseModel): + name: Optional[str] = None + label: Optional[str] = None + description: Optional[str] = None + text: Optional[str] = None + dictionary_uid: Optional[str] = None diff --git a/src/soa_builder/web/templates/activities.html b/src/soa_builder/web/templates/activities.html index 98ef8d11..9daefef4 100644 --- a/src/soa_builder/web/templates/activities.html +++ b/src/soa_builder/web/templates/activities.html @@ -61,7 +61,7 @@

Activities for Study: {% if study_label %}{{ study_label }}{% else %}{{ stud {% for a in activities %} -
+ {{ a.activity_uid }} @@ -73,6 +73,8 @@

Activities for Study: {% if study_label %}{{ study_label }}{% else %}{{ stud {% set concepts_list = activity_concepts.get(a.id, []) %} {% set selected_list = concepts_list %} {% set selected_codes = concepts_list | map(attribute='code') | list %} + {% set selected_surrogate_list = activity_surrogates.get(a.id, []) %} + {% set selected_surrogate_uids = selected_surrogate_list | map(attribute='surrogate_uid') | list %} {% set activity_id = a.id %} {% include 'concepts_cell.html' %} {% set activity_id = a.id %} @@ -94,6 +96,70 @@

Activities for Study: {% if study_label %}{{ study_label }}{% else %}{{ stud {% endfor %} +
+

Biomedical Concept Surrogates

+

+ Add named placeholders for concepts not yet available in the CDISC Library. + Once a CDISC Biomedical Concept is assigned, remove the surrogate. +

+ +
+ +
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+ +{% if surrogates %} + + + + + + + + + + + {% for s in surrogates %} + + + + + + + + + + + + {% endfor %} +
UIDNameLabelDescriptionReferenceSaveDelete
{{ s.surrogate_uid }} + + +
+ +
+
+{% else %} +

No surrogates defined yet.

+{% endif %} +