public DocumentManifest() {
     this.contentField = new List<Reference>();
     this.confidentialityField = new CodeableConcept();
     this.descriptionField = new @string();
     this.supercedesField = new Reference();
     this.statusField = new DocumentReferenceStatus();
     this.sourceField = new uri();
     this.createdField = new dateTime();
     this.authorField = new List<Reference>();
     this.typeField = new CodeableConcept();
     this.recipientField = new List<Reference>();
     this.subjectField = new List<Reference>();
     this.identifierField = new List<Identifier>();
     this.masterIdentifierField = new Identifier();
 }
 public DocumentReference() {
     this.contextField = new DocumentReferenceContext();
     this.serviceField = new DocumentReferenceService();
     this.locationField = new uri();
     this.hashField = new base64Binary();
     this.sizeField = new integer();
     this.formatField = new List<uri>();
     this.mimeTypeField = new code();
     this.primaryLanguageField = new code();
     this.confidentialityField = new List<CodeableConcept>();
     this.descriptionField = new @string();
     this.relatesToField = new List<DocumentReferenceRelatesTo>();
     this.docStatusField = new CodeableConcept();
     this.statusField = new DocumentReferenceStatus();
     this.indexedField = new instant();
     this.createdField = new dateTime();
     this.authenticatorField = new Reference();
     this.policyManagerField = new uri();
     this.custodianField = new Reference();
     this.authorField = new List<Reference>();
     this.classField = new CodeableConcept();
     this.typeField = new CodeableConcept();
     this.subjectField = new Reference();
     this.identifierField = new List<Identifier>();
     this.masterIdentifierField = new Identifier();
 }