## Hl7Field.parse() method

Parses an HL7 field string into an Hl7Field object.

**Signature:**

```typescript
static parse(text: string, context?: Hl7Context): Hl7Field;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| text | string | The HL7 field text. |
| context | [Hl7Context](/content/docs/sdk/core.hl7context) | _(Optional)_ Optional HL7 parsing context. |

**Returns:**

[Hl7Field](/content/docs/sdk/core.hl7field)

The parsed HL7 field.

- [Hl7Field.parse() method](/content/docs/sdk/core.hl7field.parse#hl7fieldparse-method/index.html)
- [Parameters](/content/docs/sdk/core.hl7field.parse#parameters/index.html)
