User Tools

Site Tools


fmk:1.6.0:services:list_vaerdier_for_enumerationer

This is an old revision of the document!


Hent udvidbar liste af værdier for enumerationer

Service anvendes til at hente en udvidbar liste af værdier, som et element af en given type kan have i FMK.

Hvis eksempelvis mulige værdier ønskes for element-typen “OrderCancellationReasonType”, kan denne service benyttes, hvor værdierne defineret i dette element returneres.

Forespørgsel

Request

I forespørgslen angives et eller flere elementer af typen EnumerationName. Dette element indeholder navnet på en specifik FMK-type, hvis (udvidbare) liste af mulige værdier ønskes.

En liset af mulige værdier, som kan angives i forespørgslsen, findes i bunden af dette dokument

Alternativt kan servicen selv kaldes med et EnumerationName-element med værdien EnumerationValueType i forespørgslsen.

ListEnumerationValuesForTypeRequest.xml
<ListEnumerationValuesForTypeRequest>
	<EnumerationName>OrderCancellationReasonType</EnumerationName>
        <EnumerationName>PatientRegistrationExpirationReasonType</EnumerationName>
        <EnumerationName>HealthcareProfessionalIdentifierSourceType</EnumerationName
</ListEnumerationValuesForTypeRequest>
ListEnumerationValuesForTypeRequest-2.xml
<ListEnumerationValuesForTypeRequest>
	<EnumerationName>EnumerationValueType</EnumerationName>
</ListEnumerationValuesForTypeRequest>

Svar

Response

Svaret indeholder en række EnumerationEntry-elementer. Disse indeholder:

  • EnumerationNameType, det medsendte navn på en given enumeration
  • En række EnumerationEntryValue-elementer. Hvert af disse indeholder en EntryValue med den enkelte værdi. Optionelt kan elementet også indeholde en Description, med en kort beskrivelse af værdien. Sidst kan elementet optionelt indeholde en Warning med en advarsel om potentielle konsekvenser ved brug af denne værdi.
ListEnumerationValuesForTypeResponse.xml
<ListEnumerationValuesForTypeResponse>
	<EnumerationEntry>
		<EnumerationNameType>OrderCancellationReasonType</EnumerationNameType>
		<EnumerationEntryValue>
                     <EntryValue>Årsag ikke angivet</EntryValue>
                     <Warning>Bør ikke sættes af klientsystem</Warning>
                </EnumerationEntryValue>
                <EnumerationEntryValue>
                     <EntryValue>Fejl i leveringsoplysninger</EntryValue>
                </EnumerationEntryValue>
                <EnumerationEntryValue>
                     <EntryValue>Udleveringsgrundlaget er lukket</EntryValue>
                </EnumerationEntryValue>
                <EnumerationEntryValue>
                     <EntryValue>Ny bestilling overtager</EntryValue>
                </EnumerationEntryValue>
	</EnumerationEntry>
	<EnumerationEntry>...</EnumerationEntry>
        <EnumerationEntry>...</RolesPermissions>
        <EnumerationEntry>...</EnumerationEntry>
</ListEnumerationValuesForTypeResponse>

Liste af enumerationer i FMK 1.6.0

  • ActiveSubstanceSourceType
  • ActiveSubstanceTextSourceType
  • AcutePackingType
  • AdministrationInstructionType
  • ATCCodeSourceType
  • ConsentSourceType
  • ConsentTypeType
  • ContentType
  • DiscardReasonType
  • DispensingStatusType
  • DispensingTypeType
  • DoseTimeType
  • DrugFormCodeSourceType
  • DrugIdentifierSourceType
  • DrugMedicationEndedReasonType
  • DrugMedicationTypeType
  • DrugPartTypeType
  • DrugStrengthTextSourceType
  • DrugStrengthUnitCodeSourceType
  • EnumerationValueType
  • HealthcareProfessionalIdentifierSourceType
  • HealthcareProfessionalInformationSourceType
  • IndicationCodeSourceType
  • InformationChangeTypeType
  • ModificationMetadataType
  • OrderCancellationReasonType
  • OrderStatusType
  • OrganisationIdentifierSourceType
  • OrganisationTypeType
  • PackageNumberSourceType
  • PackageSizeUnitCodeSourceType
  • PagingObjectType
  • PatientOrganisationRelationTypeType
  • PatientRegistrationExpirationReasonType
  • PatientRegistrationTypeType
  • PermissionType
  • PersonIdentifierSourceType
  • PersonIdentifierValidityStatusType
  • PlannedDoseTimeType
  • IssuerOrganisationRetrievalContextType
  • PrintTypeType
  • ProductionDayType
  • RenewalReasonType
  • RequestedRoleType
  • RequestForWarrantCancellationReasonType
  • RequestForWarrantStatusType
  • RouteOfAdministrationSourceType
  • SpecialityCodeSourceType
  • SubstanceIdentifierSourceType
  • SystemTypeType
  • TimeUnitBetweenType
  • TimeUnitType
  • TrackAndTraceEventTypeType
  • WarningSeverityType
  • WarrantRenewalReasonType
  • WarrantStatusType
fmk/1.6.0/services/list_vaerdier_for_enumerationer.1765962351.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki