コード例 #1
0
ファイル: SchemaTests.cs プロジェクト: mh2727/leaf
        public void ShapedDatasetSchemaExtractor_Encounter_Ok()
        {
            var fields = ShapedDatasetSchemaExtractor.Extract <Encounter>();

            Assert.NotEmpty(fields);
            Assert.Contains(fields, f => f.Name == "personId" && f.Type == LeafType.String);
            Assert.Contains(fields, f => f.Name == "location" && f.Type == LeafType.String);
        }
コード例 #2
0
ファイル: SchemaTests.cs プロジェクト: mh2727/leaf
        public void ShapedDatasetSchemaExtractor_Observation_Ok()
        {
            var fields = ShapedDatasetSchemaExtractor.Extract <Observation>();

            Assert.NotEmpty(fields);
            Assert.Contains(fields, f => f.Name == "personId" && f.Type == LeafType.String);
            Assert.Contains(fields, f => f.Name == "effectiveDate" && f.Type == LeafType.DateTime);
        }
コード例 #3
0
 MedicationAdministrationContract()
 {
     Shape  = Shape.MedicationRequest;
     Fields = ShapedDatasetSchemaExtractor.Extract <MedicationAdministration>();
 }
コード例 #4
0
 AllergyContract()
 {
     Shape  = Shape.Allergy;
     Fields = ShapedDatasetSchemaExtractor.Extract <Allergy>();
 }
コード例 #5
0
 ImmunizationContract()
 {
     Shape  = Shape.Immunization;
     Fields = ShapedDatasetSchemaExtractor.Extract <Immunization>();
 }
コード例 #6
0
 ProcedureContract()
 {
     Shape  = Shape.Procedure;
     Fields = ShapedDatasetSchemaExtractor.Extract <Procedure>();
 }
コード例 #7
0
 ConditionContract()
 {
     Shape  = Shape.Condition;
     Fields = ShapedDatasetSchemaExtractor.Extract <Condition>();
 }
コード例 #8
0
 DemographicContract()
 {
     Shape  = Shape.Demographic;
     Fields = ShapedDatasetSchemaExtractor.Extract <PatientDemographic>();
 }
コード例 #9
0
 EncounterContract()
 {
     Shape  = Shape.Encounter;
     Fields = ShapedDatasetSchemaExtractor.Extract <Encounter>();
 }
コード例 #10
0
 ObservationContract()
 {
     Shape  = Shape.Observation;
     Fields = ShapedDatasetSchemaExtractor.Extract <Observation>();
 }
コード例 #11
0
ファイル: ShapedDatasetContract.cs プロジェクト: umcu/leaf
 ConceptDatasetContract()
 {
     Shape  = Shape.Concept;
     Fields = ShapedDatasetSchemaExtractor.Extract <ConceptDataset>();
 }