Skip to content

Commit c2f6d44

Browse files
committed
markdown and editing updates
1 parent 8b4ea75 commit c2f6d44

File tree

3 files changed

+33
-36
lines changed

3 files changed

+33
-36
lines changed

articles/healthcare-apis/azure-api-for-fhir/tutorial-web-app-write-web-app.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ ms.date: 09/27/2023
1212

1313
# Write Azure web application to read FHIR data in Azure API for FHIR
1414

15-
[!INCLUDE [retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
15+
[!INCLUDE[retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
1616

17-
Now that you're able to connect to your FHIR server and POST data, you’re ready to write a web application that will read FHIR data. In this final step of the tutorial, we’ll walk through writing and accessing the web application.
17+
Now that you're able to connect to your FHIR® server and POST data, you’re ready to write a web application that will read FHIR data. In this final step of the tutorial, we walk through writing and accessing the web application.
1818

1919
## Create web application
20-
In Azure, select **Create a resource** and select **Web App**. Make sure to name your web application whatever you specified in the redirect URI for your client application or go back and update the redirect URI with the new name.
20+
In Azure, select **Create a resource** and select **Web App**. Make sure to name your web application whatever you specified in the redirect URI for your client application, or go back and update the redirect URI with the new name.
2121

2222
![Create Web Application](media/tutorial-web-app/create-web-app.png)
2323

24-
Once the web application is available, **Go to resource**. Select **App Service Editor (Preview)** under Development Tools on the right and then select **Go**. Selecting Go will open up the App Service Editor. Right select in the grey space under *Explore* and create a new file called **index.html**.
24+
Once the web application is available, select **Go to resource**. Select **App Service Editor (Preview)** under Development Tools on the right and then select **Go**. Selecting **Go** opens up the App Service Editor. Right select in the grey space under *Explore* and create a new file called **index.html**.
2525

26-
Included is the code that you can input into **index.html**. You’ll need to update the following items:
27-
* **clientId** - Update with your client application ID. This ID will be the same ID you pulled when retrieving your token
26+
The following is the code that you can input into **index.html**. You’ll need to update the following items.
27+
* **clientId** - Update with your client application ID. This ID is the same ID you pulled when retrieving your token
2828
* **authority** - Update with your Microsoft Entra tenant ID
2929
* **FHIRendpoint** - Update the FHIRendpoint to have your FHIR service name
3030
* **scopes** - Update to reflect the full URL for your audience
@@ -146,9 +146,9 @@ From here, you can go back to your web application resource and open the URL fou
146146

147147
## Next Steps
148148

149-
You’ve successfully deployed the Azure API for FHIR, registered a public client application, tested access, and created a small web application. Check out the Azure API for FHIR supported features as a next step.
149+
You’ve successfully deployed the Azure API for FHIR, registered a public client application, tested access, and created a small web application. As a next step, check out the Azure API for FHIR supported features.
150150

151151
>[!div class="nextstepaction"]
152152
>[Supported Features](fhir-features-supported.md)
153153
154-
FHIR® is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
154+
[!INCLUDE[FHIR trademark statement](../includes/healthcare-apis-fhir-trademark.md)]

articles/healthcare-apis/azure-api-for-fhir/use-custom-headers.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ ms.date: 09/27/2023
1212

1313
# Add custom HTTP headers to audit logs in FHIR service
1414

15-
[!INCLUDE [retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
15+
[!INCLUDE[retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
1616

17-
[!INCLUDE [Specific IP ranges for storage account](../includes/custom-header-auditlog.md)]
17+
[!INCLUDE[Specific IP ranges for storage account](../includes/custom-header-auditlog.md)]
1818

1919
## Next steps
2020

21-
In this article, you learned how to add data to audit logs by using custom headers in the Azure API for FHIR. For information about Azure API for FHIR configuration settings, see
21+
In this article, you learned how to add data to audit logs by using custom headers in the Azure API for FHIR®. For information about Azure API for FHIR configuration settings, see
2222

2323
>[!div class="nextstepaction"]
2424
>[Configure Azure RBAC](configure-azure-rbac.md)
@@ -38,5 +38,4 @@ In this article, you learned how to add data to audit logs by using custom heade
3838
>[!div class="nextstepaction"]
3939
>[Configure Private Link](configure-private-link.md)
4040
41-
FHIR® is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
42-
41+
[!INCLUDE[FHIR trademark statement](../includes/healthcare-apis-fhir-trademark.md)]

articles/healthcare-apis/azure-api-for-fhir/validation-against-profiles.md

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,39 @@ ms.date: 09/27/2023
99
ms.author: kesheth
1010
---
1111

12+
# Validate Operation Overview
1213

13-
# Validate Operation : Overview
14+
[!INCLUDE[retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
1415

15-
[!INCLUDE [retirement banner](../includes/healthcare-apis-azure-api-fhir-retirement.md)]
16+
In the [store profiles in Azure API for FHIR](store-profiles-in-fhir.md) article, you walked through the basics of FHIR profiles and storing them. This article guides you through how to use `$validate` for validating resources against profiles. Validating a resource against a profile means checking if the resource conforms to the profile, including the specifications listed in `Resource.meta.profile` or in an Implementation Guide (IG).
1617

17-
In the [store profiles in Azure API for FHIR](store-profiles-in-fhir.md) article, you walked through the basics of FHIR profiles and storing them. This article will guide you through how to use `$validate` for validating resources against profiles. Validating a resource against a profile means checking if the resource conforms to the profile, including the specifications listed in `Resource.meta.profile` or in an Implementation Guide.
18-
19-
`$validate` is an operation in Fast Healthcare Interoperability Resources (FHIR®) that allows you to ensure that a FHIR resource conforms to the base resource requirements or a specified profile. This operation ensures that the data in Azure API for FHIR has the expected attributes and values. For information on validate operation, visit [HL7 FHIR Specification](https://www.hl7.org/fhir/resource-operation-validate.html). Per specification, Mode can be specified with `$validate`, such as create and update:
18+
`$validate` is an operation in Fast Healthcare Interoperability Resources (FHIR®) that allows you to ensure that a FHIR resource conforms to the base resource requirements or a specified profile. This operation ensures that the data in Azure API for FHIR has the expected attributes and values. For information on validate operation, visit [HL7 FHIR Specification](https://www.hl7.org/fhir/resource-operation-validate.html). Per the specification, Mode can be specified with `$validate`, such as create and update.
2019

2120
- `create`: Azure API for FHIR checks that the profile content is unique from the existing resources and that it's acceptable to be created as a new resource.
2221
- `update`: Checks that the profile is an update against the nominated existing resource (that is no changes are made to the immutable fields).
2322

24-
There are different ways provided for you to validate resource:
23+
There are different ways provided for you to validate resource.
2524

2625
- Validate an existing resource with validate operation.
2726
- Validate a new resource with validate operation.
28-
- Validate on resource CREATE/ UPDATE using header.
27+
- Validate on resource CREATE/UPDATE using a header.
2928

30-
Azure API for FHIR will always return an `OperationOutcome` as the validation results for $validate operation. Azure API for FHIR service does two step validation, once a resource is passed into $validate endpoint - the first step is a basic validation to ensure resource can be parsed. During resource parsing, individual errors need to be fixed before proceeding further to next step. Once resource is successfully parsed, full validation is conducted as second step.
29+
Azure API for FHIR always returns an `OperationOutcome` as the validation results for `$validate` operation. Azure API for FHIR service does two step validation once a resource is passed into `$validate` endpoint. The first step is a basic validation to ensure resource can be parsed. During resource parsing, individual errors need to be fixed before proceeding to next step. Once a resource is successfully parsed, full validation is conducted as the second step.
3130

3231
> [!NOTE]
33-
> Any valuesets that are to be used for validation must be uploaded to the FHIR server.  This includes any Valuesets which are part of the FHIR specification, as well as any ValueSets defined in Implementation Guides.  Only fully expanded Valuesets which contain a full list of all codes are supported.  Any ValueSet definitions which reference external sources are not supported.
32+
> Any `Valuesets` that are to be used for validation must be uploaded to the FHIR server. This includes any `Valuesets` which are part of the FHIR specification, as well as any `ValueSets` defined in Implementation Guides. Only fully expanded `Valuesets`, which contain a full list of all codes are supported. Any `ValueSet` definitions which reference external sources are not supported.
3433
3534
## Validating an existing resource
3635

37-
To validate an existing resource, use `$validate` in a `GET` request:
36+
To validate an existing resource, use `$validate` in a `GET` request.
3837

3938
`GET http://<your Azure API for FHIR base URL>/{resource}/{resource ID}/$validate`
4039

41-
For example:
40+
For example
4241

43-
`GET https://myworkspace-myfhirserver.fhir.azurehealthcareapis.com/Patient/a6e11662-def8-4dde-9ebc-4429e68d130e/$validate`
42+
`GET https://myworkspace-myfhirserver.fhir.azurehealthcareapis.com/Patient/a6e11662-def8-4dde-9ebc-4429e68d130e/$validate`.
4443

45-
In this example, you're validating the existing Patient resource `a6e11662-def8-4dde-9ebc-4429e68d130e` against the base Patient resource. If it's valid, you'll get an `OperationOutcome` such as the following code example:
44+
In this example, you're validating the existing Patient resource `a6e11662-def8-4dde-9ebc-4429e68d130e` against the base `Patient` resource. If it's valid, you get an `OperationOutcome` such as the following code example.
4645

4746
```json
4847
{
@@ -56,7 +55,7 @@ In this example, you're validating the existing Patient resource `a6e11662-def8-
5655
]
5756
}
5857
```
59-
If the resource isn't valid, you'll get an error code and an error message with details on why the resource is invalid. An example `OperationOutcome` gets returned with error messages and could look like the following code example:
58+
If the resource isn't valid, you get an error code and an error message with details on why the resource is invalid. An example `OperationOutcome` gets returned with error messages and could look like the following code example.
6059

6160
```json
6261
{
@@ -100,30 +99,29 @@ If the resource isn't valid, you'll get an error code and an error message with
10099

101100
In this example, the resource didn't conform to the provided Patient profile, which required a patient identifier value and gender.
102101

103-
If you'd like to specify a profile as a parameter, you can specify the canonical URL for the profile to validate against, such as the following example for the HL7 base profile for `heartrate`:
102+
If you'd like to specify a profile as a parameter, you can specify the canonical URL for the profile to validate against, such as the following example for the HL7 base profile for `heartrate`.
104103

105104
`GET https://myAzureAPIforFHIR.azurehealthcareapis.com/Observation/12345678/$validate?profile=http://hl7.org/fhir/StructureDefinition/heartrate`
106105

107106

108107
## Validating a new resource
109108

110-
If you'd like to validate a new resource that you're uploading to Azure API for FHIR, you can do a `POST` request:
111-
The server will always return an OperationOutcome as the result.
109+
If you'd like to validate a new resource that you're uploading to Azure API for FHIR, you can do a `POST` request. The server always returns an OperationOutcome as the result.
112110

113111
`POST http://<your Azure API for FHIR base URL>/{Resource}/$validate`
114112

115-
For example:
113+
For example,
116114

117-
`POST https://myAzureAPIforFHIR.azurehealthcareapis.com/Patient/$validate`
115+
`POST https://myAzureAPIforFHIR.azurehealthcareapis.com/Patient/$validate`.
118116

119-
This request will validate the resource. On validation resources are not created in FHIR service, you will need to send a POST request without $validate to create resource.
117+
This request validates the resource. Resources aren't created in FHIR service on validation. You need to send a POST request without `$validate` to create a resource.
120118

121119
## Validate on resource CREATE/ UPDATE using header.
122120

123-
By default, Azure API for FHIR is configured to opt out of validation on resource `Create/Update`. This capability allows to validate on `Create/Update`, using the `x-ms-profile-validation` header. Set `x-ms-profile-validation' to true for validation.
121+
By default, Azure API for FHIR is configured to opt out of validation on resource `Create/Update`. This capability allows validation on `Create/Update`, using the `x-ms-profile-validation` header. Set `x-ms-profile-validation` to true for validation.
124122

125123
> [!NOTE]
126-
> In the open-source FHIR service, you can change the server configuration setting, under the CoreFeatures.
124+
> In the open-source FHIR service, you can change the server configuration setting under CoreFeatures.
127125
128126
```json
129127
{
@@ -142,4 +140,4 @@ In this article, you learned how to validate resources against profiles using `$
142140
>[!div class="nextstepaction"]
143141
>[Azure API for FHIR supported features](fhir-features-supported.md)
144142

145-
FHIR&#174; is a registered trademark of [HL7](https://hl7.org/fhir/) and is used with the permission of HL7.
143+
[!INCLUDE[FHIR trademark statement](../includes/healthcare-apis-fhir-trademark.md)]

0 commit comments

Comments
 (0)