protected override Profile LoadProfile() { ProfileBuilder builder = new ProfileBuilder(); //profile.Add(ProfileFactory.MetaTypesProfile()); //profile.Add(ProfileFactory.DataTypesProfile()); // profile.Add(ProfileFactory.PrimitiveTypesProfile()); //profile.LoadXMLValueSets("Data\\valuesets.xml"); //profile.LoadXmlFile("Data\\type-HumanName.profile.xml"); //profile.LoadXmlFile("Data\\type-Identifier.profile.xml") builder.LoadXmlFile("Data\\profile.profile.xml"); return builder.ToProfile(); }
protected override Profile LoadProfile() { ProfileBuilder builder = new ProfileBuilder(); //profile.Add(ProfileFactory.MetaTypesProfile()); //profile.Add(ProfileFactory.DataTypesProfile()); builder.Add(StructureFactory.PrimitiveTypes()); builder.Add(StructureFactory.NonFhirNamespaces()); builder.LoadXMLValueSets("Data\\valuesets.xml"); builder.LoadXmlFile("Data\\type-Extension.profile.xml"); builder.LoadXmlFile("Data\\type-HumanName.profile.xml"); builder.LoadXmlFile("Data\\type-Identifier.profile.xml"); builder.LoadXmlFile("Data\\type-Narrative.profile.xml"); builder.LoadXmlFile("Data\\patient.profile.xml"); return builder.ToProfile(); }