/// RECORDMAP: Generated from RecordMap 'AHP.PRESCRIPTION.AHPUNDERSCOREPRESCRIPTION.HPRIM.H'
/// on 2013-11-22 at 15:56:53.243 [2013-11-22 14:56:53.243 UTC]
/// by user Raouf
Class AHP.PRESCRIPTION.AHPUNDERSCOREPRESCRIPTION.HPRIM.H.Record Extends (%Persistent, %XML.Adaptor, Ens.Request, EnsLib.RecordMap.Base) [ Inheritance = right, ProcedureBlock ]
{
Parameter RECORDMAPGENERATED = 1;
Parameter INCLUDETOPFIELDS = 1;
Property TypeDeSegment As %String(MAXLEN = 1, VALUELIST = "H") [ Required ];
Property DefinitionDesSeparateurs As %String(MAXLEN = 5, MINLEN = 5) [ Required ];
Property NomDuFichier As %String(MAXLEN = 12);
Property MotDePasse As %String(MAXLEN = 12);
Property IdentificationEmetteur As AHP.PRESCRIPTION.AHPUNDERSCOREPRESCRIPTION.HPRIM.H.Record.IdentificationEmetteur;
Property Ligne1Adresse As %String(MAXLEN = 20);
Property Ligne2Adresse As %String(MAXLEN = 20);
Property Ville As %String(MAXLEN = 20);
Property LibelléDepartement As %String(MAXLEN = 20);
Property CodePostal As %String(MAXLEN = 10);
Property Pays As %String(MAXLEN = 10);
Property Contexte As %String(VALUELIST = ",ORM,ORU,ADM,FAC,REG,ERR") [ Required ];
Property NumTelEmeetteur As %String(MAXLEN = 100);
Property CaracteristiquesTransmission As %String(MAXLEN = 40);
Property IdentificationRecepteur As AHP.PRESCRIPTION.AHPUNDERSCOREPRESCRIPTION.HPRIM.H.Record.IdentificationRecepteur;
Property Commentaire As %String(MAXLEN = 80);
Property ModeTraitement As %String(MAXLEN = 1, VALUELIST = ",P,T,D") [ Required ];
Property VersionType As AHP.PRESCRIPTION.AHPUNDERSCOREPRESCRIPTION.HPRIM.H.Record.VersionType;
<Storage name="Default">
<Data name="RecordDefaultData">
<Value name="1">
<Value>%%CLASSNAME</Value>
</Value>
<Value name="2">
<Value>TypeDeSegment</Value>
</Value>
<Value name="3">
<Value>%Source</Value>
</Value>
<Value name="4">
<Value>NomDuFichier</Value>
</Value>
<Value name="5">
<Value>MotDePasse</Value>
</Value>
<Value name="6">
<Value>IdentificationEmetteur</Value>
</Value>
<Value name="7">
<Value>Ligne1Adresse</Value>
</Value>
<Value name="8">
<Value>Ligne2Adresse</Value>
</Value>
<Value name="9">
<Value>Ville</Value>
</Value>
<Value name="10">
<Value>LibelléDepartement</Value>
</Value>
<Value name="11">
<Value>CodePostal</Value>
</Value>
<Value name="12">
<Value>Pays</Value>
</Value>
<Value name="13">
<Value>Contexte</Value>
</Value>
<Value name="14">
<Value>NumTelEmeetteur</Value>
</Value>
<Value name="15">
<Value>CaracteristiquesTransmission</Value>
</Value>
<Value name="16">
<Value>IdentificationRecepteur</Value>
</Value>
<Value name="17">
<Value>Commentaire</Value>
</Value>
<Value name="18">
<Value>ModeTraitement</Value>
</Value>
<Value name="19">
<Value>VersionType</Value>
</Value>
<Value name="20">
<Value>DefinitionDesSeparateurs</Value>
</Value>
</Data>
<DataLocation>^AHP.PRESCRIPTION.AH15E0.RecordD</DataLocation>
<DefaultData>RecordDefaultData</DefaultData>
<ExtentSize>2000000</ExtentSize>
<IdLocation>^AHP.PRESCRIPTION.AH15E0.RecordD</IdLocation>
<IndexLocation>^AHP.PRESCRIPTION.AH15E0.RecordI</IndexLocation>
<StreamLocation>^AHP.PRESCRIPTION.AH15E0.RecordS</StreamLocation>
<Type>%Library.CacheStorage</Type>
</Storage>
}
Parameters such as MAXLEN are enforced when the object is saved. I haven’t looked at the code, but I am guessing the sample file display doesn’t save anything
dave
--
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare Community" group.
To post to this group, send email to
Ensemble-in...@googlegroups.com
To unsubscribe from this group, send email to
Ensemble-in-Healt...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Ensemble-in-Healthcare?hl=en
---
You received this message because you are subscribed to the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
Ensemble-in-Healt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
The Record describes the structure of the Caché object, but the RecordMap describes the external file. What is the definition of the RecordMap?
Here is one from the ComplexMap sample in 2014.1.
Class Demo.ComplexMap.SemesterFixed.Semester Extends EnsLib.RecordMap.RecordMap
{
XData RecordMap [
XMLNamespace = "http://www.intersystems.com/Ensemble/RecordMap" ]
{<Record xmlns="http://www.intersystems.com/Ensemble/RecordMap" name="Demo.ComplexMap.SemesterFixed.Semester" type="fixedwidth" char_encoding="UTF-8" targetClassname="Demo.ComplexMap.SemesterFixed.Semester.Record" complexBatchManaged="1" label="SEM|" paddingChars="\x20" padFromLeft="0" recordTerminator="\x0d\x0a" allowEarlyTerminator="0">
<Field name="SemesterID" required="0" datatype="%Integer" width="4" index="1"></Field>
<Field name="Year" required="0" datatype="%Integer" width="4"></Field>
<Field name="Name" required="0" datatype="%String" width="10"></Field>
<Field name="NumWeeks" required="0" datatype="%Integer" width="2"></Field>
<Field name="RecordCount" required="0" datatype="%Integer" width="5"></Field>
</Record>
}
These Fields describe the external data. What does the XData RecordMap look like in your code?
Thanks
You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/t0ts_ohE2GQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healt...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "InterSystems: Ensemble in Healthcare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/Ensemble-in-Healthcare/t0ts_ohE2GQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to Ensemble-in-Healt...@googlegroups.com.
If you are just starting with the record maps, the videos below might help.
2013/11/22 Joshua Goldman <Joshua....@intersystems.com>
If you are just starting with the record maps, the videos below might help.