/// <summary> /// Converts to HL7. /// </summary> /// <param name="codedConcept">The coded concept.</param> /// <returns>A <see cref="HL7Generator.Infrastructure.CodedConcept"/></returns> internal static CodedConcept ConvertToHl7(Domain.Core.CommonModule.CodedConcept codedConcept) { CodedConcept hl7CodedConcept = null; if (codedConcept != null) { hl7CodedConcept = new CodedConcept( codedConcept.CodeSystemName, codedConcept.CodeSystemIdentifier, codedConcept.CodedConceptCode, codedConcept.DisplayName); } return(hl7CodedConcept); }
/// <summary> /// Converts to HL7. /// </summary> /// <param name="codedConceptLookupBase">The coded concept lookup base.</param> /// <returns>A <see cref="HL7Generator.Infrastructure.CodedConcept"/></returns> internal static CodedConcept ConvertToHl7(CodedConceptLookupBase codedConceptLookupBase) { CodedConcept hl7CodedConcept = null; if (codedConceptLookupBase != null) { hl7CodedConcept = new CodedConcept( codedConceptLookupBase.CodeSystemName, codedConceptLookupBase.CodeSystemIdentifier, codedConceptLookupBase.CodedConceptCode, codedConceptLookupBase.WellKnownName); } return(hl7CodedConcept); }
/// <summary> /// Converts to HL7. /// </summary> /// <param name="codedConceptLookupBase">The coded concept lookup base.</param> /// <returns>A <see cref="HL7Generator.Infrastructure.CodedConcept"/></returns> internal static CodedConcept ConvertToHl7( CodedConceptLookupBase codedConceptLookupBase ) { CodedConcept hl7CodedConcept = null; if ( codedConceptLookupBase != null ) { hl7CodedConcept = new CodedConcept ( codedConceptLookupBase.CodeSystemName, codedConceptLookupBase.CodeSystemIdentifier, codedConceptLookupBase.CodedConceptCode, codedConceptLookupBase.WellKnownName ); } return hl7CodedConcept; }
/// <summary> /// Converts to HL7. /// </summary> /// <param name="codedConcept">The coded concept.</param> /// <returns>A <see cref="HL7Generator.Infrastructure.CodedConcept"/></returns> internal static CodedConcept ConvertToHl7( Domain.Core.CommonModule.CodedConcept codedConcept ) { CodedConcept hl7CodedConcept = null; if ( codedConcept != null ) { hl7CodedConcept = new CodedConcept ( codedConcept.CodeSystemName, codedConcept.CodeSystemIdentifier, codedConcept.CodedConceptCode, codedConcept.DisplayName ); } return hl7CodedConcept; }