-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add example button examples to index page
- Loading branch information
healthedata1
committed
Dec 14, 2023
1 parent
8fdbb63
commit 1815e69
Showing
8 changed files
with
233 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
resourceType: Location | ||
id: hl7east | ||
meta: | ||
profile: | ||
- http://hl7.org/fhir/us/core/StructureDefinition/us-core-location | ||
extension: | ||
- url: http://hl7.org/fhir/StructureDefinition/instance-name | ||
valueString: HL7East Example | ||
- url: http://hl7.org/fhir/StructureDefinition/instance-description | ||
valueMarkdown: This is a HL7East example for the *US Core Location Profile*. | ||
identifier: | ||
- system: http://www.acme.org/location | ||
value: '29' | ||
status: active | ||
name: Health Level Seven International - Amherst | ||
type: | ||
- coding: | ||
- system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode' | ||
code: _DedicatedNonClinicalLocationRoleType | ||
display: DedicatedNonClinicalLocationRoleType | ||
text: Administrative Office | ||
description: HL7 Headquarters - East | ||
telecom: | ||
- system: phone | ||
value: (+1) 734-677-7777 | ||
address: | ||
line: | ||
- 3300 Washtenaw Avenue, Suite 227 | ||
city: Amherst | ||
state: MA | ||
postalCode: '01002' | ||
country: USA | ||
position: | ||
longitude: -72.519854 | ||
latitude: 42.373222 | ||
managingOrganization: | ||
display: Health Level Seven International |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"resourceType": "Location", | ||
"id": "hl7east", | ||
"meta": { | ||
"profile": [ | ||
"http://hl7.org/fhir/us/core/StructureDefinition/us-core-location|0.1.0" | ||
], | ||
"extension": [ | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/instance-name", | ||
"valueString": "HL7East Example" | ||
}, | ||
{ | ||
"url": "http://hl7.org/fhir/StructureDefinition/instance-description", | ||
"valueMarkdown": "This is a HL7East example for the *US Core Location Profile*." | ||
} | ||
] | ||
}, | ||
"identifier": [ | ||
{ | ||
"system": "http://www.acme.org/location", | ||
"value": "29" | ||
} | ||
], | ||
"status": "active", | ||
"name": "Health Level Seven International - Amherst", | ||
"type": [ | ||
{ | ||
"coding": [ | ||
{ | ||
"system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", | ||
"code": "_DedicatedNonClinicalLocationRoleType", | ||
"display": "DedicatedNonClinicalLocationRoleType" | ||
} | ||
], | ||
"text": "Administrative Office" | ||
} | ||
], | ||
"description": "HL7 Headquarters - East", | ||
"telecom": [ | ||
{ | ||
"system": "phone", | ||
"value": "(+1) 734-677-7777" | ||
} | ||
], | ||
"address": { | ||
"line": [ | ||
"3300 Washtenaw Avenue, Suite 227" | ||
], | ||
"city": "Amherst", | ||
"state": "MA", | ||
"postalCode": "01002", | ||
"country": "USA" | ||
}, | ||
"position": { | ||
"longitude": -72.519854, | ||
"latitude": 42.373222 | ||
}, | ||
"managingOrganization": { | ||
"display": "Health Level Seven International" | ||
} | ||
} |
98 changes: 98 additions & 0 deletions
98
input/images/inline_examples/Patient-deceased-example2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<Patient xmlns="http://hl7.org/fhir"> | ||
<id value="deceased-example"/> | ||
<meta> | ||
<extension url="http://hl7.org/fhir/StructureDefinition/instance-name"> | ||
<valueString value="Deceased Patient Example"/> | ||
</extension> | ||
<extension url="http://hl7.org/fhir/StructureDefinition/instance-description"> | ||
<valueMarkdown value="This is a deceased patient example for the *US Core Patient Profile*."/> | ||
</extension> | ||
<profile value="http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient|0.1.0"/> | ||
</meta> | ||
<text> | ||
<status value="extensions"/><div xmlns="http://www.w3.org/1999/xhtml"> | ||
|
||
<p> | ||
<strong>resourceType:</strong> | ||
</p> | ||
<p> | ||
<strong>id:</strong> | ||
deceased-example</p> | ||
|
||
</div> | ||
</text> | ||
<extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-race"> | ||
<extension url="ombCategory"> | ||
<valueCoding> | ||
<system value="urn:oid:2.16.840.1.113883.6.238"/> | ||
<code value="2106-3"/> | ||
<display value="White"/> | ||
</valueCoding> | ||
</extension> | ||
<extension url="ombCategory"> | ||
<valueCoding> | ||
<system value="urn:oid:2.16.840.1.113883.6.238"/> | ||
<code value="2028-9"/> | ||
<display value="Asian"/> | ||
</valueCoding> | ||
</extension> | ||
<extension url="text"> | ||
<valueString value="Mixed"/> | ||
</extension> | ||
</extension> | ||
<extension url="http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity"> | ||
<extension url="ombCategory"> | ||
<valueCoding> | ||
<system value="urn:oid:2.16.840.1.113883.6.238"/> | ||
<code value="2186-5"/> | ||
<display value="Not Hispanic or Latino"/> | ||
</valueCoding> | ||
</extension> | ||
<extension url="text"> | ||
<valueString value="Not Hispanic or Latino"/> | ||
</extension> | ||
</extension> | ||
<identifier> | ||
<use value="usual"/> | ||
<type> | ||
<coding> | ||
<system value="http://terminology.hl7.org/CodeSystem/v2-0203"/> | ||
<code value="MR"/> | ||
<display value="Medical Record Number"/> | ||
</coding> | ||
<text value="Medical Record Number"/> | ||
</type> | ||
<system value="http://hospital.smarthealthit.org"/> | ||
<value value="55555555"/> | ||
</identifier> | ||
<active value="true"/> | ||
<name> | ||
<family value="Shaw"/> | ||
<given value="Mary"/> | ||
<given value="A."/> | ||
</name> | ||
<telecom> | ||
<system value="phone"/> | ||
<value value="555-555-5555"/> | ||
<use value="home"/> | ||
</telecom> | ||
<telecom> | ||
<system value="email"/> | ||
<value value="[email protected]"/> | ||
</telecom> | ||
<gender value="female"/> | ||
<birthDate value="1937-10-21"/> | ||
<deceasedDateTime value="2022-07-22"/> | ||
<address> | ||
<line value="49 Meadow St"/> | ||
<city value="Mounds"/> | ||
<state value="OK"/> | ||
<postalCode value="74047"/> | ||
<country value="US"/> | ||
<period> | ||
<start value="2016-12-06"/> | ||
</period> | ||
</address> | ||
</Patient> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,24 @@ | ||
{% assign target = include.example | split: "." | first %} | ||
{% assign target = include.example | split: "/" | last | split: "." | first %} | ||
{% assign file_type = include.example | split: "." | last %} | ||
|
||
<p> | ||
<button class="btn btn-info btn-lg btn-block" type="button" title="Click to Open or Close Example" data-toggle="collapse" data-target="#{{target}}" aria-expanded="false" aria-controls="collapseExample"> | ||
<button class="btn btn-info btn-lg btn-block" type="button" title="Click to Open or Close Example" | ||
data-toggle="collapse" data-target="#{{target}}" aria-expanded="false" aria-controls="collapseExample"> | ||
{{include.b_title | default: "Example" }} | ||
</button> | ||
</p> | ||
|
||
<div class="collapse" id="{{target}}"> | ||
<div class="card card-body" style="border:1px solid;border-color:#cccccc;padding:10px" markdown="1"> | ||
{% if file_type =="xhtml" or file_type =="html" or file_type =="md"%} | ||
{% include {{include.example}} %} | ||
{% else %} | ||
{% include {{target}}.md %} | ||
{% endif %} | ||
</div> | ||
<div class="card card-body" style="border:1px solid;border-color:#cccccc;padding:10px" markdown="1"> | ||
{% if file_type =="xhtml" or file_type =="html" or file_type =="md"%} | ||
{% include {{include.example}} %} | ||
{% elsif file_type =="xml" or file_type =="json" %} | ||
~~~ | ||
{% include_relative {{include.example}} %} | ||
~~~ | ||
{% else %} | ||
{% include {{target}}.md %} | ||
{% endif %} | ||
</div> | ||
<br /> | ||
</div> | ||
<br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters