## Hl7Context.getMsh1() method

Returns the MSH-1 field value based on the configured separators.

**Signature:**

```typescript
getMsh1(): string;
```

**Returns:**

string

The HL7 MSH-1 field value.

- [Hl7Context.getMsh1() method](/content/docs/sdk/core.hl7context.getmsh1#hl7contextgetmsh1-method/index.html)
