You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/healthcare-apis/azure-api-for-fhir/store-profiles-in-fhir.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ For example:
35
35
-`http://hl7.org/fhir/StructureDefinition/bmi` is another base profile that defines how to represent Body Mass Index (BMI) observations.
36
36
-`http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance` is a US Core profile that sets minimum expectations for `AllergyIntolerance` resource associated with a patient, and it identifies mandatory fields such as extensions and value sets.
37
37
38
-
When a resource conforms to a profile, the profile is specified inside the `profile` element of the resource.
38
+
When a resource conforms to a profile, the profile is specified inside the `profile` element of the resource. Below you can see an example of the beginning of a 'Patient' resource which has http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient profile.
39
39
40
40
```json
41
41
{
@@ -53,7 +53,7 @@ When a resource conforms to a profile, the profile is specified inside the `prof
53
53
> [!NOTE]
54
54
> Profiles must build on top of the base resource and cannot conflict with the base resource. For example, if an element has a cardinality of 1..1, the profile cannot make it optional.
55
55
56
-
Profiles are also specified by various Implementation Guides. Some common Implementation Guides are:
56
+
Profiles are also specified by various Implementation Guides (IGs). Some common IGs are listed below. You can go to the specific IG site to learn more about the IG and the profiles defined within it.
57
57
58
58
|Name |URL
59
59
|---- |----
@@ -62,6 +62,9 @@ CARIN Blue Button |<http://hl7.org/fhir/us/carin-bb/>
62
62
Da Vinci Payer Data Exchange |<http://hl7.org/fhir/us/davinci-pdex/>
> The Azure API for FHIR does not store any profiles from implementation guides by default. You will need to load them into the Azure API for FHIR.
67
+
65
68
## Accessing profiles and storing profiles
66
69
67
70
### Storing profiles
@@ -79,7 +82,7 @@ To store profiles in Azure API for FHIR, you can `POST` the `StructureDefinition
79
82
}
80
83
```
81
84
82
-
For example, if you'd like to store the `us-core-allergyintolerance` profile, you'd do the following:
85
+
For example, if you'd like to store the `us-core-allergyintolerance` profile, you'd use the following rest command with the US Core allergy intolerance profile in the body. We have included a snippet of this profile for the example.
83
86
84
87
```rest
85
88
POST https://myAzureAPIforFHIR.azurehealthcareapis.com/StructureDefinition?url=http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance
@@ -112,7 +115,7 @@ POST https://myAzureAPIforFHIR.azurehealthcareapis.com/StructureDefinition?url=h
112
115
],
113
116
"description" : "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.",
114
117
```
115
-
For more examples, see the [US Core sample REST file](https://github.com/microsoft/fhir-server/blob/main/docs/rest/PayerDataExchange/USCore.http) on the open-source site that walks through storing US Core profiles.
118
+
For more examples, see the [US Core sample REST file](https://github.com/microsoft/fhir-server/blob/main/docs/rest/PayerDataExchange/USCore.http) on the open-source site that walks through storing US Core profiles. To get the most up to date profiles you should get the profiles directly from HL7 and the implementation guide that defines them.
Copy file name to clipboardExpand all lines: articles/healthcare-apis/fhir/store-profiles-in-fhir.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ For example:
38
38
-`http://hl7.org/fhir/StructureDefinition/bmi` is another base profile that defines how to represent Body Mass Index (BMI) observations.
39
39
-`http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance` is a US Core profile that sets minimum expectations for `AllergyIntolerance` resource associated with a patient, and it identifies mandatory fields such as extensions and value sets.
40
40
41
-
When a resource conforms to a profile, the profile is specified inside the `profile` element of the resource.
41
+
When a resource conforms to a profile, the profile is specified inside the `profile` element of the resource. Below you can see an example of the beginning of a 'Patient' resource which has http://hl7.org/fhir/us/carin-bb/StructureDefinition/C4BB-Patient profile.
42
42
43
43
```json
44
44
{
@@ -56,7 +56,7 @@ When a resource conforms to a profile, the profile is specified inside the `prof
56
56
> [!NOTE]
57
57
> Profiles must build on top of the base resource and cannot conflict with the base resource. For example, if an element has a cardinality of 1..1, the profile cannot make it optional.
58
58
59
-
Profiles are also specified by various Implementation Guides. Some common Implementation Guides are:
59
+
Profiles are also specified by various Implementation Guides (IGs). Some common IGs are listed below. You can go to the specific IG site to learn more about the IG and the profiles defined within it.
60
60
61
61
|Name |URL
62
62
|---- |----
@@ -65,6 +65,9 @@ CARIN Blue Button |<http://hl7.org/fhir/us/carin-bb/>
65
65
Da Vinci Payer Data Exchange |<http://hl7.org/fhir/us/davinci-pdex/>
> The FHIR service does not store any profiles from implementation guides by default. You will need to load them into the FHIR service.
70
+
68
71
## Accessing profiles and storing profiles
69
72
70
73
### Storing profiles
@@ -82,7 +85,7 @@ To store profiles to the FHIR server, you can `POST` the `StructureDefinition` w
82
85
}
83
86
```
84
87
85
-
For example, if you'd like to store the `us-core-allergyintolerance` profile, you'd do the following:
88
+
For example, if you'd like to store the `us-core-allergyintolerance` profile, you'd use the following rest command with the US Core allergy intolerance profile in the body. We have included a snippet of this profile for the example.
86
89
87
90
```rest
88
91
POST https://myworkspace-myfhirserver.fhir.azurehealthcareapis.com/StructureDefinition?url=http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance
@@ -115,7 +118,7 @@ POST https://myworkspace-myfhirserver.fhir.azurehealthcareapis.com/StructureDefi
115
118
],
116
119
"description" : "Defines constraints and extensions on the AllergyIntolerance resource for the minimal set of data to query and retrieve allergy information.",
117
120
```
118
-
For more examples, see the [US Core sample REST file](https://github.com/microsoft/fhir-server/blob/main/docs/rest/PayerDataExchange/USCore.http) on the open-source site that walks through storing US Core profiles.
121
+
For more examples, see the [US Core sample REST file](https://github.com/microsoft/fhir-server/blob/main/docs/rest/PayerDataExchange/USCore.http) on the open-source site that walks through storing US Core profiles. To get the most up to date profiles you should get the profiles directly from HL7 and the implementation guide that defines them.
0 commit comments