@haste-health/hl7.fhir.r4b.test-data 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.index.json +569 -0
- package/README.md +1 -0
- package/examples-json/Account-ewg.json +76 -0
- package/examples-json/ActivityDefinition-administer-zika-virus-exposure-assessment.json +71 -0
- package/examples-json/AdministrableProductDefinition-example.json +52 -0
- package/examples-json/AdverseEvent-example.json +75 -0
- package/examples-json/AllergyIntolerance-example.json +128 -0
- package/examples-json/Appointment-2docs.json +102 -0
- package/examples-json/AppointmentResponse-example.json +26 -0
- package/examples-json/AuditEvent-example-disclosure.json +177 -0
- package/examples-json/Basic-basic-example-narrative.json +20 -0
- package/examples-json/Binary-example.json +18 -0
- package/examples-json/BiologicallyDerivedProduct-example.json +17 -0
- package/examples-json/BodyStructure-fetus.json +37 -0
- package/examples-json/Bundle-00b99077-2bda-436e-98cc-a4f65d6c2fe0.json +81 -0
- package/examples-json/CapabilityStatement-base.json +19587 -0
- package/examples-json/CarePlan-example.json +166 -0
- package/examples-json/CareTeam-example.json +94 -0
- package/examples-json/CatalogEntry-example.json +30 -0
- package/examples-json/ChargeItem-example.json +130 -0
- package/examples-json/ChargeItemDefinition-device.json +94 -0
- package/examples-json/Citation-example.json +18 -0
- package/examples-json/Claim-100150.json +116 -0
- package/examples-json/ClaimResponse-R3500.json +179 -0
- package/examples-json/ClinicalImpression-example.json +77 -0
- package/examples-json/ClinicalUseDefinition-example.json +43 -0
- package/examples-json/CodeSystem-FHIR-version.json +183 -0
- package/examples-json/Communication-example.json +84 -0
- package/examples-json/CommunicationRequest-example.json +24 -0
- package/examples-json/CompartmentDefinition-device.json +563 -0
- package/examples-json/Composition-example-mixed.json +99 -0
- package/examples-json/ConceptMap-101.json +111 -0
- package/examples-json/Condition-example.json +84 -0
- package/examples-json/Consent-consent-example-Emergency.json +100 -0
- package/examples-json/Contract-C-123.json +91 -0
- package/examples-json/Coverage-7546D.json +134 -0
- package/examples-json/CoverageEligibilityRequest-52345.json +52 -0
- package/examples-json/CoverageEligibilityResponse-E2500.json +47 -0
- package/examples-json/DetectedIssue-allergy.json +18 -0
- package/examples-json/Device-example.json +23 -0
- package/examples-json/DeviceDefinition-example.json +22 -0
- package/examples-json/DeviceMetric-example.json +64 -0
- package/examples-json/DeviceRequest-example.json +25 -0
- package/examples-json/DeviceUseStatement-example.json +36 -0
- package/examples-json/DiagnosticReport-102.json +54 -0
- package/examples-json/DocumentManifest-654789.json +101 -0
- package/examples-json/DocumentReference-example.json +171 -0
- package/examples-json/Encounter-emerg.json +150 -0
- package/examples-json/Endpoint-direct-endpoint.json +36 -0
- package/examples-json/EnrollmentRequest-22345.json +37 -0
- package/examples-json/EnrollmentResponse-ER2500.json +36 -0
- package/examples-json/EpisodeOfCare-example.json +111 -0
- package/examples-json/EventDefinition-example.json +36 -0
- package/examples-json/Evidence-example-ASTRAL-12-alteplase-mRS3-6.json +277 -0
- package/examples-json/EvidenceReport-example.json +25 -0
- package/examples-json/EvidenceVariable-example-Stroke-Thrombolysis-Trialists-2014-2016-IPD-MA-Cohort.json +100 -0
- package/examples-json/ExampleScenario-example.json +351 -0
- package/examples-json/ExplanationOfBenefit-EB3500.json +320 -0
- package/examples-json/FamilyMemberHistory-father.json +75 -0
- package/examples-json/Flag-example-encounter.json +45 -0
- package/examples-json/Goal-example.json +96 -0
- package/examples-json/GraphDefinition-example.json +62 -0
- package/examples-json/Group-101.json +50 -0
- package/examples-json/GuidanceResponse-example.json +81 -0
- package/examples-json/HealthcareService-example.json +233 -0
- package/examples-json/ImagingStudy-example-xr.json +174 -0
- package/examples-json/Immunization-example.json +141 -0
- package/examples-json/ImmunizationEvaluation-example.json +54 -0
- package/examples-json/ImmunizationRecommendation-example.json +97 -0
- package/examples-json/ImplementationGuide-example.json +128 -0
- package/examples-json/Ingredient-example.json +63 -0
- package/examples-json/InsurancePlan-example.json +18 -0
- package/examples-json/Invoice-example.json +61 -0
- package/examples-json/Library-FHIR-ModelInfo.json +43 -0
- package/examples-json/Linkage-example.json +36 -0
- package/examples-json/List-current-allergies.json +54 -0
- package/examples-json/Location-1.json +82 -0
- package/examples-json/ManufacturedItemDefinition-example.json +77 -0
- package/examples-json/Measure-component-a-example.json +73 -0
- package/examples-json/MeasureReport-general-example-of-report.json +156 -0
- package/examples-json/Media-1.2.840.11361907579238403408700.3.1.04.19970327150033.json +84 -0
- package/examples-json/Medication-med0301.json +76 -0
- package/examples-json/MedicationAdministration-medadmin0301.json +143 -0
- package/examples-json/MedicationDispense-meddisp008.json +92 -0
- package/examples-json/MedicationKnowledge-example.json +53 -0
- package/examples-json/MedicationRequest-medrx002.json +60 -0
- package/examples-json/MedicationStatement-example001.json +207 -0
- package/examples-json/MedicinalProductDefinition-Acetamin-500-20-generic.json +72 -0
- package/examples-json/MessageDefinition-example.json +31 -0
- package/examples-json/MessageHeader-1cbdfb97-5859-48a4-8301-d54eab818d68.json +70 -0
- package/examples-json/MolecularSequence-breastcancer.json +43 -0
- package/examples-json/NamingSystem-example-id.json +71 -0
- package/examples-json/NutritionOrder-cardiacdiet.json +137 -0
- package/examples-json/NutritionProduct-example.json +18 -0
- package/examples-json/Observation-10minute-apgar-score.json +278 -0
- package/examples-json/ObservationDefinition-example.json +26 -0
- package/examples-json/OperationDefinition-ActivityDefinition-apply.json +145 -0
- package/examples-json/OperationOutcome-101.json +33 -0
- package/examples-json/Organization-1.json +36 -0
- package/examples-json/OrganizationAffiliation-example.json +84 -0
- package/examples-json/PackagedProductDefinition-example.json +213 -0
- package/examples-json/Parameters-example.json +49 -0
- package/examples-json/Patient-animal.json +121 -0
- package/examples-json/PaymentNotice-77654.json +59 -0
- package/examples-json/PaymentReconciliation-ER2500.json +143 -0
- package/examples-json/Person-example.json +97 -0
- package/examples-json/PlanDefinition-KDN5.json +328 -0
- package/examples-json/Practitioner-example.json +72 -0
- package/examples-json/PractitionerRole-example.json +113 -0
- package/examples-json/Procedure-HCBS.json +55 -0
- package/examples-json/Provenance-consent-signature.json +58 -0
- package/examples-json/Questionnaire-3141.json +158 -0
- package/examples-json/QuestionnaireResponse-3141.json +147 -0
- package/examples-json/RegulatedAuthorization-basic-drug-auth.json +41 -0
- package/examples-json/RelatedPerson-benedicte.json +84 -0
- package/examples-json/RequestGroup-example.json +136 -0
- package/examples-json/ResearchDefinition-example.json +21 -0
- package/examples-json/ResearchElementDefinition-example.json +26 -0
- package/examples-json/ResearchStudy-example.json +18 -0
- package/examples-json/ResearchSubject-example.json +33 -0
- package/examples-json/RiskAssessment-breastcancer-risk.json +57 -0
- package/examples-json/Schedule-example.json +66 -0
- package/examples-json/ServiceRequest-ambulation.json +54 -0
- package/examples-json/Slot-1.json +41 -0
- package/examples-json/Specimen-101.json +118 -0
- package/examples-json/SpecimenDefinition-2364.json +261 -0
- package/examples-json/StructureDefinition-11179-objectClass.json +347 -0
- package/examples-json/StructureMap-example.json +78 -0
- package/examples-json/Subscription-example-error.json +36 -0
- package/examples-json/SubscriptionStatus-example.json +32 -0
- package/examples-json/SubscriptionTopic-admission.json +71 -0
- package/examples-json/Substance-example.json +38 -0
- package/examples-json/SubstanceDefinition-example.json +162 -0
- package/examples-json/SupplyDelivery-pumpdelivery.json +40 -0
- package/examples-json/SupplyRequest-simpleorder.json +69 -0
- package/examples-json/Task-example1.json +150 -0
- package/examples-json/TerminologyCapabilities-example.json +38 -0
- package/examples-json/TestReport-testreport-example.json +164 -0
- package/examples-json/TestScript-testscript-example-history.json +228 -0
- package/examples-json/ValueSet-abstract-types.json +73 -0
- package/examples-json/VerificationResult-example.json +18 -0
- package/examples-json/VisionPrescription-33123.json +74 -0
- package/examples-json/package.json +16 -0
- package/package.json +33 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "TestScript",
|
|
3
|
+
"id": "testscript-example-history",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;testscript-example-history\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003eurl\u003c/b\u003e: \u003ccode\u003ehttp://hl7.org/fhir/TestScript/testscript-example-history\u003c/code\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eidentifier\u003c/b\u003e: id: urn:oid:1.3.6.1.4.1.21367.2005.3.7.9877\u003c/p\u003e\u003cp\u003e\u003cb\u003eversion\u003c/b\u003e: 1.0\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: TestScript Example History\u003c/p\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: draft\u003c/p\u003e\u003cp\u003e\u003cb\u003eexperimental\u003c/b\u003e: true\u003c/p\u003e\u003cp\u003e\u003cb\u003edate\u003c/b\u003e: 2017-01-18\u003c/p\u003e\u003cp\u003e\u003cb\u003epublisher\u003c/b\u003e: HL7\u003c/p\u003e\u003cp\u003e\u003cb\u003econtact\u003c/b\u003e: Support: \u003ca href\u003d\"mailto:support@HL7.org\"\u003esupport@HL7.org\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: TestScript example resource with setup to delete if present and create a new instance of a Patient then update that Patient to create a minimum history; and single test definition to get the history of that Patient with various asserts.\u003c/p\u003e\u003cp\u003e\u003cb\u003ejurisdiction\u003c/b\u003e: United States of America (the) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (unknown#US)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003epurpose\u003c/b\u003e: Patient (Conditional) Create, Update, Delete and History (Instance) Operations\u003c/p\u003e\u003cp\u003e\u003cb\u003ecopyright\u003c/b\u003e: © HL7.org 2011+\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003emetadata\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eLinks\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eUrl\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"http://hl7.org/fhir/patient.html\"\u003ehttp://hl7.org/fhir/patient.html\u003c/a\u003e\u003c/td\u003e\u003ctd\u003eDemographics and other administrative information about an individual or animal receiving care or other health-related services.\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003ch3\u003eCapabilities\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eRequired\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eValidated\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eLink\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eCapabilities\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003ctd\u003ePatient Update, Delete and History (Instance) Operations\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"http://hl7.org/fhir/http.html#update\"\u003ehttp://hl7.org/fhir/http.html#update\u003c/a\u003e, \u003ca href\u003d\"http://hl7.org/fhir/http.html#delete\"\u003ehttp://hl7.org/fhir/http.html#delete\u003c/a\u003e, \u003ca href\u003d\"http://hl7.org/fhir/http.html#history\"\u003ehttp://hl7.org/fhir/http.html#history\u003c/a\u003e\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"http://hl7.org/fhir/CapabilityStatement/example\"\u003ehttp://hl7.org/fhir/CapabilityStatement/example\u003c/a\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003efixture\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eautocreate\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003eautodelete\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003eresource\u003c/b\u003e: \u003ca href\u003d\"patient-example.html\"\u003ePatient/example: Peter Chalmers\u003c/a\u003e \u0026quot;Peter CHALMERS\u0026quot;\u003c/p\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003efixture\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eautocreate\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003eautodelete\u003c/b\u003e: false\u003c/p\u003e\u003cp\u003e\u003cb\u003eresource\u003c/b\u003e: \u003ca href\u003d\"patient-pat1.html\"\u003ePatient/pat1: Donald Duck\u003c/a\u003e \u0026quot;Duck DONALD\u0026quot;\u003c/p\u003e\u003c/blockquote\u003e\u003cp\u003e\u003cb\u003eprofile\u003c/b\u003e: \u003ca href\u003d\"http://hl7.org/fhir/StructureDefinition/Bundle\"\u003ehttp://hl7.org/fhir/StructureDefinition/Bundle\u003c/a\u003e \u0026quot;Bundle\u0026quot;\u003c/p\u003e\u003ch3\u003eVariables\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eName\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003ePath\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSourceId\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003ecreateResourceId\u003c/td\u003e\u003ctd\u003ePatient/id\u003c/td\u003e\u003ctd\u003efixture-patient-create\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003esetup\u003c/b\u003e\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eOperations\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eLabel\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eAccept\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEncodeRequestUrl\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eParams\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eDelete (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code delete \u003d \u0027Delete\u0027, stated as \u0027null\u0027)\u003c/td\u003e\u003ctd\u003ePatient\u003c/td\u003e\u003ctd\u003eSetupDeletePatient\u003c/td\u003e\u003ctd\u003eExecute a delete operation to insure the patient does not exist on the server.\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003ctd\u003e/${createResourceId}\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDirection\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eOperator\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResponseCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned HTTP status is 200(OK) or 204(No Content).\u003c/td\u003e\u003ctd\u003eresponse\u003c/td\u003e\u003ctd\u003ein\u003c/td\u003e\u003ctd\u003e200,204\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eOperations\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eLabel\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eAccept\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContentType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEncodeRequestUrl\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eParams\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSourceId\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eUpdate (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update \u003d \u0027Update\u0027, stated as \u0027null\u0027)\u003c/td\u003e\u003ctd\u003ePatient\u003c/td\u003e\u003ctd\u003eSetupCreatePatient\u003c/td\u003e\u003ctd\u003eCreate patient resource on test server using the contents of fixture-patient-create\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003ctd\u003e/${createResourceId}\u003c/td\u003e\u003ctd\u003efixture-patient-create\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDirection\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResponseCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned HTTP status is 201(Created).\u003c/td\u003e\u003ctd\u003eresponse\u003c/td\u003e\u003ctd\u003e201\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eOperations\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eLabel\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eAccept\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContentType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEncodeRequestUrl\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eParams\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eSourceId\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eUpdate (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code update \u003d \u0027Update\u0027, stated as \u0027null\u0027)\u003c/td\u003e\u003ctd\u003ePatient\u003c/td\u003e\u003ctd\u003eSetupUpdatePatient\u003c/td\u003e\u003ctd\u003eUpdate patient resource on test server using the contents of fixture-patient-update\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003ctd\u003e/${createResourceId}\u003c/td\u003e\u003ctd\u003efixture-patient-update\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDirection\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResponseCode\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned HTTP status is 200(OK).\u003c/td\u003e\u003ctd\u003eresponse\u003c/td\u003e\u003ctd\u003e200\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003etest\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ename\u003c/b\u003e: History Patient\u003c/p\u003e\u003cp\u003e\u003cb\u003edescription\u003c/b\u003e: Get the history for a known Patient and validate response.\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eOperations\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eAccept\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eContentType\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eEncodeRequestUrl\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eTargetId\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eHistory (Details: http://terminology.hl7.org/CodeSystem/testscript-operation-codes code history \u003d \u0027History\u0027, stated as \u0027null\u0027)\u003c/td\u003e\u003ctd\u003ePatient\u003c/td\u003e\u003ctd\u003eGet the Patient history on the test server using the id from fixture-patient-create.\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003ejson\u003c/td\u003e\u003ctd\u003etrue\u003c/td\u003e\u003ctd\u003efixture-patient-create\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDirection\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResponse\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned HTTP status is 200(OK).\u003c/td\u003e\u003ctd\u003eresponse\u003c/td\u003e\u003ctd\u003eokay\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eResource\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned resource type is Bundle.\u003c/td\u003e\u003ctd\u003eBundle\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eValidateProfileId\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned Bundle conforms to the base FHIR specification.\u003c/td\u003e\u003ctd\u003ebundle-profile\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003eaction\u003c/b\u003e\u003c/p\u003e\u003ch3\u003eAsserts\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eDescription\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eOperator\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003ePath\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eValue\u003c/b\u003e\u003c/td\u003e\u003ctd\u003e\u003cb\u003eWarningOnly\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003eConfirm that the returned Bundle type equals \u0027history\u0027.\u003c/td\u003e\u003ctd\u003eequals\u003c/td\u003e\u003ctd\u003efhir:Bundle/fhir:type/@value\u003c/td\u003e\u003ctd\u003ehistory\u003c/td\u003e\u003ctd\u003efalse\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003c/blockquote\u003e\u003c/blockquote\u003e\u003c/div\u003e"
|
|
7
|
+
},
|
|
8
|
+
"url": "http://hl7.org/fhir/TestScript/testscript-example-history",
|
|
9
|
+
"identifier": {
|
|
10
|
+
"system": "urn:ietf:rfc:3986",
|
|
11
|
+
"value": "urn:oid:1.3.6.1.4.1.21367.2005.3.7.9877"
|
|
12
|
+
},
|
|
13
|
+
"version": "1.0",
|
|
14
|
+
"name": "TestScript Example History",
|
|
15
|
+
"status": "draft",
|
|
16
|
+
"experimental": true,
|
|
17
|
+
"date": "2017-01-18",
|
|
18
|
+
"publisher": "HL7",
|
|
19
|
+
"contact": [
|
|
20
|
+
{
|
|
21
|
+
"name": "Support",
|
|
22
|
+
"telecom": [
|
|
23
|
+
{
|
|
24
|
+
"system": "email",
|
|
25
|
+
"value": "support@HL7.org",
|
|
26
|
+
"use": "work"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"description": "TestScript example resource with setup to delete if present and create a new instance of a Patient then update that Patient to create a minimum history; and single test definition to get the history of that Patient with various asserts.",
|
|
32
|
+
"jurisdiction": [
|
|
33
|
+
{
|
|
34
|
+
"coding": [
|
|
35
|
+
{
|
|
36
|
+
"system": "urn:iso:std:iso:3166",
|
|
37
|
+
"code": "US",
|
|
38
|
+
"display": "United States of America (the)"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"purpose": "Patient (Conditional) Create, Update, Delete and History (Instance) Operations",
|
|
44
|
+
"copyright": "© HL7.org 2011+",
|
|
45
|
+
"metadata": {
|
|
46
|
+
"link": [
|
|
47
|
+
{
|
|
48
|
+
"url": "http://hl7.org/fhir/patient.html",
|
|
49
|
+
"description": "Demographics and other administrative information about an individual or animal receiving care or other health-related services."
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"capability": [
|
|
53
|
+
{
|
|
54
|
+
"required": true,
|
|
55
|
+
"validated": false,
|
|
56
|
+
"description": "Patient Update, Delete and History (Instance) Operations",
|
|
57
|
+
"link": [
|
|
58
|
+
"http://hl7.org/fhir/http.html#update",
|
|
59
|
+
"http://hl7.org/fhir/http.html#delete",
|
|
60
|
+
"http://hl7.org/fhir/http.html#history"
|
|
61
|
+
],
|
|
62
|
+
"capabilities": "http://hl7.org/fhir/CapabilityStatement/example"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"fixture": [
|
|
67
|
+
{
|
|
68
|
+
"id": "fixture-patient-create",
|
|
69
|
+
"autocreate": false,
|
|
70
|
+
"autodelete": false,
|
|
71
|
+
"resource": {
|
|
72
|
+
"reference": "Patient/example",
|
|
73
|
+
"display": "Peter Chalmers"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": "fixture-patient-update",
|
|
78
|
+
"autocreate": false,
|
|
79
|
+
"autodelete": false,
|
|
80
|
+
"resource": {
|
|
81
|
+
"reference": "Patient/pat1",
|
|
82
|
+
"display": "Donald Duck"
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"profile": [
|
|
87
|
+
{
|
|
88
|
+
"id": "bundle-profile",
|
|
89
|
+
"reference": "http://hl7.org/fhir/StructureDefinition/Bundle"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"variable": [
|
|
93
|
+
{
|
|
94
|
+
"name": "createResourceId",
|
|
95
|
+
"path": "Patient/id",
|
|
96
|
+
"sourceId": "fixture-patient-create"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"setup": {
|
|
100
|
+
"action": [
|
|
101
|
+
{
|
|
102
|
+
"operation": {
|
|
103
|
+
"type": {
|
|
104
|
+
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
|
|
105
|
+
"code": "delete"
|
|
106
|
+
},
|
|
107
|
+
"resource": "Patient",
|
|
108
|
+
"label": "SetupDeletePatient",
|
|
109
|
+
"description": "Execute a delete operation to insure the patient does not exist on the server.",
|
|
110
|
+
"accept": "json",
|
|
111
|
+
"encodeRequestUrl": true,
|
|
112
|
+
"params": "/${createResourceId}"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"assert": {
|
|
117
|
+
"description": "Confirm that the returned HTTP status is 200(OK) or 204(No Content).",
|
|
118
|
+
"direction": "response",
|
|
119
|
+
"operator": "in",
|
|
120
|
+
"responseCode": "200,204",
|
|
121
|
+
"warningOnly": false
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"operation": {
|
|
126
|
+
"type": {
|
|
127
|
+
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
|
|
128
|
+
"code": "update"
|
|
129
|
+
},
|
|
130
|
+
"resource": "Patient",
|
|
131
|
+
"label": "SetupCreatePatient",
|
|
132
|
+
"description": "Create patient resource on test server using the contents of fixture-patient-create",
|
|
133
|
+
"accept": "json",
|
|
134
|
+
"contentType": "json",
|
|
135
|
+
"encodeRequestUrl": true,
|
|
136
|
+
"params": "/${createResourceId}",
|
|
137
|
+
"sourceId": "fixture-patient-create"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"assert": {
|
|
142
|
+
"description": "Confirm that the returned HTTP status is 201(Created).",
|
|
143
|
+
"direction": "response",
|
|
144
|
+
"responseCode": "201",
|
|
145
|
+
"warningOnly": false
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"operation": {
|
|
150
|
+
"type": {
|
|
151
|
+
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
|
|
152
|
+
"code": "update"
|
|
153
|
+
},
|
|
154
|
+
"resource": "Patient",
|
|
155
|
+
"label": "SetupUpdatePatient",
|
|
156
|
+
"description": "Update patient resource on test server using the contents of fixture-patient-update",
|
|
157
|
+
"accept": "json",
|
|
158
|
+
"contentType": "json",
|
|
159
|
+
"encodeRequestUrl": true,
|
|
160
|
+
"params": "/${createResourceId}",
|
|
161
|
+
"sourceId": "fixture-patient-update"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"assert": {
|
|
166
|
+
"description": "Confirm that the returned HTTP status is 200(OK).",
|
|
167
|
+
"direction": "response",
|
|
168
|
+
"responseCode": "200",
|
|
169
|
+
"warningOnly": false
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"test": [
|
|
175
|
+
{
|
|
176
|
+
"id": "01-HistoryPatient",
|
|
177
|
+
"name": "History Patient",
|
|
178
|
+
"description": "Get the history for a known Patient and validate response.",
|
|
179
|
+
"action": [
|
|
180
|
+
{
|
|
181
|
+
"operation": {
|
|
182
|
+
"type": {
|
|
183
|
+
"system": "http://terminology.hl7.org/CodeSystem/testscript-operation-codes",
|
|
184
|
+
"code": "history"
|
|
185
|
+
},
|
|
186
|
+
"resource": "Patient",
|
|
187
|
+
"description": "Get the Patient history on the test server using the id from fixture-patient-create.",
|
|
188
|
+
"accept": "json",
|
|
189
|
+
"contentType": "json",
|
|
190
|
+
"encodeRequestUrl": true,
|
|
191
|
+
"targetId": "fixture-patient-create"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"assert": {
|
|
196
|
+
"description": "Confirm that the returned HTTP status is 200(OK).",
|
|
197
|
+
"direction": "response",
|
|
198
|
+
"response": "okay",
|
|
199
|
+
"warningOnly": false
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"assert": {
|
|
204
|
+
"description": "Confirm that the returned resource type is Bundle.",
|
|
205
|
+
"resource": "Bundle",
|
|
206
|
+
"warningOnly": false
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"assert": {
|
|
211
|
+
"description": "Confirm that the returned Bundle conforms to the base FHIR specification.",
|
|
212
|
+
"validateProfileId": "bundle-profile",
|
|
213
|
+
"warningOnly": false
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"assert": {
|
|
218
|
+
"description": "Confirm that the returned Bundle type equals \u0027history\u0027.",
|
|
219
|
+
"operator": "equals",
|
|
220
|
+
"path": "fhir:Bundle/fhir:type/@value",
|
|
221
|
+
"value": "history",
|
|
222
|
+
"warningOnly": false
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
]
|
|
228
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "ValueSet",
|
|
3
|
+
"id": "abstract-types",
|
|
4
|
+
"meta": {
|
|
5
|
+
"lastUpdated": "2022-05-28T12:47:40.239+10:00",
|
|
6
|
+
"profile": [
|
|
7
|
+
"http://hl7.org/fhir/StructureDefinition/shareablevalueset"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"text": {
|
|
11
|
+
"status": "generated",
|
|
12
|
+
"div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cul\u003e\u003cli\u003eInclude all codes defined in \u003ca href\u003d\"codesystem-abstract-types.html\"\u003e\u003ccode\u003ehttp://hl7.org/fhir/abstract-types\u003c/code\u003e\u003c/a\u003e\u003c/li\u003e\u003c/ul\u003e\u003c/div\u003e"
|
|
13
|
+
},
|
|
14
|
+
"extension": [
|
|
15
|
+
{
|
|
16
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
|
|
17
|
+
"valueCode": "fhir"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"url": "http://hl7.org/fhir/StructureDefinition/valueset-special-status",
|
|
21
|
+
"valueString": "This Value Set is normative - it is generated based on the information defined in this specification. The definition will remain fixed across versions, but the actual contents will change from version to version"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
|
|
25
|
+
"valueCode": "normative"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version",
|
|
29
|
+
"valueCode": "4.0.0"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
|
|
33
|
+
"valueInteger": 5
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"url": "http://hl7.org/fhir/ValueSet/abstract-types",
|
|
37
|
+
"identifier": [
|
|
38
|
+
{
|
|
39
|
+
"system": "urn:ietf:rfc:3986",
|
|
40
|
+
"value": "urn:oid:2.16.840.1.113883.4.642.3.23"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"version": "4.3.0",
|
|
44
|
+
"name": "AbstractType",
|
|
45
|
+
"title": "AbstractType",
|
|
46
|
+
"status": "active",
|
|
47
|
+
"experimental": false,
|
|
48
|
+
"date": "2022-05-28T12:47:40+10:00",
|
|
49
|
+
"publisher": "HL7 (FHIR Project)",
|
|
50
|
+
"contact": [
|
|
51
|
+
{
|
|
52
|
+
"telecom": [
|
|
53
|
+
{
|
|
54
|
+
"system": "url",
|
|
55
|
+
"value": "http://hl7.org/fhir"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"system": "email",
|
|
59
|
+
"value": "fhir@lists.hl7.org"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"description": "A list of the base types defined by this version of the FHIR specification - types that are defined, but for which only specializations actually are created.",
|
|
65
|
+
"immutable": true,
|
|
66
|
+
"compose": {
|
|
67
|
+
"include": [
|
|
68
|
+
{
|
|
69
|
+
"system": "http://hl7.org/fhir/abstract-types"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "VerificationResult",
|
|
3
|
+
"id": "example",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative\u003c/b\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource \u0026quot;example\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: attested\u003c/p\u003e\u003c/div\u003e"
|
|
7
|
+
},
|
|
8
|
+
"status": "attested",
|
|
9
|
+
"meta": {
|
|
10
|
+
"tag": [
|
|
11
|
+
{
|
|
12
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
|
|
13
|
+
"code": "HTEST",
|
|
14
|
+
"display": "test health data"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"resourceType": "VisionPrescription",
|
|
3
|
+
"id": "33123",
|
|
4
|
+
"text": {
|
|
5
|
+
"status": "generated",
|
|
6
|
+
"div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\n\t\t\t\u003cp\u003eOD -2.00 SPH +2.00 add 0.5 p.d. BD\u003c/p\u003e\n\t\t\t\u003cp\u003eOS -1.00 -0.50 x 180 +2.00 add 0.5 p.d. BU\u003c/p\u003e\n\t\t\u003c/div\u003e"
|
|
7
|
+
},
|
|
8
|
+
"identifier": [
|
|
9
|
+
{
|
|
10
|
+
"system": "http://www.happysight.com/prescription",
|
|
11
|
+
"value": "15013"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"status": "active",
|
|
15
|
+
"created": "2014-06-15",
|
|
16
|
+
"patient": {
|
|
17
|
+
"reference": "Patient/example"
|
|
18
|
+
},
|
|
19
|
+
"dateWritten": "2014-06-15",
|
|
20
|
+
"prescriber": {
|
|
21
|
+
"reference": "Practitioner/example"
|
|
22
|
+
},
|
|
23
|
+
"lensSpecification": [
|
|
24
|
+
{
|
|
25
|
+
"product": {
|
|
26
|
+
"coding": [
|
|
27
|
+
{
|
|
28
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct",
|
|
29
|
+
"code": "lens"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"eye": "right",
|
|
34
|
+
"sphere": -2.00,
|
|
35
|
+
"prism": [
|
|
36
|
+
{
|
|
37
|
+
"amount": 0.5,
|
|
38
|
+
"base": "down"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"add": 2.00
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"product": {
|
|
45
|
+
"coding": [
|
|
46
|
+
{
|
|
47
|
+
"system": "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct",
|
|
48
|
+
"code": "lens"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
"eye": "left",
|
|
53
|
+
"sphere": -1.00,
|
|
54
|
+
"cylinder": -0.50,
|
|
55
|
+
"axis": 180,
|
|
56
|
+
"prism": [
|
|
57
|
+
{
|
|
58
|
+
"amount": 0.5,
|
|
59
|
+
"base": "up"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"add": 2.00
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"meta": {
|
|
66
|
+
"tag": [
|
|
67
|
+
{
|
|
68
|
+
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
|
|
69
|
+
"code": "HTEST",
|
|
70
|
+
"display": "test health data"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hl7.fhir.r4b.examples",
|
|
3
|
+
"version": "4.4.0",
|
|
4
|
+
"fhirVersions": [
|
|
5
|
+
"4.3.0"
|
|
6
|
+
],
|
|
7
|
+
"type": "Examples",
|
|
8
|
+
"license": "CC0-1.0",
|
|
9
|
+
"canonical": "http://hl7.org/fhir",
|
|
10
|
+
"tools-version": 3,
|
|
11
|
+
"homepage": "http://hl7.org/fhir/R4B",
|
|
12
|
+
"title": "FHIR R4B package : Examples",
|
|
13
|
+
"description": "Example resources in the R4B version of the FHIR standard",
|
|
14
|
+
"author": "HL7 Inc",
|
|
15
|
+
"url": "http://hl7.org/fhir/R4B"
|
|
16
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@haste-health/hl7.fhir.r4b.test-data",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.1.3",
|
|
5
|
+
"title": "Hl7 Test data for R4B",
|
|
6
|
+
"description": "HasteHealth package that contains hl7 R4B test data.",
|
|
7
|
+
"fhirVersions": [
|
|
8
|
+
"4.3.0"
|
|
9
|
+
],
|
|
10
|
+
"canonical": "https://haste.health/fhir/ImplementationGuide/haste-health.hl7.fhir.r4b.test-data",
|
|
11
|
+
"url": "https://haste.health/fhir/ImplementationGuide/haste-health.hl7.fhir.r4b.test-data",
|
|
12
|
+
"homepage": "https://haste.health",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "https://github.com/HasteHealth/HasteHealth.git"
|
|
16
|
+
},
|
|
17
|
+
"author": "HasteHealth",
|
|
18
|
+
"maintainers": [
|
|
19
|
+
{
|
|
20
|
+
"name": "HasteHealth",
|
|
21
|
+
"email": "dev@haste.health"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"remove-duplicates": "pnpm node remove_duplicates.js examples-json",
|
|
26
|
+
"generate-index-file": "pnpm node ../../../packages/cli/lib/hastehealth.js generate index-file -p . -r examples-json",
|
|
27
|
+
"publish": "pnpm npm publish --access public --tolerate-republish"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
".index.json",
|
|
31
|
+
"examples-json/**"
|
|
32
|
+
]
|
|
33
|
+
}
|