-
Notifications
You must be signed in to change notification settings - Fork 0
/
output_test.json
1 lines (1 loc) · 5.47 KB
/
output_test.json
1
"[\"library Syphilis_Medication_Treatment version '1.0'\\n\", \"using FHIR version '3.0.0'\\n\", \"include FHIRHelpers version '3.0.0' called FHIRHelpers\\n\", \"\\n\", \"codesystem \\\"SNOMED\\\": 'http://snomed.info/sct'\\n\", \"codesystem \\\"LOINC\\\": 'http://loinc.org'\\n\", \"\\n\", \"define \\\"SyphilisDiagnosisConcept\\\": Concept {\\n\", \"\\tCode '76272004' from \\\"SNOMED\\\",\\n\", \"\\tCode '444150000' from \\\"SNOMED\\\"\\n\", \"}\\n\", \"define \\\"SyphilisLabConcept\\\": Concept {\\n\", \"\\tCode '8041-6' from \\\"LOINC\\\",\\n\", \"\\tCode '6660-5' from \\\"LOINC\\\",\\n\", \"\\tCode '6580-7' from \\\"LOINC\\\",\\n\", \"\\tCode '22588-8' from \\\"LOINC\\\",\\n\", \"\\tCode '22589-6' from \\\"LOINC\\\",\\n\", \"\\tCode '22591-2' from \\\"LOINC\\\",\\n\", \"\\tCode '22593-8' from \\\"LOINC\\\",\\n\", \"\\tCode '6607-6' from \\\"LOINC\\\",\\n\", \"\\tCode '660-1' from \\\"LOINC\\\",\\n\", \"\\tCode '22459-2' from \\\"LOINC\\\",\\n\", \"\\tCode '5290-2' from \\\"LOINC\\\",\\n\", \"\\tCode '43813-5' from \\\"LOINC\\\",\\n\", \"\\tCode '51783-9' from \\\"LOINC\\\",\\n\", \"\\tCode '22461-8' from \\\"LOINC\\\",\\n\", \"\\tCode '20507-0' from \\\"LOINC\\\",\\n\", \"\\tCode '5292-8' from \\\"LOINC\\\",\\n\", \"\\tCode '22463-4' from \\\"LOINC\\\",\\n\", \"\\tCode '47360-3' from \\\"LOINC\\\",\\n\", \"\\tCode '21030-2' from \\\"LOINC\\\",\\n\", \"\\tCode '22464-2' from \\\"LOINC\\\",\\n\", \"\\tCode '14904-7' from \\\"LOINC\\\",\\n\", \"\\tCode '46203-6' from \\\"LOINC\\\",\\n\", \"\\tCode '87925-4' from \\\"LOINC\\\",\\n\", \"\\tCode '31146-4' from \\\"LOINC\\\",\\n\", \"\\tCode '11084-1' from \\\"LOINC\\\",\\n\", \"\\tCode '31147-2' from \\\"LOINC\\\",\\n\", \"\\tCode '50690-7' from \\\"LOINC\\\",\\n\", \"\\tCode '47476-7' from \\\"LOINC\\\",\\n\", \"\\tCode '47235-7' from \\\"LOINC\\\",\\n\", \"\\tCode '22460-0' from \\\"LOINC\\\",\\n\", \"\\tCode '5289-4' from \\\"LOINC\\\",\\n\", \"\\tCode '22462-6' from \\\"LOINC\\\",\\n\", \"\\tCode '20508-8' from \\\"LOINC\\\",\\n\", \"\\tCode '5291-0' from \\\"LOINC\\\",\\n\", \"\\tCode '73752-8' from \\\"LOINC\\\",\\n\", \"\\tCode '22586-2' from \\\"LOINC\\\",\\n\", \"\\tCode '50689-9' from \\\"LOINC\\\",\\n\", \"\\tCode '9826-9' from \\\"LOINC\\\",\\n\", \"\\tCode '22587-0' from \\\"LOINC\\\",\\n\", \"\\tCode '24312-1' from \\\"LOINC\\\",\\n\", \"\\tCode '17723-8' from \\\"LOINC\\\",\\n\", \"\\tCode '24110-9' from \\\"LOINC\\\",\\n\", \"\\tCode '57032-5' from \\\"LOINC\\\",\\n\", \"\\tCode '5393-4' from \\\"LOINC\\\",\\n\", \"\\tCode '46206-9' from \\\"LOINC\\\",\\n\", \"\\tCode '43238-5' from \\\"LOINC\\\",\\n\", \"\\tCode '51475-2' from \\\"LOINC\\\",\\n\", \"\\tCode '50695-6' from \\\"LOINC\\\",\\n\", \"\\tCode '22590-4' from \\\"LOINC\\\",\\n\", \"\\tCode '26009-1' from \\\"LOINC\\\",\\n\", \"\\tCode '34382-2' from \\\"LOINC\\\",\\n\", \"\\tCode '5394-2' from \\\"LOINC\\\",\\n\", \"\\tCode '71793-4' from \\\"LOINC\\\",\\n\", \"\\tCode '22585-4' from \\\"LOINC\\\",\\n\", \"\\tCode '13288-6' from \\\"LOINC\\\",\\n\", \"\\tCode '47511-1' from \\\"LOINC\\\",\\n\", \"\\tCode '39015-3' from \\\"LOINC\\\",\\n\", \"\\tCode '51474-5' from \\\"LOINC\\\",\\n\", \"\\tCode '49800-6' from \\\"LOINC\\\",\\n\", \"\\tCode '11597-2' from \\\"LOINC\\\",\\n\", \"\\tCode '5392-6' from \\\"LOINC\\\",\\n\", \"\\tCode '63464-2' from \\\"LOINC\\\",\\n\", \"\\tCode '17724-6' from \\\"LOINC\\\",\\n\", \"\\tCode '17725-3' from \\\"LOINC\\\",\\n\", \"\\tCode '41122-3' from \\\"LOINC\\\",\\n\", \"\\tCode '58031-6' from \\\"LOINC\\\",\\n\", \"\\tCode '58751-9' from \\\"LOINC\\\",\\n\", \"\\tCode '6561-5' from \\\"LOINC\\\",\\n\", \"\\tCode '47238-1' from \\\"LOINC\\\",\\n\", \"\\tCode '40679-3' from \\\"LOINC\\\",\\n\", \"\\tCode '17726-1' from \\\"LOINC\\\",\\n\", \"\\tCode '47513-7' from \\\"LOINC\\\",\\n\", \"\\tCode '47361-1' from \\\"LOINC\\\",\\n\", \"\\tCode '47512-9' from \\\"LOINC\\\",\\n\", \"\\tCode '47051-8' from \\\"LOINC\\\",\\n\", \"\\tCode '22592-0' from \\\"LOINC\\\",\\n\", \"\\tCode '51838-1' from \\\"LOINC\\\",\\n\", \"\\tCode '17727-9' from \\\"LOINC\\\",\\n\", \"\\tCode '34954-8' from \\\"LOINC\\\",\\n\", \"\\tCode '68502-4' from \\\"LOINC\\\",\\n\", \"\\tCode '34147-9' from \\\"LOINC\\\",\\n\", \"\\tCode '47236-5' from \\\"LOINC\\\",\\n\", \"\\tCode '69946-2' from \\\"LOINC\\\",\\n\", \"\\tCode '6562-3' from \\\"LOINC\\\",\\n\", \"\\tCode '47237-3' from \\\"LOINC\\\",\\n\", \"\\tCode '40680-1' from \\\"LOINC\\\",\\n\", \"\\tCode '17729-5' from \\\"LOINC\\\",\\n\", \"\\tCode '47514-5' from \\\"LOINC\\\",\\n\", \"\\tCode '47063-3' from \\\"LOINC\\\",\\n\", \"\\tCode '22594-6' from \\\"LOINC\\\",\\n\", \"\\tCode '51839-9' from \\\"LOINC\\\",\\n\", \"\\tCode '17728-7' from \\\"LOINC\\\",\\n\", \"\\tCode '29310-0' from \\\"LOINC\\\",\\n\", \"\\tCode '26658-5' from \\\"LOINC\\\"\\n\", \"}\\n\", \"context Patient\\n\", \"\\n\", \"define \\\"Syphilis_Condition\\\": [Condition: Code in \\\"SyphilisDiagnosisConcept\\\"]\\n\", \"define \\\"IndexEvent\\\": \\\"Syphilis_Condition\\\" E return (E.onset as FHIR.dateTime)\\n\", \"define \\\"SyphillisTest_Lab\\\": [Observation: Code in \\\"SyphilisLabConcept\\\"]\\n\", \"define \\\"Syphilis_Test_TypeTuple\\\": from \\\"SyphillisTest_Lab\\\" target\\n\", \"\\treturn all Tuple {\\n\", \"\\t\\tfhirResourceId: target.id,\\n\", \"\\t\\tfhirField: 'code',\\n\", \"\\t\\tquestionConcept: '20000000671',\\n\", \"\\t\\tsourceNote: target.code.coding[0].code+'^'+target.code.coding[0].system, \\n\", \"\\t\\tanswerValue: target.code.coding[0].system+' '+target.code.coding[0].code,\\n\", \"\\t\\tvalueType: 'String'\\n\", \"\\t}\\n\"]"